SEO link in opencart 1.4.9
Added by icesoul over 13 years ago
Hey, i'm using centos5 whit lighttpd/1.4.26
I have add in config 2 line and seo url works fine
url.rewrite-once = ( "^/$" => "/index.php?route=common/home" ) url.rewrite-if-not-file = ( "^/(.*)" => "/index.php?_route_=$1" )
except 1 thing
when i'm going in a category
i can't go to next page
This is the site, and now seo url are disable
http://www.optimizare-promovare.ro/
Whit seo url activate name of category is
website dot ro/laptopuri
and tme pages are
website dot ro/laptopuri?page=2
/laptopuri?page=3
and when i try to acces this paget i get 404 error
Replies (2)
RE: SEO link in opencart 1.4.9 - Added by icy over 13 years ago
The rewrite rule does not hand over the querystring properly. Try this:
"^/([^?]*)(?:\?(.*))?$" => "/index.php_route_=$1&$2"
It captures the path in $1 and the querystring in $2