If you host your WordPress website on godaddy windows host then you might have come across this issue.
WordPress normally uses default Permalink settings that is the letter and numbers. If you wish to use Postname or Custom Structure, it can be pretty frustrating at times.
To fix this issue you would be required to create a file ‘web.config‘ and then add the below code to your web.config file and then save.
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”wordpress” patternSyntax=”Wildcard”>
<match url=”*”/>
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true”/>
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true”/>
</conditions>
<action type=”Rewrite” url=”index.php”/>
</rule></rules>
</rewrite>
</system.webServer>
</configuration>
Upload the file to your host root and you are good to go!