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


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}" />


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

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

Leave a Comment