I have update the config.php in both location but can NOT change the htaccess update with
i used this info here:
https://www.fastcomet.com/blog/how-to-f ... ns-problem
## original
#RewriteCond %{HTTPS_HOST} !^www\.
#RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
As if i do the site changes from https//example.com to htts://www.www.example.com
When I disable in the client broswer CROS security the site works as expected.
Error in browser console CORS Missing Allow Origin
other info i have two opencart on the same box that (might) impact it.
when i go dirrectly to the website with https://www.example.com the icons do not work
but when i go to the web site with https://example.com the icons do work.
paid template used mahardhi
php version PHP Version 8.2.18
open cart version 4.0.2.3
I can't really work out what you're trying to do but those lines are commented out for a start.amongCart wrote: ↑Tue Dec 17, 2024 4:45 pmCode: Select all
#RewriteCond %{HTTPS_HOST} !^www\. #RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Perhaps its time to hire a developer then? Drop me email for fix
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
Who is online
Users browsing this forum: No registered users and 8 guests