• I recently tried to import blog content from wordpress.com to our .org site. But I got a 404 error… When we type in the URL stbeespriory.org.uk, instead of it loading index.php by default, the browser tries to load index.html and gets a 404 error. Entering stbeespriory.org.uk/index.php loads the correct page. This is something that has suddenly started happening to both me and a colleague, so it is unlikely to be our browsers…

    Please forgive me if this is obvious. I’m new here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • This isn’t a WordPress issue, I don’t think. This is an .htaccess issue. That’s a file that your Web server uses to do certain things, like specify the load order of pages on your site. It sounds like .htaccess currently is set to load index.html and no one has told it to load index.php. Do a search on using .htaccess and you’ll find a lot of articles about it. You’ll need to either FTP to your site and make a few small changes or log in to your Web server control panel (who is your Web hosting company?) and make changes there.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Add this to the top of your .htaccess file:
    DirectoryIndex index.php index.html index.htm

    That should fix it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘index.php switch to index.html by default’ is closed to new replies.