• Hi.

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

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter lavrai

    (@lavrai)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Htaccess Restore?’ is closed to new replies.