Best way to redirect 3 sites to 1 new one.
-
Hi All
We currently have 3 old sites that have tones of content. Due to brand/business consolidation we have merge all 3 to produce 1 website. The new site contains all the old content from the old 3.
So, I know I need to 301 redirect all the old content from the previous sites to the equivelent content on the new sites but am confused how you do this with 3 domains?
One of the domains is being replaced with the new site.
So I have:
All the content for all the sites have been imported into a new site and any duplicate content issues havce been resolved.
Can anyone point me in the right direction?
Thanks
-
I understand, I didn't actually mean redirect content as such but I realise I was a little unclear in my questions.
So basically I should point all 3 domains to the new one then redirect-wise, is the below correct?
redirect 301 http://www.oldsite.com/some-category/article/ http://www.newsite.com/category/article
-
When you do a redirect, all you do is redirect requests for that page.
So when the search engine follows a link, it is redirected to another page, and it gives the link juice to that page. you do not redirect content or any thing else about the page but its incomming links, so if there is no links pointing to the site, there is nothing to redirect.
when you do a 301 redirect you are redirecting links, the page that link comes from and the link text should be relevant to the new page.
-
Also, any pointers on how to achieve this?
"Above this redirect i would redirect to deep pages that do not have the same path, by checking the existing path of the link. This way you dont have chain redirects"
-
Hi Thanks for the reply.
Ok, so use the redirect code you provided at the end of the htaccess. I'm not sure I follow what you mean about redirecting links not content, I'm not talking about external links purely just about any old content from the old domains that may show in serps and getting these redirected to their new versions on the new site.
A clearer example of what I have is:
Old domains each cover one brand
So the new site is structured like:
So how do I handle the redirects from old pages? Like this?
redirect 301 www.brand1.com/some-page www.newsite/brand1/some-page/
Then use your redirect code last? Also the site structure (as above) is totally different than before so would that effect your redirect code?
To make it trickier one of the sites is a hosted blog platform that I dont have ftp access to but I can repoint the domain. I could repoint this domain to new hosting with a page saying moved and have a .htaccess under that domain doing the redirects.
-
I would point all the domains at the new domain.
Then have a rule that states, if the host does not equal new domain then make sure it does. see code below. But put this last. as it is only good for links that have the same path as the old site, like the home page and any others you managed to keep the same path
Above this redirect i would redirect to deep pages that do not have the same path, by checking the existing path of the link. This way you dont have chain redirects
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.newdomain.com$
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]but having said this,
First i would not do this all at the same time, SE will discount your redirects if you redirect too many domains to the one domain. there is a matt cutts video about this. http://www.youtube.com/watch?v=a70ygsHgvMw
Also, you do not redirect content, you redirect links. the important thing is the page the link comes from and the link text, the page it did link to is irelevant, then decide on that where to send it. so if no links to the old page there is no link juice to redirect.
Do not send all to the home page, they will be discounted if you do
-
I should add that one of the sites is hosted with a blogging platform (blog harbour) thats about to shut down therefore I can't upload a htaccess with redirects in. So I was just going to point the domain at the new domain name and add redirects to a htaccess file on the new domains like:
On new domains .htaccess:
redirect 301 www.olddomain.co.uk/category/article.php www.newdomain.co.uk/category/article.php.
Is this the best way?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
The best way to do Interstitial (ads)
Hello, I want to ask you guys what's the best way do to Interstitial without penalty?
Technical SEO | | JohnPalmer
and feel free to give me samples from another major websites. Thanks!0 -
Page for page 301 redirects from old server to new server
Hi guys:
Technical SEO | | cindyt-17038
I have a client who is moving their entire ecommerce site from one hosting platform (Yahoo Store) to another (BigCommerce) and from one domain to another. The old domain is registered with the Yahoo as of yesterday and we have redirected the old domain (at the domain level) to the new domain. However, we are having trouble getting the pages to redirect page for page. Currently they are all redirecting to the new domain home page. We did just move the old domain from GoDaddy to Yahoo yesterday thinking this would solve it however as of this morning the old pages are still redirecting to the home page of the new domain. To complete the 301 redirect picture, we uploaded the redirects (all relative links for both from and to) to BigCommerce. And while the domain was hosted at GoDaddy with a redirect to the new domain, they were working. We moved the domain to Yahoo because of email issues thinking it should still work. Is it possibly just a waiting game now as the change populates across the DNS? old url to test:
rock-n-roll-action-figures.com/fender-jazz-bass-miniature-guitar-replica-classic-red-finish.html0 -
What is the best way to stop a page being indexed?
What is the best way to stop a page being indexed? Is it to implement robots.txt at a site level with a Robots.txt file in the main directory or at a page level with the tag?
Technical SEO | | cbarron0 -
New "Static" Site with 302s
Hey all, Came across a bit of an interesting challenge recently, one that I was hoping some of you might have had experience with! We're currently in the process of a website rebuild, for which I'm really excited. The new site is using Markdown to create an entirely static site. Load-times are fantastic, and the code is clean. Life is good, apart from the 302s. One of the weird quirks I've realized is that with oldschool, non-server-generated page content is that every page of the site is an Index.html file in a directory. The resulting in a www.website.com/page-title will 302 to www.website.com/page-title/. My solution off the bat has been to just be super diligent and try to stay on top of the link profile and send lots of helpful emails to the staff reminding them about how to build links, but I know that even the best laid plans often fail. Has anyone had a similar challenge with a static site and found a way to overcome it?
Technical SEO | | danny.wood1 -
Is it best to create multiple xml sitemaps for different sections of a site?
I have a client with a very big site that includes a blog, videos, photo gallery, etc. Is it best to create a separate xml file for each of these sections? It seems to me like that would be the best way to keep everything organized. Or at least separate the blog out from the main site. Does anybody have any tips or recommendations? I'm not finding any good information about this.
Technical SEO | | MichaelWeisbaum0 -
Moving a site from one server to another
Does moving a site's files from one server to another, with all URL's remaining the same, affect page rank? I am moving a site from one server to another. Everything will stay exactly the same, including URL's, file structure, etc. Will this affect page rank, domain importance, etc?
Technical SEO | | Bandicoot0 -
Best way to display maintenence mode on a website?
I have a website with lots of traffic and sometimes the backends fail. I want to use lighttpd to show that the website is under mantenence and should be back up shortly. I was thinking of using Soft 503 errors or doing a 302 for every page to /maintenance.html. What would you do (besides fixing the backends, we are already doing that :P) to avoid hurting your SEO efforts? Thanks in advance Mariano
Technical SEO | | marianoSoler980 -
What are the SEOmoz-suggested best practices for limiting the number of 301 redirects for a given site?
I've read some vague warnings of potential problems with having a long list of 301 redirects within an htaccess file. If this is a problem, could you provide any guidance on how much is too much? And if there is a problem associated with this, what is that problem exactly?
Technical SEO | | roush0