cancel
Showing results for 
Search instead for 
Did you mean: 

Cross Domain Canonical (Technical SEO)

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Cross Domain Canonical (Technical SEO)

Hello everyone,

 

I've been researching for a while now, but I'm getting nowhere. I hope someone can help me.

The initial situation: We have 3 online shops.

 

Online shop 1: 90,000 products --> By far the most SEO power

Online shop 2: 60,000 products

Online shop 3: 40,000 products

 

Problem:

- Products from online shop 2 are listed in 1

- Products from online shop 3 are listed in 2 and 1

 

Product listings are almost identical, so we have the problem of duplicate content. At the moment, each product refers to itself.

 

We would like to set a different focus for each online shop. Creating unique content is not possible.

I would like to implement cross domain canonical tags to signal to Google which is the canonical URL.


Now to my question. Where in Adobe Commerce can this be done?

 

I can only find the setting options: https://experienceleague.adobe.com/docs/commerce-admin/marketing/seo/meta-data.html#canonical-meta-t... 

 

"Use the canonical link meta tag for products"

"Use the canonical link meta tag for category"

 

However, I would like to decide for myself where the canonical tag is referenced.


What options are there here in Adobe Commerce / AEM Sites?

 

Best regards Robin

5 REPLIES 5

Re: Cross Domain Canonical (Technical SEO)

There is no out-of-the-box solution for your specific needs that you can just configure in administration.

 

What you're asking for requires some custom programming, but nithing an experienced agency couldn't deliver relatively easily. 

Founder at https://agency418.com

Re: Cross Domain Canonical (Technical SEO)

Hi,

 

If the only similar pages are the product pages this is no big deal.

The duplicate content is not really punished by Google when it on product pages.

 

There are a lot of products that are sold on different websites and have the exact same product description.

 

Maybe you can organize your categories differently and change your product titles and H1 in each website. A big part of the job can be done automatically.

 

If you set up a cross domain canonical the only thing it will do is that you will lose your SEO trafic on websites 2 and 3.

 

--

Antoine Weecxsteen, SEO Consultant

Re: Cross Domain Canonical (Technical SEO)

It sounds like you're dealing with cross-domain canonical issues, which can be tricky when you're managing multiple shops with overlapping product listings. To make sure your SEO efforts aren’t being diluted, you’ll want to establish clear canonical URLs for each product, ensuring that search engines recognize the correct source for each one. In case you want to simplify managing this at scale, tools like CrawlSpider can help automate the identification and proper tagging of cross-domain URLs.

Re: Cross Domain Canonical (Technical SEO)

Magento does not allow cross-domain canonical tags by default, but you can work around this in two ways. The first option is to use a third-party extension, such as the Canonical URL extension, which allows you to manually set a canonical URL pointing to another domain for each product. This is the easiest method if you don’t want to modify code. 

The second option, which provides more control, is custom development. You can manually edit your Magento theme’s head.phtml file (found in app/design/frontend/{Vendor}/{Theme}/Magento_Theme/templates/html/head.phtml) and insert custom code to set the canonical tag dynamically.

For example, adding <link rel="canonical" href="https://mainsite.com/ <?php echo $_product->getUrlKey(); ?>" /> will ensure that Google recognizes the correct URL as the original source. Just replace "https://mainsite.com/ " with the domain where the original product page exists.

 

For Adobe Experience Manager (AEM), you can manually add canonical tags in your page templates. Simply insert <link rel="canonical" href="https://mainsite.com/your-product-url " /> in the <head> section of your AEM pages. If your site is dynamic, you might need a developer to automate this by modifying the template logic or using an AEM SEO plugin.



Re: Cross Domain Canonical (Technical SEO)

If you're dealing with cross-domain canonical issues in Magento 2, a key thing is making sure both domains serve the correct URLs with the right canonical tags. Magento's built-in settings help, but sometimes you need custom solutions for specific cases. I've worked on projects where hiring an expert was the best move. If you need skilled developers for this, Hire Overseas can connect you with the right talent.