htaccess.madewithlove.com
htaccess.madewithlove.com copied to clipboard
Implement "skip" syntax
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.
The skip syntax is not supported at all, it does very strange things: