How to move blog to new domain with different theme & categories
-
I have a wordpress blog hosted on a separate domain. I have a new empty blog on a subdomain of my-commerce main site. The new blog has a different wordpress theme & categories than the old blog.
What is a good way to populate the new blog with content from the old?
What do I do with the old blog once the move is done?
Thank you for your thoughts on this
Handcrafter
-
Hi Stephen,
That's part of the syntax used to transfer a site URL-by-URL - what the entire snippet of code means is that a browser or search engine will come across www.oldblog.com/post123.html and immediately be taken to blog.newdomaincom/post123.html. If you are not using the same URLs on the new blog, you won't need to or be able to use this particular function in your .htaccess file.
You say that "the new blog has a different wordpress theme & categories than the old blog" which makes me think you'll need to redirect category URLs separately at least (I must have missed that line when I read the question at first; apologies).
Once you've redirected everything, you will need to keep the old domain. If you let it lapse or sell it, the redirects will no longer work unfortunately.
-
Thank you Jane-
Can you tell me what the "Options +FollowSymLinks" is for?
And by the way, after everything is 301'd would you keep the old site hosted forever?
Best wishes
Stephen
-
Hi there,
This should be fairly easy as it's Wordpress to Wordpress. Does this page answer the question properly for you? https://codex.wordpress.org/Importing_Content
You will want to 301 redirect the old blog to the new one once you are done, ensuring that this is done on a page by page basis (e.g. www.oldblog.com/post123.html redirects to blog.newdomaincom/post123.html).
You will probably need to do this in your .htaccess file if the site is hosted on an Apache server. It will probably look like this:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
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
-
Sub Directories Domain & Page Crawl Depth
Hi, I just bought an old domain with good backlinks and authority, that domain was technology product formerly. So, I want to make this domain for my money site. The purpose of this website is to serve technological information like WordPress tutorial and etc (free software or drivers). And I just installed a sub directory on this domain like https://maindomain.com/subdirectory/ and this directory I made for a free software like graphics drivers download (NVIDIA or AMD). What you think with this website? Is it make sense? Wait, I just added this domain to my campaign at MOZ and the result shown my sub directory was 6 times of crawl depth. Is it good for directory or I need to move the sub directory to my main site? Thank you, hope someone answer my confuse. Best Regard, Matthew.
Intermediate & Advanced SEO | | matthewparkman0 -
Two blogs on a single domain?
Hi guys, Does anyone have any experience of having (trying to rank) two separate blogs existing on one domain, for instance: www.companysite.com/service1/blogwww.companysite.com/service2/blogThese 2 pages (service 1 and service 2) offer completely different services (rank for different keywords).(for example, a company that provides 2 separate services: SEO service and IT service)Do you think it is a good/bad/confusing search engine practice trying to have separate blogs for each service or do you think there should be only one blog that contains content for both services?Bearing in mind that there is an already existing subdomain for a non-profit part of business that ranks for different keywords: non-profit.companysite.comand it will potentially have another blog so the URL would look like: non-profit.companysite.com/blogAny ideas would be appreciated!Thanks
Intermediate & Advanced SEO | | kellys.marketing0 -
Consolidating two separate domains and redirecting towards a new replatformed domain
A client has two different sites selling the same products with the same content, they would like to replatform onto Magento while redirecting those 2 sites to the new URL. The question is, besides monitoring the 301 redirects is there anything else to take into consideration when consolidating two sites into one new site?
Intermediate & Advanced SEO | | RocketWeb0 -
Penguin hit Website - Moving to new domain
Hey! I am working on a Penguin hit Website. Still ranking for all brand keywords and blog articles are still being returned in Google SERPs, but the website is showing up for only 3 or 4 money keywords. It is clearly a penguin hit as it was ranked 1st page for all money keywords before latest update (3.0). We already did a link cleanup and disavowed all bad backlinks. Still, the recovery process could take over 2 years from previous experience, and in 2 years, the site will suffer a slow death. Solution: We own the .com version of the domain, currently being served on the .net. We bought the .com version about 6 years ago, it is clean and NOT redirected to the .net (actual site). We were thinking about moving the whole Website to the .com version to start over. However, we need to make sure Google doesn't connect the 2 sites (no pagerank flow). Of course Google will notice is the same content, but there won't be any pagerank flowing from the old site to the new one. For this, we thought about the following steps: Block Googlebot (and only googlebot) for the .net version via robots.txt. Wait until Google removes all URLs from the index. Move content to the .com version. Set a 301 redirect from .net to .com (without EVER removing the block on googlebot). Thoughts? Has anyone went over this before? Other ideas? Thanks!
Intermediate & Advanced SEO | | FedeEinhorn0 -
Negative SEO penalty, new domain?
One of my clients has just been hit with a Penguin 3.0 penalty. They have been subject to a negative link building attack for the last 5 months and despite my best effort it appears I haven't disavowed enough, someone was building a lot of links to them and all really low quality spam and a lot of forum profiles. They still rank for their brand, the site is in the index but the only rankings I can see are in Google Local. My advice to them for the quickest way back into Google is to get a new domain and relaunch on this new domain. The challenge is, the domain they want to buy used to be used as a domain in the 'erotic video distrubution' industry. It currently has 17 backlinks from 9 domain and the anchor text is mostly brand related but I can see that 70 links have already been deleted. I would consider this to be too high risk but would be interested to see if everyone agrees with me, it would be an awesome domain name if the history wasn't there!!
Intermediate & Advanced SEO | | Karen_Dauncey0 -
Servers matter for different domains for same keywords?
We have 3 domains in the same industry, but unique content on each site. The whois info is private, but the domains are all under the same owner registrant info. In terms of rankings, does it matter if we move them all into the same RackSpace cloud account? Will Google know the relationship somehow and if they do, will they care?
Intermediate & Advanced SEO | | TheDude0 -
Is it safe to 301 redirect old domain to new domain after a manual unnatural links penalty?
I have recently taken on a client that has been manually penalised for spammy link building by two previous SEOs. Having just read this excellent discussion, http://www.seomoz.org/blog/lifting-a-manual-penalty-given-by-google-personal-experience I am weighing up the odds of whether it's better to cut losses and recommend moving domains. I had thought under these circumstances it was important not to 301 the old domain to the new domain but the author (Lewis Sellers) comments on 3/4/13 that he is aware of forwards having been implemented without transferring the penalty to the new domain. http://www.seomoz.org/blog/lifting-a-manual-penalty-given-by-google-personal-experience#jtc216689 Is it safe to 301? What's the latest thinking?
Intermediate & Advanced SEO | | Ewan.Kennedy0 -
New domain or wait - Anchor Text Penalty
Hi We are confident we have an anchor text penalty and have removed nearly all offending links about 3 months ago, and since have only engaged on 100% natural linking with good content and simply asking people to share our site. However we have made no progress all in terms on position for our main keyword - we now thinking of starting a fresh on a new domain as Google doesn't seem to be able to forgive us... Any ideas please?
Intermediate & Advanced SEO | | jj34340