WordPress.org

Ready to get started?Download WordPress

Forums

root directory of blog showing 404 message instead of index.php (6 posts)

  1. MichaelGundvang
    Member
    Posted 1 year ago #

    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:
    http://schuebbeprojects.com/wordpress

    And this is the page that should be shown:
    http://schuebbeprojects.com/wordpress/index.php

    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.

  2. bottleneck
    Member
    Posted 1 year ago #

    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]
    </IfModule>
    
    # END WordPress
  3. MichaelGundvang
    Member
    Posted 1 year ago #

    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 :/

  4. bottleneck
    Member
    Posted 1 year ago #

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

  5. MichaelGundvang
    Member
    Posted 1 year ago #

    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.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

    Been over he IIS specific portions of this page?

Topic Closed

This topic has been closed to new replies.

About this Topic