Nov 28, 2022 2:59 PM - edited Nov 30, 2022 5:28 PM
Hello, we have a website with HubSpot to which we have connected a domain. It has been active for weeks. Recently, we have run into an error that we don't understand.
The domain seems to have 'fallen off' of our navigation menu, and exposes the 'default' URL. This brings up a 404 error whenever anyone tries to use our menu to navigate our page.
Nothing has changed or been changed with our DNS or our Website. This error seems to occur on its own without any interaction. When mousing over the links in the navigation menu, they display the incorrect domain but correct /pagename.
When I access the navigation menu via Settings > Website > Tools >Website > Navigation, everything appears correct. Just to be safe, I reassign every link to its respective page and hit save.
This fixes the navigation menu, despite nothing have been actually changed. When returning to the site and mousing over the navigation menu's links, the domain portion is now correct and the links now work.
What could be causing this problem, and what can we do to avoid it happening in the future? Is this a setting somewhere that we need to update to ensure it doesn't happen?
After looking into it more, we're now wondering if it has to do with our blog specifically. The blog was imported to HubSpot from our old WordPress instance. It seems that the blog link is the first to switch to the HubSpot default URL when the problem arises.
I have created a new navigation menu. Instead assosciating pages via the dropdown menu, I used URLs to tell it which specific /pagename to link to. This seems to have cleared up the problem as-it-was for the moment.
Out of the blue, the navigation started loading 404 for every page. When I switched navigation menus back to default it worked again, but brought back the blog error....
Nov 29, 2022 1:38 AM
Could you maybe provide a bit more detail, a screenshot and a URL the site in question where the menu change has appeared?
My initial questions would be:
Nov 29, 2022 2:31 PM
Our site is hosted on HubSpot and was built in the builder there.
We attached our domain name to it once we finished designing it. However, for unknown reasons, sometimes the /blog link in our navigation menu will revert to the HubID.hs-sites.com link- and then after that, anyone who tries to use the site by visiting the home page will see that the links point to the HubID.hs-sites link with /pagename instead of our domain name, which results in a 404 error when trying to click the link. We change nothing. I am unable to force the problem to happen. Both times this problem has occured has been when we return from the weekend.
The initial blog posts were imported from our old WordPress site, but everything else about the current site was made directly in HubSpot.
Nov 30, 2022 10:25 AM
Thanks for the additional context.
I can see that once I visit https://vmarkings.com/blog, all links in the menu are pointing to your HubSpot system domain and not your actual vmarkings.com domain.
To be honest, I am not sure what would cause that. My best guess is either something in the menu module that is used in the blog listing template. Could you check if both the home page and blog listing menu are using the same global menu module?
Can you also check in Settings -> Tools -> Website -> Navigation if you have more than one menu setup?
Nov 30, 2022 11:26 AM
We only have one menu - 'default'.
Each link is set to its page via the dropdown box, which is showing as vmarkings.com/pagename when I select it.
Blog navigation header, mousing over Home shows it's pointing to the hubspot url...
And the same is true for the Blog's navigation....
And on the live homepage each link is appropriately set to the vmarkings.com/ domain.
And yet when I click onto the blog...
So I checked my blog settings, here's what they look like:
So I went poking into the Settings section and found the Domains & URLs tab. I noticed this:
I have no idea where this came from - I'm not the one who handled putting hte URL on our HubSpot site. Is it possible this is the root of the issue?