WordPress’ pretty permalinks is something every blogger loves. It creates nice and search engine friendly URLs on your WordPress blog or website. Have you ever faced that sometimes you have to have index.php in your permalinks to make it work? Something like www.example.com/index.php/post-title/ ? I know it is annoying and we all don’t like it.
After doing some research, I realized that happens due to very small configuration in your Linux server’s. Here is how you can fix the problem.
1 2 3 |
AllowOverride None Order deny,allow Deny from all |
Now change AllowOverride None
to AllowOverride All
it should look like this:
1 2 3 |
AllowOverride All Order deny,allow Deny from all |
/%postname%/
(if this is the format you need), press Save Settings, visit your website and test the URLs. You should now see “Pretty Permalinks” in action 🙂I hope this quick tutorial will help you fix the problem if you are facing the same.
Do let me know in the comments below if you have any queries or questions.