WordPress permalinks removing /index.php from url

wordpress hosting pakistanIf your WordPress blog is hosted on the main domain then follow the instructions that you see here

http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

If your WordPress blog is hosted on a subfolder like /blog then still follow the instructions in the above URL but change following line

<action type="Rewrite" url="index.php/{R:0}" />

to

<action type="Rewrite" url="blog/index.php/{R:0}" />

That’s it! your permalink structure shall work now 🙂

Leave a Comment