2022-03-07 14:56:55 +00:00
|
|
|
#
|
|
|
|
# Rewrite
|
|
|
|
#
|
2022-03-07 14:20:02 +00:00
|
|
|
<IfModule mod_rewrite.c>
|
2022-03-07 14:56:55 +00:00
|
|
|
RewriteEngine On
|
2022-02-26 00:27:10 +00:00
|
|
|
|
2022-03-07 14:56:55 +00:00
|
|
|
# Wish
|
|
|
|
RewriteRule ^([a-z\-]+)/(\d+)$ /?page=$1&id=$2 [QSA,L]
|
2022-02-27 11:23:38 +00:00
|
|
|
|
2022-03-07 14:56:55 +00:00
|
|
|
# Wishlists
|
|
|
|
RewriteRule ^([a-z\-]+)/(\d+)$ /?page=$1&wishlist=$2 [QSA,L]
|
2022-02-26 00:27:10 +00:00
|
|
|
|
2022-03-07 14:56:55 +00:00
|
|
|
# Wishlist
|
|
|
|
RewriteRule ^wishlist/([a-z0-9]+)$ /?wishlist=$1 [QSA,L]
|
2022-02-26 00:27:10 +00:00
|
|
|
|
2022-03-07 14:56:55 +00:00
|
|
|
# Page
|
|
|
|
RewriteRule ^([a-z\-]+)$ /?page=$1 [QSA,L]
|
2022-03-07 14:20:02 +00:00
|
|
|
</IfModule>
|
|
|
|
|
2022-03-07 14:56:55 +00:00
|
|
|
#
|
|
|
|
# Headers
|
|
|
|
#
|
2022-03-07 14:20:02 +00:00
|
|
|
<IfModule mod_headers.c>
|
2022-03-07 14:56:55 +00:00
|
|
|
# 1 Year
|
|
|
|
<FilesMatch "\.(woff2|js|css|png|svg|jpg)$">
|
|
|
|
Header set Cache-Control "public, max-age=31536000, no-transform"
|
2022-03-07 14:20:02 +00:00
|
|
|
</FilesMatch>
|
|
|
|
</IfModule>
|