• Hello! I have my site set up in a sub directory: mydomain.com/wordpress.
    I want to change the URL to mydomain.com. I have worked with the Codex on “Using a pre-existing subdirectory install” but I can’t locate the correct index.php or the .htaccess files. I am on Earthlink and I have used their file manager as well as Filezilla. I am officially stuck. Any help would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The index.php file you need to copy to the root directory is the only one located in the sub-directory (/wordpress, in your case). The .htaccess file – located in the same directory – is hidden by default. You will need to turn on the “show hidden files” feature in your file manager to see it.

    Thread Starter ReelFan

    (@reelfan)

    Thank you for your quick response.

    If I search for “index.php” in my WordPress file, I get five files. Three contain the “silence is golden” script. The other two are “general themes templates.” None of them have the “require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );” text that is mentioned in the Support Codex.

    .htaccess doesn’t come up when I click the “Force Showing Hidden Files” menu command in Filezilla.

    Earthlink uses the “public” directory for website files, but there is a WordPress file in the “private” directory – it doesn’t have an index.php file in it though.

    Not sure what to do. Thanks.

    Thread Starter ReelFan

    (@reelfan)

    Never found my index.php file but I found a forum thread that showed me how to create a new one. Created the file on Notepad, popped my WP file name into it, uploaded and, it worked.

    On to the next challenge.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Subdirectory install – no index.php found’ is closed to new replies.