Relative links resolve to https://example.com/source-path//dest-path/
-
We’re running into an issue with the Local (old) Broken Link Checker where it resolves relative links to the following format:
https://example.com/source-path/%22/dest-path/%22
So, for example, a link on the page
/page-1that links to/page-2ends up like this:https://example.com/page-1/%22/page-2/%22
Even
mailto:links suffer from this issue:https://example.com/page-1/%22/mailto:[email protected]/%22
The actual links on the page work fine, but, according to BLC, we have hundreds of
404links.I haven’t checked every single link, but it looks like BLC is having trouble with links that are added as HTML (so
<a href="/dest-path/">...</a>). BLC seems to include the quotes (“) that contain thehrefvalue when it resolves the URL (that explains the%22‘s in the resolved URL)
The topic ‘Relative links resolve to https://example.com/source-path//dest-path/’ is closed to new replies.