diff options
-rw-r--r-- | .ht-nginx | 5 | ||||
-rw-r--r-- | .htaccess | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -34,3 +34,8 @@ location ~ ^/(.git|core|theme/([^/]+)/(html|lang))/ { location / { try_files $uri $uri/ /index.php?$args; } + +#=============================================================================== +# Redirect from old to new global static dir +#=============================================================================== +#rewrite ^/rsrc/(.*)$ /static/$1 permanent; @@ -41,3 +41,8 @@ RewriteRule ^(.git|core|theme/([^/]+)/(html|lang))/ - [F] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] + +#=============================================================================== +# Redirect from old to new global static dir +#=============================================================================== +#Redirect 301 /rsrc/ /static/ |