As far as I understand, you should have a single URL to access a given page on a website to prevent duplicate issues. With this in mind I have setup IIS7 Rewrite to point my friendly URLs to my .aspx pages. e.g. /category/widgets/
has a rewrite to /category.aspx?id=widgets
Should I allow either of these URLs to resolve my web page, or should I also 301 redirect /category.aspx?id=widgets
to /category/widgets/
so that there is only a single URL that resolves the page?
301 rewrite
? If you're rewriting the URL, then it shouldn't be sending a 301 redirect response. The rewriting should happen internally with the client simply receiving a200 OK
response with the contents.