SEO, AdWords, affiliates, advertising, and promotions
I cant figured this one out..
I have one category with page 1, 2, and 3 and all these are crawled and indexed by Google.
Its only the original URL that should be found by Google, so i want to make a Canonical tag to the original URL.
It's so easy in so many other CMS systems? Example SEO Yoast for Wordpress is easy to do it with.-.-
See the example of all three URLs here.(The first one is the only one that should be found by Google)
Hey there,
In my sense adding canonical tag in your liquid theme will rectify.
Follow this steps:
Shopify adds the canonical URLs automatically, but sometimes the auto generated tags are pointing to the wrong URLs. You need to manually edit to the code to change the destination URL.
Step 1: Access the site code by going to the Themes section, then click Template Editor.
Step 2: Next, find the “theme.liquid” file by searching for theme in the search box, then clicking on the theme.liquid text. The result should look like this
Step 3: Search for the canonical code by using either cmd+F or ctrl+F and typing “canonical” in the search box. The canonical code should then be highlighted and it should look like this:
<link rel=”canonical” href=”{{ canonical_url }}” />
Step 4: Within the canonical tag, look at the part that says {{canonical_url}}. Shopify provides automatically and you will need to replace it if it isn’t correct.
Thanks for your reply! Maybe I need to explain it. In wordpress, you can Copy/Paste the canonical URL into the specific page. This you need to do on all pages where it's necessary. This can be done manually on each pages with the plug-in "SEO Yoast". It's easy and it works perfectly.
Here's the example where it goes wrong with.´shopify.(And maybe I have misunderstood something) But what you talk about, sounds like a global setting that will appear on those specific pages that need it.
Heres my problem:
If this Canonical function is the only way to fix it, can you maybe tell my where and what I should plug in the URL.
Hope you understand. 😮
You can add specific canonical links to collection pages dynamically via Google Tag Manager.
<script> jQuery('linkn[rel="canonical"]').remove(); var link = document.createElement('link'); link.rel = 'canonical'; link.href = '{{Cannonical URLS}}'; jQuery('head') .appendChild(link); </script>
The beauty of this method is that if you have to make any more changes you can simply add them to the lookup table and the tag will automatically start firing there to the specified collection.
Here, OP knows what is canonical tag and its use.
OP isn't looking for the defination! So read the question properly before posting anything!!!
Hey BspeedN,
I work with a good number of large eCommerce sites, so I should be able to help!
I know it sounds counter-intuitive but that's the proper implementation for paginated content. Essentially each page in the series should have a self-referential canonical tag. The canonical tag should not point to the first page of the series. This is confirmed by Google: https://webmasters.googleblog.com/2013/04/5-common-mistakes-with-relcanonical.html
It's OK if you're seeing pagination get indexed, that's pretty standard on eCommerce sites. If you're seeing a paginated URL (?page2) become the primary ranking page for a given query, than you might need to check things like internal linking structure.
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023