Skip to main content
23 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
  • 5,997
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,207
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,297
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
  • 626
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
  • 42.9k
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 ...
Seb's user avatar
  • 626
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 ...
Aakash's user avatar
  • 1,316
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 ...
dhaupin's user avatar
  • 3,339
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 ...
Michał G's user avatar
  • 356
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 ...
MrWhite's user avatar
  • 42.9k
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,644
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,013
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
  • 42.9k
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,795
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
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,435
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

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