Clean install, have enabled seo urls in admin settings, checked with Namecheap that Apache is installed and renamed the Htaccess.
Any reason why it wouldn't be working?
It just shows index.php page (home.twig) for all /seo-urls, whether they exist or don't exist.
Also the page I have made does exist as /index.php?route=product/category&language=en-gb&path=59, but just not when using it's seo url.
Code: Select all
## 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 /
## 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]
Code: Select all
RewriteEngine On
RewriteRule ^(.*)$ https://www.google.com [R=302,L]
Have also checked config.php incase www. was affecting it. But both with or without same result.