htaccess.madewithlove.com icon indicating copy to clipboard operation
htaccess.madewithlove.com copied to clipboard

Implement "skip" syntax

Open andreascreten opened this issue 10 years ago • 1 comments

We are using a "skip" syntax in out htaccess:

RewriteCond %{QUERY_STRING} !^item_id=4 RewriteRule .? - [S=6] RewriteRule ^lernen/(.).php$ http://www.linguashop.com/hörbuch-$1? [R=301,L] RewriteRule ^aprender-agora/(.).php$ http://www.linguashop.com/frases/$1? [R=301,L] RewriteRule ^apprendre/(.).php$ http://www.linguashop.com/$1-facile? [R=301,L] RewriteRule ^aprender/(.).php$ http://www.linguashop.com/frases-$1? [R=301,L] RewriteRule ^imparare/(.).php$ http://www.linguashop.com/traduzioni-$1? [R=301,L] RewriteRule ^learn/(.).php$ http://www.linguashop.com/$1-download? [R=301,L]

This rule was met, the new url is /-ww.linguashop.com/lernen/polnisch.php for the rule "RewriteRule .? - [S=6]" don't really seem appropriate.

Filed by David on June 17, 2014 at 12:28 pm

andreascreten avatar Jun 20 '14 07:06 andreascreten

The skip syntax is not supported at all, it does very strange things: screen shot 2014-06-20 at 09 28 07

andreascreten avatar Jun 20 '14 07:06 andreascreten