Forums

.htaccess makes my site disappear (2 posts)

  1. christina.helen
    Member
    Posted 1 year ago #

    Hi! I want to get rid of my messy permalinks so I made the file .htaccess and uploaded it to my root directory with the following code:

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

    After this, I could no longer access my website. I got an error message saying "IISPassword - The page cannot be displayed." Next, I tried changing the permission settings on index.php to 666 instead of default 755. My FTP client (FileZilla) didn't let me overwrite the default. Not sure what to try next?

    Any help would be appreciated.

  2. popper
    Member
    Posted 1 year ago #

    Hey there christina.helen,

    You seem to be hosted by a server that doesn't support mod_rewrite. You can probably use Microsoft's rewrite module if you have it installed, or your server admin can install it.

    more info here: http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

    j.

Topic Closed

This topic has been closed to new replies.

About this Topic