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
-
Risks of moving a site back to an old domain
Hi Nearly 2 years ago our site was moved from a .co.uk domain to .media. Because this TLD isn't supported for DA, it's hard to measure whether linkbuilding campaigns (for example) are having a positive effect. The old site has a DA of 38 (even after 2 years of inactivity) and the new one is 1, but the new one has better Trust and Citation flow, for example. I'm now investigating whether it's worth moving back to .co.uk and I want to fully understand the risks involved. So far I know of the following potential risks: It's a lot of work so human error is a real risk Could create a redirect loop as the old site has 301 redirects in place to the new one It will take several months for metrics to recover Any thoughts on more risks, how these challenges can be overcome etc will be welcome. Or do I just set fire to the lot and create a new site with yet another 301 redirect from the .media site? What would you do?
Intermediate & Advanced SEO | | AxonnMedia0 -
Implications of posting duplicate blog content on external domains?
I've had a few questions around the blog content on our site. Some of our vendors and partners have expressed interest in posting some of that content on their domains. What are the implications if we were to post copies of our blog posts on other domains? Should this be avoided or are there circumstances that this type of program would make sense?
Intermediate & Advanced SEO | | Visier1 -
Purchased Domain Not Related to Vertical and Moved Questions
Hello, We used to reside on a longer domain name character wise but had an opportunity to purchase a three letter acronym before my time. We advertise heavily on TV and other traditional media channels so it was simpler for individuals to remember. After purchasing this domain we moved over from the old one to the new one. We followed all of your standard protocols (301s, change of address in Webmaster Tools, new sitemap, etc, etc.) Google and Bing both index the new site and there isn't a significant issue there but we're having incredible difficulty in ranking for any of our core terms. We're the largest company in our space but continue to rank for terms that have nothing to do with our vertical. This is due to the fact that the site used to be owned by a company that is completely separate from ours. The site that we have today contains none of the old content but it does have links pointing to it from similar sites from that vertical. Bing was incredibly helpful and had indicated it's these links that's potentially causing us the issue in that search engines are seeing two different verticals over time on a domain. It's been a year since this took place and it seems that the only recommendation is to contact the non related sites to remove links or disavow. Bing had indicated that disavowing was not as relevant as getting the links removed. Any other thoughts?
Intermediate & Advanced SEO | | seo--team-jlck0 -
E-commerce category page optimization - filters vs. categories
Hi, We currently have a site where there are several subcategories for every main category. So this means that visitors will have to click through 3-4 subcategories before reaching products that they could have easily found if the site would be using filters on category pages. My question is - if a subcategory page with 4 products is currently a category page (optimized heading, description) and I'd want this category to be available through filters, how do I still keep it optimized for search engines? So under a category "Cleaners", we have all cleaning products. There are 8 "Cable cleaners" under this category. This is currently a subcategory, but I'd just solve this with a filter in the "Cleaners" screen. Not sure what's right from an SEO standpoint here.
Intermediate & Advanced SEO | | JaanMSonberg0 -
Subdomain blog vs. subfolder blog in 2013
So I've read the posts here: http://moz.com/community/q/subdomain-blog-vs-subfolder-blog-in-2013 and many others, Matt Cutts video, etc. Does anyone have direct experience that its still best practice to use the sub folder? (hopefully a moz employee can chime in?) I have a client looking to use hubspot. They are preaching with the Matt Cutts video. I'm in charge of SEO / marketing and am at odds with them now. I'd like to present the client with more info than "in my experience in the past I've seen subdirectories work." Any help? Articles? etc?
Intermediate & Advanced SEO | | no6thgear0 -
Subdomain or New Domain or Directory path?
Hi Mozzers, I have a dilemma here. I have one of my clients that has its American website and would like to promote its business in canada(2 locations only vs more than 40 in the u.s). What would be the best SEO decision here for the 2 Canadian locations: should i go for a new root domain? if yes why (www.example.ca) a new subdomain? if yes why (ca.example.com) or just following a directory path solution under the american site? (www.example.com/canadiancity) Thanks Ty
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
Link building maximum to different sub domains?
Hi All, I'm launching a new website with a number of country specific sub-domains and I wanted to know if Google will calculate the number of new links as a root domain or if it will treat each subdomain seperately? For instance if I built 50 links per month to each of my five proposed subdomains would google see it as 250 links built to one root domain(and penalise me as a result) or will they view these subdomains independantly and accept these 50 links per page as an acceptable amount per sub domain. Thanks in advance. Ross
Intermediate & Advanced SEO | | Mulith0 -
Exact match domain or root domain for speedy SEO?
I am doing SEO for a website that has constantly rotating and only temporarily pertinent subjects on it. Let's say these information and subject cycles go for about 6 months. Assuming this would it be more effective to optimize exact match domains for each 6 month cycle or make a main domain with a few of the keywords and just target a page for each roaming subject? Advantage of the subject is I get domain authority to feed off of, advantage of the exact match is, of course exact match domains are a powerful tool to rank highly and it is only a medium competitive market, usually about 40 domain and page authority. What do you guys think? Do you have any techniques to dominate temporary and rotating markets?
Intermediate & Advanced SEO | | MarloSchneider0