Forum Moderators: open

Message Too Old, No Replies

Appropriate Redirect in IIS

Moved index.htm to index.asp

         

QNetwork

3:50 pm on Jun 4, 2003 (gmt 0)

10+ Year Member



What should be the right (Google and other SE friendly) method for the redirect on IIS server. I moved the homepage from index.htm to index.asp. Is an ASP response.redirect okay? Or should I set the "permanent redirection for this resource" property for this page from IIS settings?

Thanks in advance

chris_f

1:05 pm on Jun 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would choose either a server.transfer("default.asp") or a 301 redirect. Probably the 301.

Chris

martyt

2:20 pm on Jun 5, 2003 (gmt 0)

10+ Year Member



If you only have one or two pages, setting up the 301 response in IIS seems to be an easy way to go -- your users never know the difference, as they get redirected to the proper page, but the robots will see the 301 and (in theory at least) pick up on the change.

If you have a lot of changes to make, a custom error handler script that can map from the old URL to the new URL would make your life a lot easier. Basically, you write custom 404 error handler and then return the 301 for those pages which you've moved or want to remap. If it's a truly bogus request, you return the 404 error.

See this thread: [webmasterworld.com...]

and check out the web site referenced in DreamQuick's profile - there you'll find what you need to take care of a bunch of problems.