SE friendly URLs -> except certain pages; htaccess exception rule?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
10010110

SE friendly URLs -> except certain pages; htaccess exception rule?

Post by 10010110 »

My current problem is that I’m embedding a form that retreives parameters from an external application (tracker) and due to the CMS’s URL rewrite all these parameters get stripped out, rendering the whole thing kinda useless.

Therefore my question is if I can add an exception rule to the htaccess file where I specify certain URLs that specifically should not be rewritten but stay default (with the additional parameters being appended from the external application) and if yes how that would have to look like? I’m a front-end developer and not a mod_rewrite pro so I’d appreciate your help tremendously.
Pierre M.

Re: SE friendly URLs -> except certain pages; htaccess exception rule?

Post by Pierre M. »

Hello,

the [QSA] option of mod_rewrite's rewrite rules is Query String Append to preserve your additional parameters.
To make exceptions in rewrite rules, put them at the top of your .htaccess with [L] and the regular rules after them.
May be you are looking for [QSA,L]...

Pierre M.
Locked

Return to “CMSMS Core”