Title: Disable wordpress rewrite
Last modified: August 20, 2016

---

# Disable wordpress rewrite

 *  [sarun37823](https://wordpress.org/support/users/sarun37823/)
 * (@sarun37823)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/disable-wordpress-rewrite/)
 * Sorry, I just noticed this sub forum
    after I posted my topic [here](http://wordpress.org/support/topic/how-to-disable-wordpress-write-to-htaccess).
 * How do I disable wordpress rewrite rules?
    (see more info on the link above)
 * and is this code below work (and compatible) with wordpress? (to nullify the 
   code)
 *     ```
       <IfModule not_exist>
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /blog/
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /blog/index.php [L]
       </IfModule>
       # END WordPress
       </IfModule>
       ```
   

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

 *  [michael.mariart](https://wordpress.org/support/users/michaelmariart/)
 * (@michaelmariart)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/disable-wordpress-rewrite/#post-2849943)
 * If you want to disable the re-write rules, the easiest way is to set your permalinks
   to ‘Default’ in your administration area, and then delete the .htaccess file.
   This will make sure that there’s no rewriting available, and also that WordPress
   doesn’t try to use it.
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/disable-wordpress-rewrite/#post-2850017)
 * Set your permalink setting to Default from wp-admin
 * Settings > Permalink > on the radio option for Default Setting

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

The topic ‘Disable wordpress rewrite’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 3 participants
 * Last reply from: [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/disable-wordpress-rewrite/#post-2850017)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
