Post by khurrum » Sat Jul 23, 2016 4:56 am

Hello

I have installed opencart on lets say for example on mydomain.com. now i want that my another domain lets say anotherdomain.com should also be the same so I parked the domain on mydomain.com

but when i visit anotherdomain.com, the site is opening properly but all the product links and logo and header links are linking to mydomain.com. how is it possible that if anyone visits mydomain.com, the links, logo and header titles should link to mydomain.com.... but when anotherdomain.com is open then links should be of anotherdomain.com....

thanks for your support.

best regards

Newbie

Posts

Joined
Wed Oct 23, 2013 10:36 pm

Post by pprmkr » Mon Jul 25, 2016 8:13 pm

Did you add your second store to System - Settings ?

At all Design - Layouts add second store and url.
After that edit categories, products, informations and modules to layouts and select second store where you want item to display.

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by straightlight » Mon Jul 25, 2016 8:55 pm

This topic has now been moved to: Installation, Upgrade, & Config Support section of the forum.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Mon Jul 25, 2016 10:07 pm

Did you include a trailing / on your second store? Must be anotherdomain.com/ in admin > settings or it will do as you describe.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by EvolveWebHosting » Tue Jul 26, 2016 3:53 am

khurrum wrote:Hello

I have installed opencart on lets say for example on mydomain.com. now i want that my another domain lets say anotherdomain.com should also be the same so I parked the domain on mydomain.com

but when i visit anotherdomain.com, the site is opening properly but all the product links and logo and header links are linking to mydomain.com. how is it possible that if anyone visits mydomain.com, the links, logo and header titles should link to mydomain.com.... but when anotherdomain.com is open then links should be of anotherdomain.com....

thanks for your support.

best regards
Helo, Did you actually 'park' the domain? I don't know what control panel your hosting account uses but if it's cPanel, create an add on domain and point the direcory to the same as the first domain. Like Labeshops said, make sure you add the / at the end of the URL when you add it under settings.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by khurrum » Sat Aug 06, 2016 10:16 pm

yes i have parked the domain. you can also check by visiting main domain charjishop.com and the parked domain chinesedukaan.com

thanks and best regards

Newbie

Posts

Joined
Wed Oct 23, 2013 10:36 pm

Post by labeshops » Sun Aug 07, 2016 10:58 am

As evolve said, you want to use add on domains, not a parked domain.

Follow the instructions in this thread to properly set up multistores: http://forum.opencart.com/viewtopic.php?t=27538

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA
Who is online

Users browsing this forum: No registered users and 5 guests