Permalinks without index.php
-
I’ve searched, and searched for this fix but didn’t find it. I did end up figuring it out, and wanted to give a helping hand to others who are experiencing this problem.
***I host my own blog using Apache 2.2.14 with PHP 5.2.12 and MySQL 5.1.39 and WordPress v.2.9.1 This is assuming you have the same setup***
**********************************************************************
What the problem was: My URL was showing http://www.example.com/index.php/post
What I wanted: My URL to show http://www.example.com/post/
What I did to fix it:- 1. Open apache conf file (httpd.conf) and do a search for:
Options Indexs FollowSymlinksput a + (plus sign) in front ofFollowSymlinksit should look like this+FollowSymlinks - 2. Next check if
mod_rewriteis loaded do a search for it and uncomment it by removing the#if its there. - 3. Next do a search for this block of code:
<Directory /> AllowOverride None Order deny,allow Deny from all </Directory>Change
AllowOverride NonetoAllowOverride Allit should look like this:<Directory /> AllowOverride All Order deny,allow Deny from all </Directory> - 4. After making the changes save the file, and restart the Apache service
- 5. Next login in to your WordPress dashboard and go to:
Settings > Permalinks > select Custom Structure and put/%postname%/(if this is the format you want) click Save Settings, visit your blog and test it out. You should now have “Pretty Permalinks”
- 1. Open apache conf file (httpd.conf) and do a search for:
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Permalinks without index.php’ is closed to new replies.