All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Custom Canonical Tag in Magento 2 Category

I am using Mageworx extension for canonical tags, but want to add a custom canonical tag/url in a category, and remove the canonical url generated by the extension. I am using Magento 2.2.5. I used ...
2
votes
0answers
56 views

How to change the canonical function for category page in Magento 2?

How to add custom url Using canonical function Code: if ($this->_categoryHelper->canUseCanonicalTag()) { $this->pageConfig->addRemotePageAsset( $category->getUrl(), '...
1
vote
1answer
295 views

What is the SEO Recommended canonical category of products? [closed]

Have a question, what is the SEO Recommended in Magento 2.2.5 canonical category of products?
2
votes
2answers
817 views

Magento 2 Override Product Canonical Url

How would you override the product canonical url in Magento 2? Scenario: We have a group products which cannot be configurable's (client request) so we've created 4 simples and connected them via ...
2
votes
1answer
477 views

How to remove default generated canonical tag in category page?

In Catalog > Categories > [my category] > Design > Layout Update XML, I put my own canonical link. However, when I inspected the HTML, I noticed there were two canonical tags. One of them ...
0
votes
1answer
147 views

Magento2: Can we add current URL in “Scripts and Style Sheets”?

I want to add Dynamic URL in Admin->Content->Design->Configuration->HTML Head->Scripts and Style Sheets? Actually, I want to add canonical tag throughout the website. Here is the code: <link rel=...
1
vote
2answers
2k views

How to add canonical tag for all cms pages magento 2?

I want to add canonical tag for all cms pages. Currently canonical tag enabled for category and product page. How to do this?
1
vote
1answer
1k views

Magento 2 Changing Canonical URL of Product page

I have a configurable product consisting of simple product. The URL is something like http://www.domain.com/catalog/product/view/id/92196/s/my-simple-product/ I want to change this to have the ...
1
vote
0answers
19 views

Turn system URLs into canonical URLs

I've inherited a site that was M1 and using system URLs. I have migrated the product data over to an M2 installation. Is there a way now to convert those system URLs to canonical URLs?
1
vote
0answers
319 views

Magento 2 : How To Remove Canonical Link on Page

How to remove canonical link on page (using xml)?
1
vote
1answer
1k views

Change magento url structure for better Google index

I have website with url structure like below http://example.com/appliances.html/?cat=12 http://example.com/appliances.html/?cat=12&mfg=123 Where cat id and manufacturer id are inner categories ...
1
vote
0answers
375 views

Magento 2 - Self referring canonical for custom page

How do i add a self referring canonical to a custom page layout manufacturerers_index_index ? The above wont work because the url could be one of many i.e. the layout is inherited by multiple ...
6
votes
2answers
3k views

Magento 2: Is it possible to add a canonical link to a page through it's layout file?

I have a custom page and I'm trying to add a canonical link to it. I see that in the layout file I can specify meta data in the head node. Is it possible to add the canonical link in the layout as ...
0
votes
2answers
833 views

SITEMAP.XML contains non-canonical links

XML Sitemap contains a lot of non-canonical URLs in Magento 2.0.2. It's not good practice from SEO perspective and and worth fixing. Here is my config: Use Categories Path for Product URLs is set ...