Hoe de HTTP-omleidingsaudit van Lighthouse mislukt
Lighthouse markeert pagina's die niet naar HTTPS worden omgeleid:
Lighthouse-audit die aantoont dat HTTP-verkeer niet wordt omgeleid naar HTTPS.
Lighthouse wijzigt de URL van de pagina naar HTTP, laadt de pagina en wacht vervolgens op de Chrome Remote Debugging Protocol -gebeurtenis die aangeeft dat de pagina veilig is. Als Lighthouse de gebeurtenis niet binnen 10 seconden ontvangt, mislukt de audit.
Hoe HTTP-verkeer omleiden naar HTTPS
Nadat u HTTPS hebt ingesteld, moet u ervoor zorgen dat al het onveilige HTTP-verkeer naar uw site wordt omgeleid naar HTTPS:
Gebruik canonieke links in de kop van uw HTML-document, zodat zoekmachines de beste manier kunnen vinden om naar de pagina te gaan.
Configureer uw server om HTTP-verkeer om te leiden naar HTTPS:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Translation issue","translationIssue","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-16 UTC."],[],[]]