How to remove default generated canonical tag in category page?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
2
down vote
favorite
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 is mine, and another appears to be autogenerated.
The highlighted one is my canonical tag. The one below is the one I don't want. I want to prioritize the first link (/all-cards) over the second (/most-popular), but the autogenerated canonical tag isn't letting me do that.
How can I remove it?
magento2 category-listing canonical
add a comment |Â
up vote
2
down vote
favorite
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 is mine, and another appears to be autogenerated.
The highlighted one is my canonical tag. The one below is the one I don't want. I want to prioritize the first link (/all-cards) over the second (/most-popular), but the autogenerated canonical tag isn't letting me do that.
How can I remove it?
magento2 category-listing canonical
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
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 is mine, and another appears to be autogenerated.
The highlighted one is my canonical tag. The one below is the one I don't want. I want to prioritize the first link (/all-cards) over the second (/most-popular), but the autogenerated canonical tag isn't letting me do that.
How can I remove it?
magento2 category-listing canonical
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 is mine, and another appears to be autogenerated.
The highlighted one is my canonical tag. The one below is the one I don't want. I want to prioritize the first link (/all-cards) over the second (/most-popular), but the autogenerated canonical tag isn't letting me do that.
How can I remove it?
magento2 category-listing canonical
asked Aug 16 at 2:55
Mingle Li
1287
1287
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
You can check this configuration in the screenshot to disable autogenerated canonical link
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
You can check this configuration in the screenshot to disable autogenerated canonical link
add a comment |Â
up vote
4
down vote
accepted
You can check this configuration in the screenshot to disable autogenerated canonical link
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
You can check this configuration in the screenshot to disable autogenerated canonical link
You can check this configuration in the screenshot to disable autogenerated canonical link
answered Aug 16 at 4:54
thanhdv2811
36018
36018
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f238516%2fhow-to-remove-default-generated-canonical-tag-in-category-page%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password