Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: ocean10000
Is it required to redirect the old url(ASP) to the new HTML page ?
If you do not have many pages, you can make an ASP version of every page and redirect it with a 301 to the corresponding .html page.
ie. [mywebsite.com...] can be redirected as follows:
<%@ Language=VBScript %>
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.mywebsite.com/page.html"
No, do not use redirects if at all possible! 301 redirects are better than other redirects but they are still not advisable.
You should simply save your .html files as .asp files. This has no adverse effect in the search engines.
Use the old URLs as links on the pages of the site, and then set up an internal rewrite. The rewrite translates the requests for old URLs into the new internal filepath to fetch the content from.
As this is a rewrite it does not expose the internal filepath back to the browser.
Be very clear as to the differences between a redirect and a rewrite.
If you are sending the user to a new URL, then that is a redirect.
So, what is your question...?
Do you want to redirect this URL request www.mywebsite.com/page.asp and this URL request mywebsite.com/page.asp to a new URL at www.mywebsite.com/folder/page.html?
Or, do you want to rewrite a request for this URL www.mywebsite.com/page.asp so that the content is silently fetched from this internal filepath /folder/page.html without exposing what that filepath actually is?
Which one is it?
The difference between a URL request and an internal filepath is key here, as is the difference between a rewrite and a redirect.