.htaccess, directoryindex, link problem

Discussion in 'Installation/Configuration' started by Jo-nas, Mar 21, 2010.

  1. Jo-nas

    Jo-nas New Member

    Hello everybody,
    I hope someone here can help me with my .htaccess file. when I add Directoryindex indexx.php and have a link on the indexx.php directing to index.php, that link does not work properly. Instead of redirecting to index.php, the indexx.php is just reloaded. Any suggestion?

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

    # END WordPress


    Kind regards & thanks in advance,
    Jonas
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Does index.php maybe redirect to indexx.php?
     

Share This Page