A few of my pages has an anchor which allows users to go back to the top of the current page. Link Checker seems to report my anchors,"#top", as 404 errors in Broken Links. Is this an issue with Link Checker or is it on my end?

Comments

hass’s picture

Status: Active » Fixed
Issue tags: -anchor, -404, -#top

Does it say the anchor cannot found? Than it is missing in page content. Check your content.

hass’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Component: Miscellaneous » Code
Assigned: ucscholar » Unassigned
Category: Support request » Bug report
Status: Fixed » Active

Oh... I missed that #top must not exist in the page. We need to ignore this anchor.

ucscholar’s picture

Hi hass,

Thank you for your help. The issue has been solved.

  • hass committed 5918e55 on 7.x-1.x
    Issue #2303177: "Back to Top" Page anchor being reported as a 404 error
    

  • hass committed 76ecf83 on
    Issue #2303177: "Back to Top" Page anchor being reported as a 404 error
    
hass’s picture

Status: Active » Fixed

Please try dev or this patch and report back if it fixes your issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.