Google Search Console error report
- AlexO
- Verified Member

- Posts: 6403
- Joined: February 10th, 2018, 5:37 pm
- Title: I like Celebrities
Google Search Console error report
Hey any of you know what this error means in your Google Search Console report?
"Alternate page with proper canonical tag
These pages aren't indexed or served on Google
First detected: 8/16/22Done fixing?
Affected pages
670"
"Alternate page with proper canonical tag
These pages aren't indexed or served on Google
First detected: 8/16/22Done fixing?
Affected pages
670"
Give me celebrity porn 
- jag
- Verified Member

- Posts: 6539
- Joined: February 15th, 2018, 9:51 am
- Title: From Malta with love
- Referrals: 1
The real message is in the first line hon.
From Malta with love and sunshine
-
24alex
- Verified Member

- Posts: 2116
- Joined: March 2nd, 2018, 12:51 pm
- Referrals: 21
This to me is a problem of Google, if you use the same tags in the header.php on yopur WP site obviously there will be duplicates on pages, in your case you have 670 pages on your one blog with the same tags.
- tacnet
- Board Sponsor

- Posts: 3641
- Joined: February 22nd, 2019, 7:21 pm
- Referrals: 9
- Contact:
You need to check which url you have in your canonical tag eg
The canonical tag just tells google that there is an alternative version of this page which is the version you would like indexed.
It could be that you just have several versions of your page available. For example, if you blog posts can be sorted in different orders then you dont want google to try and index every available sort option. So your canonical tag would just point to the default sort order
Code: Select all
<link rel="canonical" href="https://www.mydomain.com/mypage.html"/> It could be that you just have several versions of your page available. For example, if you blog posts can be sorted in different orders then you dont want google to try and index every available sort option. So your canonical tag would just point to the default sort order
-
monsta
- Verified Member

- Posts: 1459
- Joined: March 21st, 2018, 3:37 pm
So on Wordpress what should I add in the header.php file not to offend Big G.
- vblogger
- Verified Member

- Posts: 1935
- Joined: February 17th, 2018, 2:48 pm
how will you modify that to work across all pages on a WP blog?tacnet wrote: ↑December 13th, 2023, 6:40 pmYou need to check which url you have in your canonical tag eg
The canonical tag just tells google that there is an alternative version of this page which is the version you would like indexed.Code: Select all
<link rel="canonical" href="https://www.mydomain.com/mypage.html"/>
It could be that you just have several versions of your page available. For example, if you blog posts can be sorted in different orders then you dont want google to try and index every available sort option. So your canonical tag would just point to the default sort order
- tacnet
- Board Sponsor

- Posts: 3641
- Joined: February 22nd, 2019, 7:21 pm
- Referrals: 9
- Contact:
I dont know about header.php as we dont really use WP but this is NOT a google problem. Sites use canonical tags to try and steer google in the right direction when it crawls your site
Lets say you had a shop listing a bunch of items for sale and the default order was best selling. But on that page there were links so the user could sort the items in price ascending and price descending order. So you might have 3 pages like this :-
https://www.mydomain.com/shop/
https://www.mydomain.com/shop/ascending/
https://www.mydomain.com/shop/descending/
Google would see those as 3 seperate pages and index all 3 of them. But that's NOT what you want because its duplicate content and your splitting your page importance (link juice) accross 3 different pages. You want google to send all users (and the link juice) to the default page ie https://www.mydomain.com/shop/
In that case, you would add this to the <header> tag of all 3 pages
This tells google to crawl the ascending and descending pages but to only index the default page. So all your link juice now goes to https://www.mydomain.com/shop/
You can remove the canonical tags altogether and just let google index everything but you may end up splitting your link juice accross multiple pages (and you might get penalised for having duplicate content)
Canonical tags are really only relevant if you have multiple versions of the same page and you want to steer google to one version. If its just a straight forward blog page then i cant see much use for them
Note google doesn't always follow canonical tags. If it sees that the canonical tag points to a page that is substantially different to the original page then it will ignore it
Hope that makes sense
Lets say you had a shop listing a bunch of items for sale and the default order was best selling. But on that page there were links so the user could sort the items in price ascending and price descending order. So you might have 3 pages like this :-
https://www.mydomain.com/shop/
https://www.mydomain.com/shop/ascending/
https://www.mydomain.com/shop/descending/
Google would see those as 3 seperate pages and index all 3 of them. But that's NOT what you want because its duplicate content and your splitting your page importance (link juice) accross 3 different pages. You want google to send all users (and the link juice) to the default page ie https://www.mydomain.com/shop/
In that case, you would add this to the <header> tag of all 3 pages
Code: Select all
<link rel="canonical" href="https://www.mydomain.com/shop/"/> You can remove the canonical tags altogether and just let google index everything but you may end up splitting your link juice accross multiple pages (and you might get penalised for having duplicate content)
Canonical tags are really only relevant if you have multiple versions of the same page and you want to steer google to one version. If its just a straight forward blog page then i cant see much use for them
Note google doesn't always follow canonical tags. If it sees that the canonical tag points to a page that is substantially different to the original page then it will ignore it
Hope that makes sense
- tacnet
- Board Sponsor

- Posts: 3641
- Joined: February 22nd, 2019, 7:21 pm
- Referrals: 9
- Contact:
One more thing (and this could be relevant to WP users)
Make sure that WP is NOT just adding a default canonical tag to ALL you pages like this :-
That would mean google will only ever index your main page and completely ignore all your other pages.
In that case I would suggest removing the canonical tag altogether
If your unsure, just pm me a link and i will check it for you
Make sure that WP is NOT just adding a default canonical tag to ALL you pages like this :-
Code: Select all
<link rel="canonical" href="https://www.mydomain.com/"/> In that case I would suggest removing the canonical tag altogether
If your unsure, just pm me a link and i will check it for you
- TheButcher
- Administrator

- Posts: 17530
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
Hmm time to check my sites .....