Title: mariobarba's Replies | WordPress.org

---

# mariobarba

  [  ](https://wordpress.org/support/users/mariobarba/)

 *   [Profile](https://wordpress.org/support/users/mariobarba/)
 *   [Topics Started](https://wordpress.org/support/users/mariobarba/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mariobarba/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mariobarba/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mariobarba/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mariobarba/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mariobarba/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Permalinks, 404s etc](https://wordpress.org/support/topic/permalinks-404s-etc/)
 *  [mariobarba](https://wordpress.org/support/users/mariobarba/)
 * (@mariobarba)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/permalinks-404s-etc/#post-2878688)
 * 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 
   [http://www.translationdoctor.co.uk](http://www.translationdoctor.co.uk) in your
   main .htaccess file as shown below:
 * —
    #RewriteCond %{HTTP_HOST} . #RewriteCond %{HTTP_HOST} !^www\.translationdoctor\.
   co\.uk [NC] #RewriteRule (.*) [http://www.translationdoctor](http://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)