21
votes
Accepted
Should query strings be included or removed from the canonical tag?
Query parameters can be used for many purposes. Some of them don't specify the page content and some of them do. If the query parameter is used to specify the content loaded onto the page, then it ...
10
votes
Accepted
Do query string case differences affect whether a URL is Canonical?
URLs that differ in case in the query string are different URLs to search engines. They are not considered equal and would need canonical tags or redirects to tell search engines which you prefer.
...
10
votes
Accepted
How to avoid robots from indexing pages of my app through alternate URLs?
It happen that Googlebot discovers the alternate URL. The official way if you want your application to be accessible through all those URLs for internal purposes, is to use canonical links as you ...
8
votes
HTTP to HTTPS: Wait for new sitemap to be indexed?
Google will never index HTTPS while the canonicals point to HTTP. I switched my largest site over to HTTPS using the following protocol:
Enabled HTTPS for the site without switching canonicals for ...
8
votes
Accepted
Is it legal republish any article with Credits and Canonical Link?
No it is not legal. It is copyright infringement to copy and republish any article without the proper license to do so. Noting the source and adding a canonical does not in any way limit your legal ...
6
votes
Accepted
Landing page on multi language site: Canonical AND x-default
It is a confusing state of affairs, but here are some pointers:
Don't use the canonical tag in the way you were thinking. Content translated into several languages is not duplicate content. So you ...
6
votes
Accepted
Is it possible for Google to disregard my canonical tag?
Early 2018 update to Google Search Console will now tell you if it's overridden a page with a different canonical:
Google chose different canonical than user: This URL is marked as canonical for a ...
6
votes
Preventing URLs ending in "/" from search engine indexes with robots.txt or rewrite rule
rewrite ^/$ ? permanent;
This would only match the document root (a valid request) - this isn't a URL that ends with a slash, but a URL that starts with a slash.
Try something like the following ...
6
votes
Accepted
When an attribute value ends in a slash, can I omit the quotes? It looks confusing when the trailing slash is next to the closing angle bracket
Here is what the HTML spec says about using unquoted attribute values:
An unquoted attribute value is specified by providing the following parts in exactly the following order:
an attribute name
...
5
votes
How to correctly mark up different versions of the same document which are non-canonical
given your question I have to make the following assumptions:
your website is offering a section for install-guides for a product
guides differ from product version but stay relevant for customers ...
5
votes
Why is Google indexing pages with ?utm_campaign query string
Reviewing your website as it is now, I am not too sure if this is a problem any longer / currently.
The issue is not internal linkage on your website with the inclusion of UTM parameters (as another ...
5
votes
Accepted
Is "site:" returning pages that would not otherwise be returned?
<meta rel="canonical"
type="text/html"
title="Home Page"
href="https://exdox.com"/>
This is incorrect. This should be a link element, not a meta element. For example:
<link rel="...
5
votes
Accepted
How to avoid hreflang return errors with URL that contain parameters
The problem you have is caused by the combination of canonical and hreflang.
Your setup
Given your example: for the URL https://example.com/au/publications?count=50&page=4 you specify the ...
4
votes
Accepted
Do canonical URLs disappear from the search results?
Setting a rel="canonical" doesn't necessarily prevent both (canonical and non-canonical) URLs from being "indexed", but it indicates a preference as to which URL should be returned in the SERPs.
If ...
4
votes
Do query string case differences affect whether a URL is Canonical?
Yes, all parts of URL after the domain name are case sensitive.
Also, query string case is important not just for search engines but it may be important for your server as well.
You may have the ...
4
votes
Accepted
Do I need to put rel="canonical" in the original page?
It's highly recommended. Google will probably understand what you mean without it, but it's highly encouraged to add it to all pages with the same content including the canonical page itself.
4
votes
Will meta setting Meta="NOINDEX" eventually remove page from Google index?
I am not sure if your theory is good because it is based on a very big assumption that your new website will take the credit for your old site after deindexing. Except rel="canonical", you don't have ...
4
votes
301 redirect or canonical
Do a 301 redirect.
In your case Google won't see it as Black Hat.
The only way to get a "Black Hat" mark with a 301 is when you're doing "chain redirection" (i.e. you're redirecting from a first to ...
4
votes
Accepted
Does it matter what url the canonical url is?
The way you/Magento are doing it is correct. As long as you have breadcrumb markup Google will display the category chain in SERP. In the case of multiple categories, the chain displayed depends on ...
4
votes
Accepted
How to correctly remove MULTIPLE parameters from the Google index using htaccess and canonical / noindex?
You only really need to set the rel="canonical" header. This should be sufficient in ensuring only the canonical URL (ie. the one with no URL params) appears in the SERPs. Setting a noindex robots ...
4
votes
How to correctly mark up different versions of the same document which are non-canonical
I've seen cases like yours when browsing technical documentation like Django docs.
There aren't any specific tag to add in this case but you can use the following strategies to hint Google that you ...
4
votes
Accepted
Multiple domains, 'one' server
The rule for indexing is to ask 'Where is the content?' and 'What's the fastest route to it?'
Cross domain canonicalisation is treated like a soft redirect. You state that content is served from ...
4
votes
Accepted
Wrong URL Requested But I know what they meant - 404 vs canonical vs 301 redirect
tl;dr You should 301 redirect to the canonical URL. This is for the benefit of SEO, as much as user experience.
You already know the correct resource to return (based on the company-25 part of the ...
4
votes
Accepted
To canonical or not - parent/child page relation
You're right, canonical link element is meant for duplicate (or very nearly duplicate) content, so not the right approach here. In fact, Google would likely ignore a canonical because it's not ...
4
votes
What canonical URL should be used for sub-pages? The sub-page itself, the home page,or something else?
It depends what is on those pages, you didn't give any details. If the home (front) page is identical to /page-1 then it would be best to set the canonical on both pages to the home page (ie https://...
4
votes
Accepted
Is it necessary to add a canonical tag for a static site switching from HTTP to HTTPS if there is already a 301 Redirect?
No canonical links are not required if 301 redirects are working to the correct page(s), however, it should be noted that using canonical links is considered a best practice.
Canonical links are a ...
4
votes
Accepted
What does Google do with multiple canonical links on one page?
If you specify multiple canonical tags, Google will ignore all the canonical tags.
Having multiple canonical tags would be a reason that Google would choose to ignore canonical tags. Google also ...
4
votes
Why is "User-declared canonical" URL different between "GOOGLE INDEX" versus "LIVE TEST" in Google Search Console?
This is very tough without actually getting under the hood in GSC. Based on your comment it also seems like the problem got resolved, but I'll list some possibilities to consider for anyone that finds ...
4
votes
French language comes up before English language site for site: search on English version of Google
To answer your questions:
If you do not have localized country-specific versions of your site live at the https://www.construct.net/en-us and https://www.construct.net/fr-fr URLs, then remove those ...
4
votes
Accepted
Flag my website as a single page application?
Google does use two versions of Googlebot. One that just fetches the page and looks at the source code. The second that renders the page.
Google will automatically use both versions of the crawler ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
canonical-url × 595seo × 348
rel-canonical × 106
duplicate-content × 105
url × 76
google-search-console × 74
301-redirect × 47
google × 45
redirects × 37
hreflang × 29
google-search × 24
noindex × 23
search-engine-indexing × 22
url-rewriting × 19
url-parameters × 17
rel-alternate × 17
htaccess × 16
sitemap × 15
meta-tags × 14
wordpress × 13
web-crawlers × 13
google-index × 13
mobile × 13
pagination × 13
googlebot × 12