Skip to main content
25 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 ...
Stephen Ostermiller's user avatar
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 ...
Itai's user avatar
  • 6,007
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 ...
Stephen Ostermiller's user avatar
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 ...
Stephen Ostermiller's user avatar
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 ...
grg's user avatar
  • 3,197
6 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 ...
Seb's user avatar
  • 636
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 ...
DocRoot's user avatar
  • 4,317
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 ...
Stephen Ostermiller's user avatar
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 ...
Seb's user avatar
  • 636
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 ...
zigojacko's user avatar
  • 5,072
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="...
MrWhite's user avatar
  • 43.1k
5 votes
Accepted

Should canonical links for pagination include the page number, or are they not needed at all when using rel=next and rel=prev?

Yes, you are using canonical links correctly. Google and other search engines use your canonical tags. To resolve cases of where duplicate content exist ... Allow me to explain the correct usage ...
Wayne Smith's user avatar
  • 2,701
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 ...
L Martin's user avatar
  • 4,023
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 ...
marcanuy's user avatar
  • 2,654
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 ...
MrWhite's user avatar
  • 43.1k
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 ...
GDVS's user avatar
  • 7,805
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://...
DisgruntledGoat's user avatar
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 ...
Simon Hayter's user avatar
  • 33.1k
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 ...
Stephen Ostermiller's user avatar
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 ...
Mike Ciffone's user avatar
  • 6,559
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 ...
Maximillian Laumeister's user avatar
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 ...
Stephen Ostermiller's user avatar
4 votes
Accepted

Can I configure Google Analytics to use the canonical URL?

You can modify your Google Analytics tracking snippet to use the canonical URL that you specify. Your normal GA tracking snippet should look something like this: <!-- Google Analytics --> <...
Stephen Ostermiller's user avatar
4 votes

Duplicate content after moving from http to https

You just need to give it time. A couple days is no where near enough. Google will move your site over to HTTPS in its search index one page at a time. Depending on the size of your site, the ...
Stephen Ostermiller's user avatar
4 votes
Accepted

What should the canonical URL(s) be for a custom chart with filters?

Your canonical URL should probably (I'll explain why so tentative) go to the chart tool in its starter state; that is, example.com/chart. Think about it this way. You want search engines to index only ...
Henry Visotski's user avatar
4 votes
Accepted

How to deal with data-sheet and product PDFs which are repeated over the web?

Google usually tries to index the authoritative, original source for such content. Ideally Google would index the copy of these PDFs on the manufacturer website. Manufacturers that are removing ...
Stephen Ostermiller's user avatar
4 votes
Accepted

Import Canonical URL for YOAST SEO using Database

Finally After several day, I found the answer in this link: https://larryludwig.com/how-to-make-bulk-edits-to-content-in-wordpress/ from There you can find the the table using this: SELECT * FROM `...
Rakis Friski's user avatar
3 votes

Is it 100% safe to add NOINDEX tag to any duplicate/copy content issues?

Both rel=canonical and noindex has their own purposes. rel=canonical should be used when you want to give weightage of the page to a page from where the content originated. The seo juice in this case ...
abhinsit's user avatar
  • 1,714
3 votes
Accepted

Using canonical links to keep a site out of Google search results

Use noindex to keep pages out of Google’s index The only correct way to keep results out of Google’s index is to use noindex. At the risk of being pendantic, Google’s (or any search engine’s) search ...
Tim Grant's user avatar
  • 529
3 votes
Accepted

2 URLs pointing to one website with a unique canonical URL

Sounds like the easiest method without having to edit Yoast SEO PHP code directly would be to disable canonicals being handled by Yoast SEO all together. Disable it like so: SOURCE Filter ...
Simon Hayter's user avatar
  • 33.1k

Only top scored, non community-wiki answers of a minimum length are eligible