One Joomla+HikaShop with multiple domain names

  • Posts: 45
  • Thank you received: 0
6 years 3 months ago #285692

-- 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:

  • 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: 6 years 3 months ago by paulvanharen.

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
6 years 3 months ago #285702

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:

<?php
if($_SERVER['HTTP_HOST'] == 'domainname.com'){
 echo "something";
}else{
 echo "something else";
}
?>

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum