Support » Theme: Carton » change URL from subdirectory to root

  • I have my site currently installed in a subdirectory:

    The WordPress Address is

    The Site Address is

    I want to change the URL that visitors use to access the home page from TO (ie the Site Address)

    Following the directions found in the codex (Using a pre-existing subdirectory install I see that I am supposed to move my index.php & .htaccess files to the root directory from the /blog subdirectory. Once done, it directs me to modify the index.php:

    “Edit your root directory’s index.php.
    Open your root directory’s index.php file in a text editor
    Change the line that says:
    to the following, using your directory name for the WordPress core files:
    Save the file.”

    However I have not found the “require” action in the available index.php files – and I wonder if you have a better way for me to make this change. Seems like it should be easier (?)


    Bill Siebold

  • The topic ‘change URL from subdirectory to root’ is closed to new replies.