Support » Fixing WordPress » root directory of blog showing 404 message instead of index.php

  • MichaelGundvang


    Hello, I am working on implementing a website for a German gallery into WordPress, so that the owners can add news and other stuff themselves. But after an error occured on the server, and the server providers had to get a back-up version, the root of the blog shows the 404 page, instead of the selected frontpage..
    I have tried changing from using a ‘static page’ to using the standard ‘news feed’, but it still gave the 404 message.
    I have also tried changing themes, to see if it was the theme that was the problem. But the same error occurs in other themes too.
    The server providers say that the page is set to automatically show index.* as the frontpage, so using .htaccess doesn’t do anything either.
    According to the server providers, they think that “the problem is a configuration error in WordPress, resulting in a way that the content is only rendered when ‘index.php’ is included in the url.”

    This is the url do the frontpage, that doesn’t work:

    And this is the page that should be shown:

    Is there anyone here who has a solution for this problem? As I have tried anything I could think of, and could find on the internet.

Viewing 5 replies - 1 through 5 (of 5 total)
  • bottleneck


    Please make sure .htaccess in /wordpress directory appears like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    # END WordPress


    Hi bottleneck

    I tried creating an .htacces file on the server, as I couldn’t find one, but this didn’t work.. So I tried writing to the server admins and see if they could do it. But they said that their server doesn’t have .htaccess files, because it is a Windows based Server running IIS.

    Thank you for the feedback.. but in my case it can’t solve the problem :/



    Well, if your host is unable to switch your stuff into LAMP environment, you could change the host.



    Yeah, I think I might need to do that..
    but that just means that I probably have to start from scratch.. So I wanted to see first if there were any solutions that could work.

    Been over he IIS specific portions of this page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘root directory of blog showing 404 message instead of index.php’ is closed to new replies.