Questions
-
Best Approach to Redirect One Domain to Another
Hi Rich, Elaborating on FedeEinhorn’s answer, if the page structure is the same you could just redirect all requests to the same URI on your new domain, as he stated. You could do this very easily with a .htaccess file on the root folder of your old domain (providing you’re running an apache webserver like most people). To redirect using regular expressions and capture groups we can use the RedirectMatch directive, which would look like this: RedirectMatch 301 ^(.*)$ http://www.newsite.com$1 As simple as that, you’ve redirected all existing pages to the same page on the new domain. If you haven't used this before, here's a brief look at how that works for you: Firstly, RedirectMatch simply tells apache we’re using the RedirectMatch directive from mod_alias. 301 specifies a 301 SEO friendly redirect which passes all that lovely SEO juice to your new site. ^(.*)$ is our regular expression. It states, from the start of the requested URI (^) start capturing the request (using the brackets to show what we want to capture), capture it all (with . meaning any character or symbol and the * meaning 0 or more of the preceding . , which will lead to everything being caught by our capture group (the brackets). And the $ meaning the end of the requested URI. The final part of this redirect is specifying the page to redirect to, but as we have captured the request in the previous part, we use $1 to append our first capture (only capture in this distance) to the end of our new domain. If you have completely changed your site, you may wish to redirect all requests to your homepage or another page, it is as easy as modifying the previous code to redirect without appending our capture to the end of your redirection target, so this would be acceptable: RedirectMatch 301 ^(.*)$ http://www.newsite.com But since we don’t need to use anything from the requested URI, we should really remove the brackets (the capture group) for the sake of tidiness, resulting in: RedirectMatch 301 ^.*$ http://www.newsite.com You could use a mixture of these 2 code, for instance if your blog posts are all identical but your main site pages have all changed - this code would redirect all pages starting with /blog/ to their double on the new domain, but redirect all other pages to a /we-have-moved/ landing page: RedirectMatch 301 ^(/blog/.*)$ http://www.newsite.com$1 RedirectMatch 301 ^.*$ http://www.newsite.com/we-have-moved/ Hope that's useful, Tom
Intermediate & Advanced SEO | | TomVolpe0 -
Does having a Blog link in the top level navigation provide any better SEO value, or would having it in a footer or top navigation work just as good?
Hi Richard, Having the link positioned in the upper navigation will help ensure that the search engines view that link as important. Just as importantly, it helps consumers know that the link and information in the blog is important. Placing links in the footer only remove them from visibility considerably, and search engines can detect link placement on the page, placing less weight or value on that link. Also, if you are building high quality content in your blog to engage consumers then having that link in an appropriate area increases the potential of your audience finding that content, engaging with it, and supporting what you. Good luck in business!
Web Design | | toddmumford0