Above picture shows my problem, Go through many of the blogs, Godaddy support, stack overflow questions. FACING THIS PROBLEM FROM ONE MONTH, So at last Stack community to help.
There is no web.config file in my root folder but .htaccess file whom change does'nt effect permalinks. what should i do for creating this sort of permalink structure www.example.com/category/postname as my current permalink structure is http://www.example.com/?page_id=104 details of hosting server Godaddy with windows hosting enviornment and iis 7 server. Godaddy don'nt have any knowledge about this in there help center.
You need to create a web.config
file in the root directory of your WordPress installation (the same directory as the .htaccess
file), and add the following code in web.config
:
<?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>
This should enable pretty permalinks in WordPress with URL Rewrite running on IIS.