404 error

Hi,

I’m having some issues accessing our website. For some reason it only works with the following slug (dummy URL): https://sitenamehere.co.uk/en-gb/

I’ve cloned that page and removed the slug so it is now https://sitenamehere.co.uk/

According to content > website pages the clone page is published and should be up and running. I’m copying and pasting the link directly from HubSpot, so there should be no typos in the name. Unfortunately I keep getting a 404 when trying to visit the page. The other website page, the one with the en-gb slug is still published as well and can still be visited and looks fine.

We are currently using a free account so unfortunately cannot contact support. Live chat support recommended I ask here. Thanks for reading.

Hey @Ella321

It seems like there might be an issue with the URL routing or configuration for the cloned page without the “/en-gb/” slug.

Double-check the settings in your CMS to ensure that the new page without the slug is correctly configured and published. Additionally, verify that there are no conflicting redirects or URL rules that might be causing the 404 error.

For more information kindly check this article here: Troubleshoot content issues.

If you found our post helpful in resolving your query kindly mark it as an accepted solution!

Hey @Ella321 this is likely down to your language settings. You can see more information on setting this up within HubSpot here.

You want to make sure the toggle for “use prefix in slug” is unchecked for the language you’re using (British English), otherwise HubSpot will keep adding in this prefix automatically when this language is chosen on a page!

Hi @Ella321 As @TomM2 suggested, you likely have/had your global language settings set to use prefix in slug when you connected your DNS. If you removed it from the page as @Gaurav_Aggarwal mentioned and republished, it would have resolved the error right away.

Since you didn’t provide your actual URL to verify, I can’t confirm whether it’s an actual 404 error (resulting in the a 404 page) or a DNS/server error - this would help us understand where the issue lies.

Do you have other pages published? Are you able to access those pages directly?

Please confirm your language settings match here (with your chosen language):