HTMLProofer Protocol-Relative URL and HTTPS Link Failures with Custom Subdomain #1628
Unanswered
DigitalDenCloud
asked this question in
Q&A
Replies: 3 comments 2 replies
-
All that writing and no mention of which version you use. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It looks like it might be related to #1625 that was recently fixed. I see test job has passed for you using the latest 6.5.5. Please confirm. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for the silly question, but just so I understand when issue #1625 was fixed, simply by re running my failed job it would be fixed on my end? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
How did you create the site?
Generated from
chirpy-starter
Description
After deploying the Jekyll site on GitHub Pages with a custom domain (docs.digitalden.cloud) I encountered HTML validation failures during the test site job, specifically with htmlproofer.
Despite correctly setting up a CNAME record in Route 53 to point to digitalden3.github.io, and configuring chirpy to use digitalden3.github.io / docs.digitalden.cloud as its URL, I'm still facing issues with HTML checks related to protocol-relative URLs and HTTPS links.
These checks are failing despite the site being accessible via the custom domain. The core issue seems to revolve around HTML validation errors that I'm unable to bypass or correct due to the way links are handled within your site or theme.
Operations you have already tried
--disable-external
,--check-html
,--allow-hash-href=true
,--ignore-urls
) in an attempt to bypass the errors related to protocol-relative URLs and ensure that HTTPS links are validated correctly.Anything else?
Simply commenting out the html proofer solve the problem, but I would love to know how I can solve this problem.
bundle exec htmlproofer _site
--disable-external=true
--ignore-urls "/^http://127.0.0.1/,/^http://0.0.0.0/,/^http://localhost/"
Thank you in advance, and love this theme!
Beta Was this translation helpful? Give feedback.
All reactions