Problem/Motivation
I am receiving 404 broken link reports in admin/reports/linkchecker for working links containing anchor tags. (i.e. http://www.greenwoodhill.com/farmstay/pets#cats or http://www.greenwoodhill.com/farmstay/meals#dinner)
It seems to only effect links containing the anchor tags and I can click trough to these pages from the report and it displays correctly, so I am unsure where the 404 is coming from.
Comments
Comment #1
hass commentedStatus codes:
What linkchecker does here is correct.
But you are correct the site links work. You need to ask the site owners why they send status code 404 for a page that exists. Maybe they intentionally like to remove the links from SERPs. This is very stange... I tried faking the user agent and still get this 403 on http://www.greenwoodhill.com/farmstay/, but not in the browser. I have no clue what the site owners are doing there. You may like to send them an email and tell them to fix their broken site.
Comment #3
jeramy commentedThank you for taking the time to respond. The site is mine and I am checking with my shared host to see if they can help me to identify why I would see 404 code from pages that are loading. They claim they see no 404 codes or broken links on my site. Honestly, I don't know enough about how 404 codes are generated and received at the moment to figure out how the server is sending a 404 but loading the page. If you have any insight it would be appreciated. I will continue to talk with my host's tech support folks to see what I can get from them. Thank you for the great tool and for the assistance.
Comment #4
hass commentedRun
wget --spider http://example.com/fooor without spider argument and you will see the status codes. "200 OK" is normal. Compare with other sites, please.Comment #5
jeramy commentedThank you for the help. I can verify that the error is on my end.
Comment #6
hass commentedMaybe of interest #1875602: Check URL fragment identifiers in content.