Title: new .htaccess
Last modified: February 2, 2017

---

# new .htaccess

 *  [_natty_](https://wordpress.org/support/users/_natty_/)
 * (@_natty_)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/)
 * I followed the itheme security disaster week video series, and as they said i
   delete my .htaccess file because another plugin give me bad problem, and that
   file was full of conditions injected by the problematic plugin. .htaccess was
   full of itheme security condtion too.
    now ive deleted it and rebuild it by hitting
   permalinks structure, the new file is on the main folder, but without the ithemes
   sec rules. everything seems to works… do i need to manual copy the old rules 
   to the new file?

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

 *  [pronl](https://wordpress.org/support/users/pronl/)
 * (@pronl)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729071)
 * [@_natty_](https://wordpress.org/support/users/_natty_/)
 * Yes. You can find the rules under the **Advanced** link on the Settings page.
   
   Look for the **Server Config Rules** module. Copy/paste the rules to the beginning
   of your current .htaccess file.
 *  Thread Starter [_natty_](https://wordpress.org/support/users/_natty_/)
 * (@_natty_)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729133)
 * even before the tag?
 * > # BEGIN WordPress
   >  <IfModule mod_rewrite.c>
 *  [pronl](https://wordpress.org/support/users/pronl/)
 * (@pronl)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729159)
 * [@_natty_](https://wordpress.org/support/users/_natty_/)
 * Yes.
 *  Thread Starter [_natty_](https://wordpress.org/support/users/_natty_/)
 * (@_natty_)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729217)
 * thanks
 *  Thread Starter [_natty_](https://wordpress.org/support/users/_natty_/)
 * (@_natty_)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729711)
 * hi, after adding again the lines of code as suggested by [@pronl](https://wordpress.org/support/users/pronl/)
   the old problem comes out again… the pages are served but before there is a redirect
   from an error page… how can i troubleshot this? many thanks
 *  [pronl](https://wordpress.org/support/users/pronl/)
 * (@pronl)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729770)
 * [@_natty_](https://wordpress.org/support/users/_natty_/)
 * Any chance of a live demo ?
 * If you don’t feel comfortable posting the site address on this forum visit my
   user profile page and find out how to contact me.
 * Edit:
    Next time please share that there is another topic related to this issue
   opened in the **W3 Total Cache** plugin forum.
    -  This reply was modified 9 years, 4 months ago by [pronl](https://wordpress.org/support/users/pronl/).
 *  Thread Starter [_natty_](https://wordpress.org/support/users/_natty_/)
 * (@_natty_)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729818)
 * [@pronl](https://wordpress.org/support/users/pronl/)
    for every page, first: ⌊
   erros⌉
 * thats is about err_content_decoding_failed
 * then redirect to the right page.
    I found your email but the error its just this
   and if you visit the site more than once it starts to caching…
    -  This reply was modified 9 years, 4 months ago by [_natty_](https://wordpress.org/support/users/_natty_/).

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

The topic ‘new .htaccess’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * 7 replies
 * 2 participants
 * Last reply from: [_natty_](https://wordpress.org/support/users/_natty_/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/new-htaccess/#post-8729818)
 * Status: not resolved