cmb69 / onepage_xh

Tools for creating "one pagers" with CMSimple_XH
GNU General Public License v3.0
3 stars 2 forks source link

Link checker: Error with internal links #51

Open frase-git opened 3 years ago

frase-git commented 3 years ago

(XH 1.7.5)

The link checker reports for all internal links:

Error: Broken internal link, anchor does not exist.

This is actually logical for a onepager and probably can't be changed. But I want to mention it here anyway - maybe you'll have an idea about it someday.

cmb69 commented 3 years ago

Actually, that is a conceptional flaw of the link checker wrt. internal pages. It checks whether the page exists, and if the URL contains a fragment, whether a respective anchor is contained on the page or the template. Of course, contents created by plugin calls are ignored, as well page specific templates; and unpublished pages are not properly handled either (nor redirects etc.) Unless that will be fixed, the best thing I can do here is to document the limitation regarding Onepage_XH.

frase-git commented 3 years ago

Unless that will be fixed, the best thing I can do here is to document the limitation regarding Onepage_XH.

Okay.