I’ve got this while passing lighthouse tests:
There were issues affecting this run of Lighthouse:
The page may not be loading as expected because your test URL (https://68a9e2aa53c60900090f3a8d--hugo-aerocool.netlify.app/) was redirected to Aerocool. Try testing the second URL directly.
@Dimastad What is the issue/question?
The message appears to be correct.
When accessing the .netlify.app URL, the browser ends up on the .ua URL.
So you should test that URL directly, instead of testing the .netlify.app URL.
Thank you for the clarification. I’m still a bit confused about how exactly I should test the .ua URL directly instead of the .netlify.app one. Could you please guide me through the steps I need to follow to do this properly?
I’d really appreciate your help since I’m not sure how to proceed.
Best regards,
@Dimastad I don’t work for Netlify, nor am I familiar with whatever you’re using.
Taking a wild guess that you’re probably using this plugin:
https://www.netlify.com/integrations/lighthouse/build-plugin/
That page indicates the plugin documentation is here:
https://github.com/netlify/netlify-plugin-lighthouse#readme
That documentation has a “Lighthouse plugin configuration options” section:
https://github.com/netlify/netlify-plugin-lighthouse#lighthouse-plugin-configuration-options
Which indicates you can use this configuration:
[[plugins]]
package = "@netlify/plugin-lighthouse"
# to audit a specific absolute url
[[plugins.inputs.audits]]
url = "https://www.example.com"
Thanks for taking the time to reply. I usually rely on the magic of our community for guidance, but unfortunately, in this case, it didn’t work out.
I appreciate your input and the links—it’s helpful to have references even if I wasn’t able to get it working this time.
My build is Hugo v0.148.2, PaperMod 8.0
This is not something caused by Netlify. This is what you’ve deployed:
<!doctype html><html lang=uk-UA><head><title>https://aerocool.ua/uk/</title><link rel=canonical href=https://aerocool.ua/uk/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://aerocool.ua/uk/"></head></html>
So you’re asking the browser to do what it’s doing. If this is not intentially done by you, most likely it’s done by your theme. Try contacting the theme developer.