WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Installed wordpress in wrong directory, only have one database, can I move it? (3 posts)

  1. extremecommerce
    Member
    Posted 1 year ago #

    A friend I'm trying to help has his domains and hosting at register.com (he purchased UNIX hosting, so I don't have access to cPanel). He installed WordPress under <exampledomainnamehere.com/wordpress1> when it should just be at the root domain <exampledomainnamehere.com>. Luckily, all he's done is installed WordPress and a theme, but no content yet. I've tried to install WordPress at the root domain, but apparently his hosting only allows for one WordPress database. Is there a way to safely just move everything through FTP to the root domain using the existing database and have the site still work?

  2. halty
    Member
    Posted 1 year ago #

    It is possible.

    Step1: change site URL to the one without the /wordpress1:
    http://codex.wordpress.org/Changing_The_Site_URL

    Step2: Move all files to the root.

    Alternatively, wipe old installation; drop all mysql tables (for example, via phpmyadmin), and install a new copy :)

  3. extremecommerce
    Member
    Posted 1 year ago #

    Step 1 didn't work; step 2 worked great! ;) Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.