So following the instructions in the guide
I added my second domain to cPanel > Addon Domains with the domain pointing to "/public_html".
From there I went to System > Settings and added my 2nd domains details to OpenCart.
For some reason whenever I visit my 2nd domain it redirects to my first one instead of showing the categorys/template I cofigured for it. Did I miss a step somewhere? Something I am overlooking?
Nope everything my .htaccess seems to be the defaults and I don't read anything relating to redirects.
[/code]
The rest of it is commented out.
Code: Select all
Options +FollowSymlinks
Options -Indexes
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA][code]
The rest of it is commented out.
Ok, I have got multi-store working on my demo now.
Original Store: http://demo.opencart-extensions.co.uk
Multi Store: http://multistore.opencart-extensions.co.uk
Had to fix the Design -> Layouts a little as they were in a mess. Mainly the 'Default' layout needed the route 'common/home' erasing
Also fixed the manufacturer layout too as it had common/home routes in there which needed thos rows totally deleting
-
As you can see the domains do not redirect though.
I can only think then that it is a problem at your domain hosting pointing.
How have you set it up ?
Original Store: http://demo.opencart-extensions.co.uk
Multi Store: http://multistore.opencart-extensions.co.uk
Had to fix the Design -> Layouts a little as they were in a mess. Mainly the 'Default' layout needed the route 'common/home' erasing
Also fixed the manufacturer layout too as it had common/home routes in there which needed thos rows totally deleting
-
As you can see the domains do not redirect though.
I can only think then that it is a problem at your domain hosting pointing.
How have you set it up ?
@uksitebuilder Indeed it seems it was a DNS related issue. Previously I was using the DNS service provided by GoDaddy. I decided to use my VPS's built in nameservers and DNS handler and it seems it was a GoDaddy issue after all.
Wow, this multi-store feature is amazing.
Wow, this multi-store feature is amazing.
It has it's limits - such as only one payment - only one delivery
But it is great for creating satellite stores for specific ranges of products etc.
But it is great for creating satellite stores for specific ranges of products etc.
Who is online
Users browsing this forum: No registered users and 17 guests