hi, i recently purchased my hosting from godaddy. before pointing my domain to the hosting i checked my website and found that the url rewriting is not working completely.
My hosting preview doamin is http://ihavandhoo.com.previewdns.com/
My rewriting url works this much
http://www.ihavandhoo.com.previewdns.com/category.php?_cat=12 TO http://ihavandhoo.com.previewdns.com/report.html
meaning that i can see the catogaries without any problem and can see the post page also but without the article in the post. Here is my web.config file Please help me. Thank you..
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
<staticContent>
<mimeMap fileExtension=".php" mimeType="text/html" />
</staticContent>
<rewrite>
<rules>
<rule name="Rule 1" stopProcessing="true">
<match url="^([a-zA-Z0-9_-]+)\.html$" />
<action type="Rewrite" url="category.php?cat={R:1}" />
</rule>
<rule name="Rule 2" stopProcessing="true">
<match url="^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)\.html$" />
<action type="Rewrite" url="post.php?id={R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>