Welcome to WebmasterWorld Guest from 52.91.39.106

Forum Moderators: Robert Charlton & goodroi

User declared canonical for 404ed page is homepage?!

     
5:58 pm on Jun 6, 2019 (gmt 0)

Junior Member

Top Contributors Of The Month

joined:Jan 8, 2019
posts: 54
votes: 1


The site I work on previously did not have a 404 page.

Every deleted page was redirecting to the homepage.

I had Dev create a 404 page and turn off auto-redirect to homepage.

Now GSC URL inspection tool says user declared canonical for these new 404 pages is the homepage.

When I control F in the source and look for the canonical, there is none.

What the heck is going on? And is it dangerous? Thanks!
3:21 am on June 7, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:9713
votes: 925


Deleted pages should return 410 ... check with DEV for why that is not happening!
6:40 am on June 7, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:15636
votes: 795


Frankly I donít trust your dev folks. Are they returning a 404 and serving the new 404 page at the originally requested URL ... or have they replaced the former redirect to / with a new redirect to /404.html ?

Depending on your site, it may or may not be acceptable to use the same (physical) page for both 404 and 410.
1:16 pm on June 8, 2019 (gmt 0)

Moderator This Forum from US 

WebmasterWorld Administrator robert_charlton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 11, 2000
posts:12292
votes: 389


Use a header status code checker to check header response. Your error page(s) should not be returning a "200 OK" header status response.

Error pages should be returning response codes appropriate to the situation... a "404" response indicates "not found". A "410 Gone" indicates that the url is likely to be unavailable permanently.

----
You posted....
Now GSC URL inspection tool says user declared canonical for these new 404 pages is the homepage

See Google's "Search Console Help"...

URL Inspection Tool
[support.google.com...]
From the help page...
Important notes:
- This is not a live test. This tool describes the most recently indexed version of a page, not the live version on the web....

Also, on the help page...
URL is not on Google...
- What it means: This URL won't appear in Google Search results, but we think that was your intention. Most common reasons include a password-protected page, a noindex directive, or that this is an alternate version of a canonical page (alternate version pages are not indexed)....

- A few possible reasons: If the "User-declared canonical" and "Google-selected canonical" values are different, this means that this URL is one of a set of similar pages, and Google has chosen to index another version of the same page...

Read further details as directed on that help page....

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members