Post by r0ssXX » Fri Sep 01, 2017 12:03 am

Hi all,

I've set up a second store to showcase a different set of products to my main store fridgeland.co.uk. The new store is caterland.co.uk. Caterland appears and has the correct products (eg caterland.co.uk/test) but all links on homepage point to fridgeland.co.uk not to caterland.co.uk. I've had a look at .htaccess but nothing there looks wrong (the www.fridgeland.co.uk domain is rewritten to fridgeland.co.uk but that seems ok). The caterland domain is pointed at the root of the installation in the hosting panel (plesk).

My OC version is 2.2.0.0. Store URL in admin panel is http://www.caterland.co.uk/

Thanks in anticipation ,

Ross

Newbie

Posts

Joined
Thu Aug 31, 2017 11:32 pm

Post by yodapt » Fri Sep 01, 2017 11:52 pm

Opencart is not capable by default of handling different store domains for the same installation.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Reptile » Sat Sep 02, 2017 9:50 pm

Did you put a trail slash behind your domain when setting up the second store?
You should fill in the domain name like this:
http://www.domain.com/

If you forget the trail slash then all will be linked to the default domain.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by r0ssXX » Mon Sep 11, 2017 5:10 pm

Hi Guys,

many thanks for replying, sorry I've been a while getting back, been on holiday. OK, the trailing slash: yes, I've included that. I tried http://www.caterland.co.uk/ and also http://caterland.co.uk/ (as the main domain is http://caterland.co.uk/). Both give the same result which can be seen at caterland.co.uk. Any ideas?

Best regards,

Ross

Newbie

Posts

Joined
Thu Aug 31, 2017 11:32 pm

Post by Reptile » Tue Sep 12, 2017 2:02 am

Did you configure your second store correctly in your cpanel?
Last edited by Reptile on Tue Sep 12, 2017 2:05 am, edited 1 time in total.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by IsmaelPR1 » Fri Oct 27, 2017 7:37 am

Reptile wrote:
Tue Sep 12, 2017 2:02 am
Did you configure your second store correctly in your cpanel?
What should be the correct setup in cpanel?

User avatar
Newbie

Posts

Joined
Sat Oct 21, 2017 1:30 am

Post by webcorvo » Fri Oct 27, 2017 8:49 pm

IsmaelPR1 wrote:
Fri Oct 27, 2017 7:37 am
Reptile wrote:
Tue Sep 12, 2017 2:02 am
Did you configure your second store correctly in your cpanel?
What should be the correct setup in cpanel?
Create a subdomain
To create a subdomain, perform the following steps:
1.Enter the desired prefix in the Subdomain text box.
2.Select the desired main domain from the menu.
3.Enter the home directory ( that should be your oc root ) for the subdomain in the Document Root text box.

Opencart Developer - For custom work and support contact @ webcorvo@gmail.com


User avatar
Active Member

Posts

Joined
Mon Mar 20, 2017 11:42 pm
Location - Lisbon, Portugal
Who is online

Users browsing this forum: No registered users and 236 guests