One more for you. We have other rules that we need to add to the .htaccess file. How do we keep these from being rewritten in the .htaccess file ?
Thank you
makenoiz wrote:I will need to regenerate the .htaccess regularly
#Working around additional parameter - this one can not be unset in some cases by Core
RewriteCond %{QUERY_STRING} ^(.*)&buy=now$
RewriteRule ^index.php$ index.php?%1 [L,R=301]
#Stopping Rewrite for Performance reasons (if you are using custom Rewrite Rules remove this line)
RewriteRule ^.*(\.php[0-9]{0,1}|\.htm|\.xml|\.css|\.js|\.jpg|\.gif|\.png)$ - [L]~J~ wrote:Every single line in .htaccess file is important. We hardly do not recommend to remove anything.
Users browsing this forum: No registered users and 1 guest