Disable wordpress rewrite (3 posts)

  1. Sarun37823
    Posted 3 years ago #

    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
  2. michael.mariart
    Posted 3 years ago #

    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.

  3. Sandip Patil
    Posted 3 years ago #

    Set your permalink setting to Default from wp-admin

    Settings > Permalink > on the radio option for Default Setting

Topic Closed

This topic has been closed to new replies.

About this Topic