Fix Wordpress 2.6 Custom Structure Permalinks Part II
If you're new here, you may want to subscribe to my RSS feed.
Follow me on Twitter for Blog updates, my new software releases, and other announcements.
Thanks for visiting!
Thanks to Marc’s comment on my last post, fixing Permalinks is easier that I originally thought for Wordpress 2.6. Marc cites this post on the Wordpress support forum. Whether you followed my instructions from my last post or not, the fix is the same:
- Re-upload the original rewrite.php file from 2.6’s latest.tar.gz to your wp-includes directory.
- From the dashboard, set permalinks to “Default” and Save it.
- From the dashboard, set permalinks to “Custom Structure” of your choice and Save it.
Mine is now: /%year%/%monthnum%/%day%/%postname%/
(Previously: /index.php/%year%/%monthnum%/%day%/%postname%/ which does not work.)
For the record, search engines that indexed links with the /index.php/{etc.} structure still resolve properly.
Please leave a comment if it doesn’t work for you.
Big thanks to Marc for the comment.
Tags: 2.6, Wordpress, custom, custom-structure, fix, hack, permalinks, structure




















July 25th, 2008 at 12:28:03 PM
[...] you’re new here, you may want to subscribe to my RSS feed.Thanks for visiting!UPDATE:Please see Part II, which includes links to the official Wordpress support [...]
July 30th, 2008 at 03:35:19 PM
It doenst work here
My wordpress is hosted on a Windows server, which is fitted with the Mod Rewrite plugin, so I can use pretty permalinks.
============================
RewriteEngine On RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php/$1 [L,QSA]
============================
This worked perfectly until the update to 2.6…I’ve tried you fix + the one Marc suggests, but it still doesnt work. What am I doing wrong?
July 30th, 2008 at 03:38:31 PM
I forgot to mention I use “/%category%/%postname%/” as my custom structure. Also my GeoMashup plugin, my pages & my slideshow rotator stopped working
July 30th, 2008 at 10:10:42 PM
Ducked.nl: I am not sure about using this on Windows; I only have experience using this method with Apache. My rewrite rules look like this:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress