Fix inaccurate redirects
This commit is contained in:
parent
442cc6be46
commit
3cfebb0695
1 changed files with 4 additions and 4 deletions
|
@ -8,16 +8,16 @@
|
||||||
RewriteRule ^([a-z\-]+)$ /?page=$1 [QSA,L]
|
RewriteRule ^([a-z\-]+)$ /?page=$1 [QSA,L]
|
||||||
|
|
||||||
# Wishlists (My lists)
|
# Wishlists (My lists)
|
||||||
RewriteRule ^wishlists/([0-9]+)$ /?page=wishlists&id=$1 [QSA,L]
|
RewriteRule ^(wishlists)/([0-9]+)$ /?page=$1&id=$2 [QSA,L]
|
||||||
|
|
||||||
# Wish
|
# Wish
|
||||||
RewriteRule ^wish/(\d+)$ /?page=wish&id=$1 [QSA,L]
|
RewriteRule ^(wish)/(\d+)$ /?page=$1&id=$2 [QSA,L]
|
||||||
|
|
||||||
# Wishlist
|
# Wishlist
|
||||||
RewriteRule ^wishlist/([0-9a-f]{40})$ /?page=wishlist&hash=$1 [QSA,L]
|
RewriteRule ^(wishlist)/([0-9a-f]{40})$ /?page=$1&hash=$2 [QSA,L]
|
||||||
|
|
||||||
# Blog Post
|
# Blog Post
|
||||||
RewriteRule ^blog/([a-z\-0-9]+)$ /?page=post&slug=$1 [QSA,L]
|
RewriteRule ^(blog)/([a-z\-0-9]+)$ /?page=$1&slug=$2 [QSA,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
##-- When caching of gzipped JS and CSS files is used, enable this setting
|
##-- When caching of gzipped JS and CSS files is used, enable this setting
|
||||||
|
|
Loading…
Reference in a new issue