Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # location / {
- # try_files $uri $uri/ /index.php?$query_string;
- # }
- location = /sitemap.xml {
- rewrite ^(.*)$ /index.php?route=feed/google_sitemap break;
- }
- location = /googlebase.xml {
- rewrite ^(.*)$ /index.php?route=feed/google_base break;
- }
- location / {
- # This try_files directive is used to enable SEO-friendly URLs for OpenCart
- try_files $uri $uri/ @opencart;
- }
- location @opencart {
- rewrite ^/(.+)$ /index.php?_route_=$1 last;
- }
Add Comment
Please, Sign In to add comment