Creating search engine friendly 301 redirects as part of your SEO initiatives is a great tip to keep under your belt.
Search engines interpret the 301 code as meaning "moved permanently". In turn, PageRank/trust is passed from the old page to the new.
window.location = "http://www.new-domain.com/or-page.html"
While this code will redirect a visitor, this is not SEO friendly on its own. We recommend that you use this in conjunction with the URL Canonical Tag. You may also view our other guides to find a solution using server side redirection.
blog comments powered by Disqus