Can I migrate my existing wordpress.com blog to a specific directory of my hosted site?

Asked by:
tsdanforth / 5 Points
Time:
2013-01-16 11:22 am EST
Category:
Wordpress
Hits:
265
I would like to import several blogs onto specific pages on my new wordpress.org blog. Possible to do this? The import/export function doesn't seem to allow me to specify where the imported blog lands...

Make sense?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User

0

JacobN
Staff
3,661 Points
2013-01-16 12:37 pm EST
Hello tsdanforth,

This would be possible to do. Let's say you have a domain example.com that you'd like to import onto our server in a sub-directory. In this example we'll say your cPanel username is userna5.



  1. First create an addon domain in cPanel for example.com.


  2. You'd want to place the WordPress files for example.com that you exported into the following directory:

    /home/userna5/public_html/example.com/

    You can upload these via FTP



  3. Create a MySQL database and username for your WordPress site.

  4. Import your WordPress database via phpMyAdmin

  5. Update your wp-config.php file so that the DB_USER and DB_PASSWORD settings match what you created on our server when creating the MySQL database.

  6. Now when you access example.com in your web browser, its document root will automatically pull from the directory that you set the addon domain to pull from.


    If you haven't pointed your domain name over to our name servers yet. Then you'd want to update your hosts file to force your computer to resolve the domain to our server.





I hope this information was helpful for you, if you run into any problems or have any further questions at all please let us know.

- Jacob

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.