Post by 3zzy » Mon Sep 05, 2016 11:52 pm

Hi,

I'm on Nginx and for the most part, opencart works great but I just can't get the non-store URLs to redirect correctly:

example.com/index.php?route=common/home
example.com/index.php?route=account/register
example.com/index.php?route=account/login

etc..

Can anyone please share their nginx config to rewrite these URls as:
example.com/home
example.com/register
example.com/login

I believe the regex for it would be index.php\?route\=[^\/]*\/ but I can't get it working.

thanks

Newbie

Posts

Joined
Thu Aug 11, 2016 12:56 pm
Who is online

Users browsing this forum: No registered users and 12 guests