• This is an attempt at a workaround of a permalink issue affecting a plugin I made. I need a htaccess that basically says this to Apahe…

    Hey, if this file is named {enter the url name here of where the plugin’s shortcode is inserted} then don’t use any rewrite rules on it.

    If the rewrite rule is as follows

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    could I perhaps put something in <IfModule mod_rewrite.c> along the lines of <IfModule mod_rewrite.c AND !pluginpage> so that no rewrite is run on that page and url?

    I’m just starting to study mod rewrites so if that is all way off I apologize.

  • The topic ‘Help to write custom htaccess’ is closed to new replies.