Site Redirect
Thursday October 23, 2008
JavaScript can help when you move your site
If you don't have your own domain name then when you move your site it will end up on a new domain. If you have any common JavaScripts shared between pages then you can easily update that script to redirect all of the pages on your old site to the corresponding page on the new one.
Site Redirect


Using javascript to redirect to your new site will hurt your SEO. 310 header redirects are the way to go.
But if you don’t own the domain then you can’t set up a 301 redirect and a JavaScript redirect will at least get your visitors to your new site (presumably one where you do own the domain).
Everyone should know that a 301 redirect is best but not everyone has the access to set one up – hence the suggestion that a JavaScript redirect is better than not redirecting at all.