Nice permalinks without mod_rewrite

It’s really easy to make permalinks look better when you’re using WordPress. You have to only log in to administration and go to options: permalinks. Normally for this method to work, you have to use mod_rewrite. If you cannot use mod_rewrite on your server, but you still want to set better permalinks - it is possible!

First, don’t bother creating a .htaccess file, because you cannot use it. Log in to administration and go to options: permalinks. Now you can set permalinks using a format such as the following:

/index.php/%year%/%monthnum%/%day%/%postname%/.

As you may notice, there is only one difference: you have to leave index.php in your permalink scheme if you cannot use mod_rewrite.

 
 
Comments

hi, it doesnt works at georgejr.extra.hu
using mod_rewrite is forbidden by my provider
can you help me?

georgejr said on May 29th, 2007 at 3:12 am

Awesome! My host doesn’t allow mod_rewrite and the Wordpress documentation about “not quite pretty” permalinks is a mess. Your tutorial was much more helpful!

For those who still dont’ get it, you have to log into Wordpress, go to Options > Permalinks, select “Custom, specify below” and paste

/index.php/%year%/%monthnum%/%day%/%postname%/

into the “Custom structure:” text field. Then press “Update Options”. That’s it.

zugu said on October 6th, 2007 at 4:16 am

It don’t work on me…

krazl said on December 28th, 2007 at 9:41 pm

Works great for me, many thanks!

chris said on May 3rd, 2008 at 12:38 pm
Leave a comment