My client site's inner pages also have a lot of backlinks. He has done a 301 redirect from old domain to new domain. Server: IIS 6.0 Platform: ASP.NET currently, if I open a inner page let's say about us page or contact us page from old site (typing the url in the browser), only the new home page opens up now. Can I do it like this let's say if somebody opens up my site's inner page, he must be redirected to new site's that inner page. For e.g, features page has a lot of backlinks and if somebody clicks that url, it should go to new site's features page. Please tell how to go about it? Should I paste this code in old site's inner pages: //Redirect in ASP .NET private sub Page_Load(object sender, System.EventArgs e) Response.Status = "301 Moved Permanently" Response.AddHeader("Location","http://www.new-url.com/new-inner-page") end sub All answers are greatly appreciated. Thanks
I am not sure about .NET program, but it seems you miss the { } for private sub. Anyway, you can use HTML for redirect too Save it as index.html in your folder (with my assumption that index.html is the default doc), or save it as the name of old page