nginx
location / {
try_files $uri $uri/ @opencart;
index index.php index.html index.htm;
autoindex off;
allow all;
deny all;
}
location @opencart {
rewrite ^/sitemap.xml$ /index.php?route=extension/feed/google_sitemap last;
rewrite ^/googlebase.xml$ /index.php?route=extension/feed/google_base last;
rewrite ^/payment_callback/(.*) /index.php?route=extension/payment/$1/callback last;
rewrite ^/callback/(.*) /index.php?route=extension/module/social/login&provider=$1 last;
rewrite ^/system/download/(.*) index.php?route=error/not_found last;
rewrite ^/blog$ /index.php?route=panda/blog last;
rewrite ^/(.+)$ /index.php?_route_=$1 last;