Support » Plugins and Hacks » Hacks » Disable wordpress rewrite

Disable wordpress rewrite

  • Sorry, I just noticed this sub forum
    after I posted my topic here.

    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]
    # END WordPress

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

    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.