How to Remove /index.php from WordPress URLs in Windows Server or Plesk Server?

If you are using Windows/Plesk hosting, you might have noticed that your WordPress website blog post links showing below format:

To remove the /index.php from the link, it’s required some tweaks from your WordPress admin panel and as well as in the File manager. So, follow me.

At first login to your WordPress admin panel, then go-to Settings >> Permalinks and remove /index.php from the box.

Then login into your Plesk panel and go-to File manager >> httpdocs. Then select “web.config” and click on edit.

After <system.webServer> paste the below code then click to Apply to save it.

<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
<action type=”Rewrite” url=”index.php” />

Was this helpful?

3 / 0