Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi
    If I select any permalinks other than the default it corrupts my htaccess file & then I cant login to the site after that.

    My server host said this:
    The default .htaccess rule set for WordPress is:


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

    The issue was that, the rewrite rules to redirect translationdoctor.co.uk to https://www.translationdoctor.co.uk in your main .htaccess file as shown below:


    #RewriteCond %{HTTP_HOST} .
    #RewriteCond %{HTTP_HOST} !^www\.translationdoctor\.co\.uk [NC]
    #RewriteRule (.*) https://www.translationdoctor\.co\.uk/$1 [R=301,L]

    and the option to disable/enable various permalink options in WordPress admin panel is conflicting, because of which WordPress ends up erasing the default rules for its own .htaccess file (wp/.htaccess), making the blog inaccessible. As of now, I have disabled the www redirect by commenting out the above rules, and everything is working fine now.

    To be able to use both the options, you will need to seek assistance from WordPress.
    ——————-

    Can you help?

Viewing 1 replies (of 1 total)