-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why aren't my website's pages loading? #324
Comments
I'm a newbie here but with that said, I think it has to do with your link markup.
is creating some weird markup on your production site. Try changing it to:
and see if it works. |
I've removed the tag and placed what you had there. Still doesn't work. The tag is a bootstrap vue component. Just noticed an error in the console, every time I click on a link: "Unchecked runtime.lastError: The message port closed before a response was received." Any idea? Again - this problem only happens when on Netlify. It doesn't happen on local. |
You still have multiple nested |
@hjvedvik Removed all instances of tags being nested in tags in the main menu, still not working. :( |
You can also try to add this element to your Netlify form (ref) <input type="hidden" name="form-name" value="home-contact" /> Looks like Netlify automatically adds it if it doesn't exists. But it will mess up the Vue rendered markup. |
@hjvedvik I disabled the forms completely and my site works again! So yes, it's probably because Netlify adds those tag. Thanks for that. |
hello. I also facing this issue but my site is on cloudflare pages. How can I solve this in cloudflare pages? |
Description
When I click on a link in the nav, the URL in the address bar changes, but it does not load the page.
This is only happening on Netlify. This does NOT happen on my local machine.
Netlify link.
Note - if you click on a page, and the URL changes to the clicked page, hit refresh. Suddenly, everything works and you can navigate around the site.
Steps to reproduce
Codesandbox link.
Expected result
The page that's clicked on should load.
Actual result
It doesn't load. Instead, you're stuck on the home page.
Environment
The text was updated successfully, but these errors were encountered: