Forum Moderators: Robert Charlton & goodroi
I recently decided to start a new subsite about completely different widgets as a subfolder of the main site.(To see if it would work)
The sub site has been doing really well, so I decided to create its own domain / website.
All the pages are .htm
My question is this:
Is it possible to redirect the subsite to the other domain without causeing issues for the original?
And if so, how would I do it?
add <META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.newwidgets.co.za/newpage.aspx">
to [widgets.co.za...]
I can sticky the correct URLs to anyone interested in helping me out.
PS: "widgets" and "new widgets" have nothing to do with each other.
Exactly how you would implement depends on whether you're keeping the same structure or not. Take a walk over to the Apache Web Server [webmasterworld.com] forum and look around. There are a lot of examples for redirecting in different situations and links to documentation you'll need to get a start.
For example, in ASP, use:
<%@ Language=VBScript %>
<%Option Explicit%>
<%
Response.Status = "301 permanent redirect"
Response.redirect "http://www.mysite.com/newpage.asp"
Response.End
'%>
If it's a 302, Google will see two pages with the same content, and will likely stay with the first one it found.
In the Home Directory tab of the old folder, select:
A redirection to a URL
Then tick:
The exact URL entered above
A permant redirection for this resource
Then in the redirect to field enter:
[newdomain.com$S$Q...]
This will pass any folders /files or paramaters to the new site aswell so it redirects to the correct page.
Hope this helps, if you dont have access to IIS Manager (ie you dont host it yourself) then get your Hosting Co to do it for you.
This way works a treat and even forwards old backlinks & PR to the new urls as well.
Leaving off the $S$Q would make all pages redirect to the new default file in the root directory only.