Post by seank123 » Thu Sep 24, 2020 10:26 pm

I have a fresh install of the current version of Open Cart on domain.com

I have changed DNS of newdomain.com to point to the same location as domain.com

I add a new store in System-Settings - https://newdomain.com/

When I visit newdomain.com I see the default OpenCart store - but all of the links - categories, products, pages etc are pointing to domain.com

Any changes I make in the settings for newdomain.com such as logo, currency etc don't show in the homepage.

Have I missed a step?

Thanks

Newbie

Posts

Joined
Tue Nov 22, 2011 7:14 pm

Post by paulfeakins » Fri Sep 25, 2020 4:26 pm

Have you updated:

/config.php
/admin/config.php

?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by seank123 » Fri Sep 25, 2020 8:54 pm

I haven't made any changes to the config.php files - there's no mention of that in the documentation http://docs.opencart.com/en-gb/administ ... lti-store/

What should I add/change?

Newbie

Posts

Joined
Tue Nov 22, 2011 7:14 pm

Post by letxobnav » Fri Sep 25, 2020 10:33 pm

are you properly redirecting http to https in htaccess?
The store identification is done in startup.php where it compares the plain requested domain with the plain stored domain but with the https/http distinction.
if the request is over ssl, it will compare with the ssl field, otherwise with the url field and there it expects http.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by seank123 » Mon Sep 28, 2020 4:55 pm

http:// is properly redirecting to https://

Newbie

Posts

Joined
Tue Nov 22, 2011 7:14 pm
Who is online

Users browsing this forum: No registered users and 251 guests