- Posts: 45
- Thank you received: 0
One Joomla+HikaShop with multiple domain names
- paulvanharen
-
Topic Author
- Offline
Less
More
8 years 9 months ago - 8 years 9 months ago #285692
by paulvanharen
One Joomla+HikaShop with multiple domain names was created by paulvanharen
-- HikaShop version -- : 3.1
-- Joomla version -- : 3.8
-- PHP version -- : 7.0
We're running a webshop, and we would like to add a second domain to sell part of the products under a different webshop domain.
It is fairly easy to configure this in Joomla: duplicate the menu's, and some or most of the modules; some tweaking in .htaccess to direct to the right menu option and you're done.
Yet, I'm looking for advise on two topics:
Thanks and regards, Paul
-- Joomla version -- : 3.8
-- PHP version -- : 7.0
We're running a webshop, and we would like to add a second domain to sell part of the products under a different webshop domain.
It is fairly easy to configure this in Joomla: duplicate the menu's, and some or most of the modules; some tweaking in .htaccess to direct to the right menu option and you're done.
Yet, I'm looking for advise on two topics:
- We have canonical URLs filled in for all of our products. This means that we will always jump back to the primary site for product details. How can we improve or work-around this?
- Is there a way to customize the customer e-mails dependent on the check-out form instance?
Thanks and regards, Paul
Last edit: 8 years 9 months ago by paulvanharen.
Please Log in or Create an account to join the conversation.
8 years 9 months ago #285702
by nicolas
Replied by nicolas on topic One Joomla+HikaShop with multiple domain names
Hi,
1. You can turn off the "force canonical URLs on listings" setting.
As long as the canonical URL is filled in, search engines won't flag your pages as duplicate. That option is only so that your customers always have the same URL on the product pages, which is not what you want in your case.
2. You mean based on the domain name where the purchase is made ?
You need to check the domain name of the URL in the code of the emails that you can edit via the menu System>Emails
For example:
1. You can turn off the "force canonical URLs on listings" setting.
As long as the canonical URL is filled in, search engines won't flag your pages as duplicate. That option is only so that your customers always have the same URL on the product pages, which is not what you want in your case.
2. You mean based on the domain name where the purchase is made ?
You need to check the domain name of the URL in the code of the emails that you can edit via the menu System>Emails
For example:
Code:
<?php
if($_SERVER['HTTP_HOST'] == 'domainname.com'){
echo "something";
}else{
echo "something else";
}
?>
Please Log in or Create an account to join the conversation.
59 minutes ago #100000591
by nicolas
Replied by nicolas on topic One Joomla+HikaShop with multiple domain names
Hi,
For anyone reading this: this setup is now handled by the Domains plugin.
It serves several domain names from one Joomla and one HikaShop, each with its own template, home page and modules. Each domain can have its own products and categories, sitemap and product feed, and an order keeps the domain it was placed on, so that the emails sent later link back to that domain.
Restricting products by domain needs HikaShop Business 6.6.1 or later.
For anyone reading this: this setup is now handled by the Domains plugin.
It serves several domain names from one Joomla and one HikaShop, each with its own template, home page and modules. Each domain can have its own products and categories, sitemap and product feed, and an order keeps the domain it was placed on, so that the emails sent later link back to that domain.
Restricting products by domain needs HikaShop Business 6.6.1 or later.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds