Forums

Htaccess Restore? (3 posts)

  1. lavrai
    Member
    Posted 4 years ago #

    Hi.

    Can someone provide the default coding for the .htaccess file WordPress outputs upon installation?

    Thanks in advance.

  2. haochi
    Member
    Posted 4 years ago #

    WordPress doesn't output a .htaccess file upon installation.

    To answer your question: it should be in Settings-> Permalinks.

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

    Just in case you can't find it.

  3. lavrai
    Member
    Posted 4 years ago #

    Thanks very much haochi. I actually thought this was the beginning of coding the .htacess file to redirect my wp-admin log in page to a secure SSL. I guess this really is going to be a headache for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags