seo-lint icon indicating copy to clipboard operation
seo-lint copied to clipboard

Collection of improvements for handling meta refresh & internal links

Open cmbuckley opened this issue 3 years ago • 3 comments

I've found this tool really helpful and wanted to suggest some changes that have made a big difference for me. Happy for feedback or to split into multiple PRs if necessary.

  • Better handling for pages containing <meta http-equiv="refresh">. Obviously not great for SEO, but a necessary evil of static sites, and this PR adds some specific checks to those pages.
  • Removes URL fragments and mailto: links from the internal links set. Also recognises fully qualified (non-domain-relative) URLs as internal.
  • Watch out for &/&amp; in innerText/innerHTML comparison

cmbuckley avatar Aug 24 '21 17:08 cmbuckley

Thanks for this. @lukeed is working on a major overhaul of the code as we speak. I think it is close to being done but the repo is private. We'll work to make sure these improvements are included.

nickreese avatar Aug 25 '21 10:08 nickreese

Is there any update on this, since the last post was 11 month ago? Suggested changes seem to be useful from my point of view, especially the changes to link handling. Thanks for your work! :tada:

phaer avatar Aug 02 '22 13:08 phaer

Is there any update on this, since the last post was 11 month ago? Suggested changes seem to be useful from my point of view, especially the changes to link handling. Thanks for your work! 🎉

I agree

datalogics-charlesm avatar Aug 24 '23 20:08 datalogics-charlesm