Hi
I recently change my website programming from "php" to "asp.net". My website is indexes in google by php extention for example:
www.mysite.com/page.php?56
now I want redirect google referees to new URL (without changing domain) for example:
mysite.com/HomePage.aspx
For doing this idea, I inserted below role in webcofig:
<rule name="Redirect to HomePage" stopProcessing="true"><match url="(.*)" /><conditions><add input="{URL}" pattern="^/$" negate="false" /></conditions><action type="Redirect" url="https://{HTTP_HOST}/default.aspx/{R:1}" redirectType="SeeOther" /></rule>
But host server can't load pages of my website. I would be appreciate everyone help me.