Support » Fixing WordPress » Moving site to root directory

  • Hello, I tried to change my website to the root directory and failed in doing it. I recover access to the website doing this below:

    Edit wp-config.php
    It is possible to set the site URL manually in the wp-config.php file.

    Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);
    This is not necessarily the best fix, it’s just hardcoding the values into the site itself. You won’t be able to edit them on the General settings page anymore when using this method.

    Now, the page is still in the SUB Folder, how can I pass it to the root directory???

    Thanks, I have read a lot of support but I still don’t figure ouy how to do it!!

    PLease help!

    Melissa

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Moving site to root directory’ is closed to new replies.