• I have read the link on moving a wordpress site to another directory here (http://codex.wordpress.org/Moving_WordPress) by I don’t understand it completely. I have a very simple portfolio site with no comments, blog, just some info pages and pictures that I am testing in a fresh installation I did at mydomain.com/test. In the root mydomain.com there is now an HTML site running. Can I simply copy all files through FTP from the test folder to the root and will everything work?

    Thanks for the help. I’m fairly new at wordpress and was used doing test sites this way in HTML.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Go in phpMyAdmin, click on wp_options, change option name “siteurl” from http://yoursite.com/test to http://yoursite.com/, go in wp_options on second page change option name “home” from http://yoursite.com/test to http://yoursite.com/.

    Move all files to root directory.

    Reset permalinks, by going into settings >> permalinks, click update.

    That’s it.

    Thread Starter kikilech

    (@kikilech)

    Thank you so much LapanWebsite for your quick and easy help!

    Just some last things to be sure:

    – When I go into wp_options I have to change both WordPress Adress (URL) and Site Adress (URL)?

    – I can’t find the option name home in a second page. I did find this part (http://www.mydomain.com/test/wp-admin/options-reading.php where I can select via a popup the homepage (static)

    – How do I reset the permalinks? If I go into http://www.mydomain.com/test/wp-admin/options-permalink.php I don’t see this option

    Thanks again for your help. It’s really appreciated

    – When I go into wp_options I have to change both WordPress Adress (URL) and Site Adress (URL)?

    I am not sure what you are onto, I do not see that options in wp_options table.

    Just go here in wp_options, on this two hit enter and change it

    Option ID = 1, Option name = siteurl

    and second should be by default:

    Option ID = 36, Option name = home

    Here are images:
    siteurl = http://oi42.tinypic.com/2zpr1gx.jpg
    home = http://oi40.tinypic.com/2lktro0.jpg

    – How do I reset the permalinks? If I go into http://www.mydomain.com/test/wp-admin/options-permalink.php I don’t see this option

    No reset button, after you do changes in phpMyAdmin, you just hit update button in wordpress permalinks settings.

    Thread Starter kikilech

    (@kikilech)

    I see.

    I don’t think I have access to phpMyAdmin in my cPanel, can’t find it. I have seen there are plugins that offer the funcionality of phpMyAdmin. Do you know of these will work?

    I don’t think I have access to phpMyAdmin in my cPanel.

    Maybe you can use some WordPress backup plugins, which will backup your wordpress database.

    Than you can import your database into localhost using XAMPP or WAMP, and change that two options in wp_options table.

    Than you export database from localhost, and using same plugin you used to export, now you import database that you exported from localhost.

    Looks complicated, but that’s logic if you do not have access to phpMyAdmin.
    I recommend you to contact your host provider about this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Moving WordPress site from test directory to root’ is closed to new replies.