Created
February 18, 2014 12:17
-
-
Save cole007/9069894 to your computer and use it in GitHub Desktop.
htaccess rewrite issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# htaccess rule to redirect queries to eg /shop/category/dvd to /shop/index.php?c=dvd | |
# HOWEVER this overrides any further queries, eg/shop/category/dvd?d=2011 | |
RewriteRule ^shop/category/([a-zA-Z0-9-/]+)$ shop/index.php?c=$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment