Last active
July 11, 2017 12:07
-
-
Save bigin/76813da78c5749f874a3dcf7f4d06eda to your computer and use it in GitHub Desktop.
This file contains 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
# Catalog rules | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(catalog)/?(.*)/(page[1-9]?)?$ index.php?id=$1&seg=$2&page=$3 [QSA,L] | |
# Native GS rules | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment