Hi, if you want to shut down blog.xyz.com
, but still have the URLs redirect, then I think you’ll do something like this:
- Continue renewing the
blog.xyz.com
domain for as long as you want the redirects to work
- Setup a
CNAME
DNS record to point blog.xyz.com
to 123.com
- Configure the
123.com
server to treat blog.xyz.com
as an alias of 123.com
- Setup a
.htaccess
file on 123.com
to do 301
redirects from the old URLs to the new ones
If you want a simpler solution, it’d probably be to keep the blog.xyz.com
site running, but install a plugin that lets you setup redirects to other URLs.
Thanks Ian,
Do I need to setup .htaccess file file on 123 (blog.xyz.com) for 301 redirection and installing a plugin to keep redirections working to other urls? Both needs to be done parallelly?
Regards
Jitender
You need to maintain database along with htaccess
.
@iandunn Can we export the content with out copy paste from Domain A to Domain B. Both domain hosted on similar platform (WordPress).
Hi Dave,
You want to say that I should not delete pages from current blog (blog.xyz.com) even after redirection has been set up. I am right?
Jitender, you don’t need to setup .htaccess
and a plugin. I was offering two different solutions:
1) Using .htaccess
like in my first comment. This one is harder, but lets you shut down the old site.
2) Using a plugin. This one is simpler, but you have to keep the old site running.
You only need to do one of them.
Dave, please open a new thread for help with your site.
Thanks Ian,
I have got clarity well enough. Yes, I will create a new thread with my site if I still find any confusion or any difficulty to get this done.
Thanks for your support.
Regards
Jitender
Yes, someone raised a question above. is it possible to export the content from blog.xyz.com and import to 123.com (new location)? If yes, then the manual effort for content migration can be avoid.
Please help also on this point.
Thanks
Jitender
It is:
* https://wordpress.org/support/article/tools-export-screen/
* https://wordpress.org/support/article/tools-import-screen/
If you’re concerned about search engine rankings, though, it’s best to make sure there are redirects. Otherwise it can hurt the rankings a lot.
@iandunn will it not work if he goes for de-indexing from webmasters tools of current blog (xyz.blog.com)? I think he can use that content on other location (123.com/blog) which should be considered as fresh content.
Are you thinking about it being penalized as duplicate content? I don’t think that’ll happen if there’s a redirect.
De-indexing would be another way to avoid that penalty, but wouldn’t that also lose any “points” the post had accumulated?