Firstly, I have only ever worked on Apache servers, never used a GoDaddy server or used ASP. Wow, I'm really in the dark. When a friend's webmaster died, he asked me to build a new site for him with a new domain name. I built a WordPress site on my dedicated server. His existing website is written with ASP and hosted on a GoDaddy Windows server. Domain is registered there as well.
I saw a Google webmaster video that recommended page by page redirects. The new website pages are not a 1 to 1 - but many of the pages will have the same type of content. Stupid me, I anticipated using an
.htaccess file to 301 the site "pages" using those ASP-type urls that show up and pointing them to the similar content on the WordPress site. (No windows server experience)
Here's the thing...there is only one ASP file...default.asp. My research tells me that there are several ways to do redirects on a Windows server...
IIS - looked at directions, looked at Microsoft site about it, looked at GoDaddy instructions...I don't get it. I looked at the IIS interface, I don't see anything but an entry for "content root". I don't think I know enough to do this. Support at GoDaddy isn't anything like I get for my dedicated server at my host, so I would probably rule this option out based on my experience level.
GoDaddy says you can "forward" or "forward and mask" but I don't think this is exactly what I need for an existing website. Sounds more like some kind of nameserver/domain name option. http://support.godaddy.com/help/article/422/forwarding-or-masking-your-domain-name
I see that you can use ASP to do a redirect but it seems to be for the whole domain:
<%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.new-url.com" %>However, I did find a site (rapidtables.com/web/tools/redirect-generator.htm) that would let me enter the ASP-type URLs "mydomain.com/default.asp?page=6&subpage=9" and the corresponding "mynewdomain.com/nameofnewpage/ and get that same type of code for each "page". But if I generate those, I don't know what to do with them. Do they go into one file that replaces the default.asp? OR Do they go into the top of the existing default.asp file...? If there is a list of them, how do I string them together (do I put the VB script thing once and then just list the response lines below?)
So I really have 2 questions.
- Which, if any, of the above is the best and most search engine friendly way to do this.
- Can a single 301 redirect for the entire domain work ok? I'm concerned about the fact that some people have been using this domain name for many many years - not so much that they have bookmarked specific pages inside of the site.
Thanks to anyone who actually read this entire question and can provide some simple advice.