Hello WPyogi,
If you are using Windows IIS hosting, you should have file called Web.config
located within the same subdirectory as the WordPress files.
You can find this file using FTP, then make a copy/backup of it and replace with this code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument enabled="true">
<files>
<add value="index.php" />
</files>
</defaultDocument>
<rewrite>
<rules>
<rule name="WPurls" enabled="true" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Then login to the WordPress and re-save your permalinks – that means to go to WP Admin -> Settings -> Permalinks
Choose other option like “default” click save and then choose the one you prefer.
However I don’t have where to test it as don’t use Windows at all, so you will have to do the testing and let us know if it works.
Thanks,
Ivan