admin管理员组

文章数量:1429441

So what I would like to do is, move the content of example/blog to yolo/blog. The yolo website is already live and has contents in it. So I just want to move my existing blog to a subdirectory on yolo. I have access to the Cpanels of both websites.

So what I would like to do is, move the content of example/blog to yolo/blog. The yolo website is already live and has contents in it. So I just want to move my existing blog to a subdirectory on yolo. I have access to the Cpanels of both websites.

Share Improve this question edited May 2, 2019 at 11:52 fuxia 107k39 gold badges255 silver badges459 bronze badges asked May 2, 2019 at 7:43 AkashAkash 1 1
  • If you only need your blog post data, you have the option to backup your posts in wp admin. Goto tools->export. if you're moving your current site to subdirectory on new domain, you can create a new wp installation and import previously exported file or you can do a complete backup of your current site and then use it to recreate your website on new location. do only one from above two – Vishwa Commented May 2, 2019 at 11:19
Add a comment  | 

2 Answers 2

Reset to default 0
  1. You need to create a database (with the corresponding username and permissions) in the cPanel of yolo, so your blog won't interfere with whatever you have in yolo. MySQL Assistant of cPanel is very easy and fast.

  2. You need to download and install WordPress in yolo/blog folder. In your cpanel this usually is public_html/blog. Install WordPress.

  3. Once the database is created and WordPress installed and running properly, you can start the migration. I recommend to use this plugin.

Important: there are many methods to achieve what you intend to do, I think the one described here is the most convenient.

Is yolo a WordPress site ? If it's a Wordpress site, you can use Wordpress importer plugin to export content from example and import them to yolo .

example and yolo need to be online when you import your content

Dont' forget to add on .htacess file of example this instruction to keep your SEO and redirect users to yolo :

Redirect 301 /blog https://www.yolo/blog

本文标签: migrationHow do I move my Wordpress domain to another domain