OC4 SEO URL is having query string which contains the controller and the function name even though I have enabled it from the settings.
Current URL: http://localhost/pd/upload/delhi/new-de ... uage=en-gb
Excepted URL : http://localhost/pd/upload/delhi/new-delhi
htaccess
## SEO URL Settings
RewriteEngine On
## If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /pd/upload
## Rewrite Rules
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|webp|js|css|svg)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
OC version; 4 digits.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
RewriteBase /pd/upload
should be:
RewriteBase /pd/upload/
should be:
RewriteBase /pd/upload/
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Bing [Bot] and 83 guests