• I just did a fresh install of the new 3.6 wordpress today. It’s a fresh install over the top of what was already there (something I wasn’t using anyway).

    I can create pages, and posts, and if I follow the links, they work. However, going to the raw url https://mydomain.com brings up a wordpress (new theme) 404 error. Like I say, I can click on the links in the menu and it takes me somewhere. I can search, I can do everything, but the home page brings up a 404.

    I have tried both the static page (and given it the about page, and the sample page) but neither work. I then go back to blog for the front page and still the 404.

    Since it’s so fresh, I don’t mind reinstalling but I thought I would ask.

    I’m hosted with mydomain.com and the .htaccess file is:

    DirectoryIndex index.htm index.php4 index.php index.shtml index.html

    where should I look next, or should I just reinstall?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Site url?

    So you can access pages directly, just not at the site’s root URL, correct?

    For example, if you had a page at “YourDomain.com/page” and you set it as the “Home” page via Settings > Reading… If you then go to the page’s permalink (ex. “YourDomain.com/page”) the page will load fine; however, if you go to the site root “YourDomain.com/”, you receive a 404 error, is that correct?

    It sounds very much like a permalink issue. You should check wp-config.php to see whether these two lines are present:

    define('WP_HOME','https://yoursite.com');
    define('WP_SITEURL','https://yoursite.com');

    Also try resetting your permalinks, by going to Settings > Permalinks, then selecting “Custom Structure”, and entering your permalink structure in the field to the right of the radio button, then “Save Changes”.

    Thread Starter madivad

    (@madivad)

    @esmi, don’t bother, see below.

    @sgdlucas, what you’ve said is correct, except it’s now just got a whole lot worse. I’m onto the webhost at the moment, it appears the wordpress install is corrupted and there’s a few missing files (notably everything that’s supposed to be in the root directory including index.php—which I’m assuming is the cause of the 404.

    I’m going to blow it out and reinstall it. Thank anyway.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 error on a fresh install….’ is closed to new replies.