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
-
Is it worth keeping a decades-old domain that's merely 301 redirecting to the main domain?
Hi fellow Moz SEOs, We have a bigger client who we just did an SEO Site Audit for, and it was discovered that they have several domain names that are simply 301 redirecting to their main domain name. One of their domains in particular is decades old, and the client is asking if there is any value in keeping it (and the others), or simply leaving them as-is. Considering the domain age, does anyone have any recommendations? Much appreciated, Zack Barton
Intermediate & Advanced SEO | | Zack
Barton Interactive
(833) 442.6853 // office
(408) 910.7750 // mobile
https://bartoninteractive.com0 -
Why site linking domain and backlink are differing.
My site https://www.planmymoment.com and Mobile version site https://www.planmymoment.com/?amp Why my desktop and mobile version site linking domain and backlink are differing.
Intermediate & Advanced SEO | | moz12pro0 -
Same brand but different domains and TLDs, What could be affect on SEO?
I am not sure, if i have a valid question to ask, but i am a bit stuck.
Intermediate & Advanced SEO | | Mustansar
We just got a campaign from one client. Its automotive brand offering the same (classified) services to buy and sell used car on their sites. The issue is the have different domains, which is obvious based on which country they are however issue is those domains are not consistent match as a brand. ie www.mtmotorslab.co.uk
www.mtmotors.co.za
www.motortrader.com.pk
www.motortrader.in
www.mtmotors.com.au my question is here, how could it impact our seo efforts or any such effort to establish a strong brand with this sort situation of different tld as well as different domain under same umbrella. Many Thanks0 -
My blog is indexing only the archive and category pages
Hi there MOZ community. I am new to the QandA and have a question. I have a blog Its been live for months - but I can not get the posts to rank in the serps. Oddly only the categories rank. The posts are crawled it seems - but seen as less important for a reason I don't understand. Can anyone here help with this? See here for what i mean. I have had several wp sites rank well in the serps - and the posts do much better. Than the categories or archives - super odd. Thanks to all for help!
Intermediate & Advanced SEO | | walletapp0 -
New my domain.com/blog option vs. my blog.mydomain.com option
Our e-commerce site has been on Big Commerce for about a year now. One thing many SEO folks had told us is that having a blog located at /blog was going to help more than a subdomain blog. option. BC has never had the option to have a blog hosted on their platform (/blog) until now. I am now wondering, since we have lost traffic in the past and are trying everything we can to regain it, if we should purchase the Wordpress Site Redirect upgrade and move the subdomain blog (blog.) to the new site option /blog. Any help or feedback from you is very much appreciated. I have attached a screenshot of our main website vs. our blog from Open Site Explorer in case it helps anything. I29Tw5P
Intermediate & Advanced SEO | | josh3300 -
Move webshop domain to the brand domain?
Hello, A client of mine has a brand with a website for over 10 years now.
Intermediate & Advanced SEO | | Seeders
About 4 years ago the have opened a webshop on an other domain (like www.brandnamewebshop.com). At this moment the brand domain has a seomoz authority of 45.
The webshop domain authority is 25. The question:
Would it not be better to transfer the webshop to the brand domain because of the domain authority? If so, how can this be done the best way? With a 301?
I also think: what a loss of energy of building the authority on the other domain.
Is it an idea to use both domains for a webshop and rewrite the content? Or is there an other way to still make use of the built up domain authority? Would it really help the other domain when I make a 301 redirect (and make use of the pointing links to the webshop domain?). I hope somebody have some experience with this...
Looking forward to the possibilities! Gerjan0 -
Does using a sub-domain lessen the effectiveness of your main domain?
For example a website without a blog and is a simple html site with no blogging capabilities. We go out to Blogger or Wordpress and set up the blog portion of the website using something like blog.yourdomain.com. Does this make a difference SEO wise? Is is more effective to be sure that you are using the main domain and not a sub-domain? I have heard both sides before but can't seem to find the concrete answer. Thanks for any advise out there.
Intermediate & Advanced SEO | | d25kart0 -
While SEOing .com.au websites should I submit blogs and PRs only in .com.au Blogging / PR sites?
While SEOing .com.au, websites I am submitting PRs in sites like prweb.com, pr.com, prlog.com etc. Is that the right way or should I submit these PRs in Australian PR sites only (.com.au)?
Intermediate & Advanced SEO | | KS__0