JavaScript 301 RedirectsCreating search engine friendly 301 redirects as part of your SEO initiatives is a great tip to keep under your belt. If your website uses JavaScript, there are options to create redirects from within the code. Search engines interpret the 301 code as meaning "moved permanently". In turn, PageRank/trust is passed from the old page to the new. Example Code
<script type="text/javascript">
<!-- window.location = "http://www.new-domain.com/or-page.html" //--> </script> 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 |
FriendsLatest from the Blog |



ShareThis
