Blog, Website & Page Publishing

ML82
Participant

How can I change the url to not include en-us?

SOLVE

Hi! I have no idea what I am doing but I bought the domain and came to hubspot to set up the website.  I cannot figure out how to get it to be just the dot com. Not include /en-us after!  My default language is English-US, the language on my website is the same.  When I go to type in www.panhandleaginsurance.com it says it does not exist.  It only exists if I include \en-us.  The chat feature has been unable to help and they suggest I try here. I am not a web developer and was very proud I was able to connect the domain.  Please help!

1 Accepted solution
Jnix284
Solution
Hall of Famer

How can I change the url to not include en-us?

SOLVE

Thanks @ML82, so here's what's happening - because your domain language is already set to English and you're not using the prefix slug in the URL, when you set the language on the individual page, HubSpot is interpreting that to override the default and adding it.

 

If you remove the language from the page, it will remove it from the URL and you should be all set.

 

You only need to set the language for individual pages if it differs from your default language when building a multi-language site.

 

Thanks for sharing this, I'll provide some feedback about the individual page setting to see if there's a way to make it more clear for new users.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

View solution in original post

0 Upvotes
34 Replies 34
SBulfer
Member

How can I change the url to not include en-us?

SOLVE

Jennifer I'm having the same issue of the forced /en-us extension being added everytime I try to make content updates to the blog page and press "update".  I turned off all the language settings as you have listed above...spent hours on this.  This is for the blog listing pages.  bug as hubs is forcing en-us extension.pngshowing _blog.pngshowing _blog 2.png

0 Upvotes
Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

@SBulfer this looks like it might've been a delay in updating after you changed the language settings, as noted on another thread it looks like everything is good to go now.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
KJeffries1
Member

How can I change the url to not include en-us?

SOLVE

I'm having the same exact problem, but I don't have a blog or landing page. Please help.

0 Upvotes
KJeffries1
Member

How can I change the url to not include en-us?

SOLVE

It's been resolved. 

Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

@KJeffries1 glad you were able to resolve the issue!


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

Hi @ML82 no worries, happy to help get it removed!

 

From Settings > Website > Domains & URLs click the "Language Settings" tab

 

With an English only website, there are two settings you can update:

 

1 - uncheck the toggle at the top to automatically create redirects. You don't need this if your website only exists in one language.

 

2 - next to your domain, where you have the language set, uncheck the toggle to include the prefix in the slug

 

It should look something roughly like this (with your domains of course):

 

Jnix284_0-1706210983664.png

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
ML82
Participant

How can I change the url to not include en-us?

SOLVE

ML82_0-1706211235784.png

This is exactly what mine looks like before you responded.  None of the toggles are "checked/selected".  Everything appears to be correct according to your picture.  It still isn't working. 

Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

Hi @ML82 there's one more place to check - can you open your home page and check the "Settings" where you add your internal page title, page title, meta description, etc. and see if there is any text in the content slug box?

 

Jnix284_0-1706217737048.png

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
ML82
Participant

How can I change the url to not include en-us?

SOLVE

Hi Jennifer, see screen shots below:

ML82_0-1706221397715.png

 

ML82_1-1706221412128.png

 

0 Upvotes
Jnix284
Solution
Hall of Famer

How can I change the url to not include en-us?

SOLVE

Thanks @ML82, so here's what's happening - because your domain language is already set to English and you're not using the prefix slug in the URL, when you set the language on the individual page, HubSpot is interpreting that to override the default and adding it.

 

If you remove the language from the page, it will remove it from the URL and you should be all set.

 

You only need to set the language for individual pages if it differs from your default language when building a multi-language site.

 

Thanks for sharing this, I'll provide some feedback about the individual page setting to see if there's a way to make it more clear for new users.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
AVurady
Member

How can I change the url to not include en-us?

SOLVE

I did your solutions, but still my URL needs en-us/ at the end of it. Screenshot 2025-01-14 212451.jpgScreenshot 2025-01-14 212414.jpgScreenshot 2025-01-14 212337.jpgScreenshot 2025-01-14 212324.jpg

0 Upvotes
Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

Hi @AVurady I'm curious about the 404 error because you have two different Home pages:

Screenshot 2025-01-15 at 8.38.45 AM.png

 

"Home 2" includes /en-us because you've set the language for that page specifically - essentially you've created a language variant for that page.

 

Because you changed the settings after you connected the domain, it's likely a server cache issue.

 

Following these steps should resolve the issue:

 

1 - unpublish "Home" completely

 

2 - remove the language setting from "Home 2"

 

3 - republish (click update) "Home 2"

 

This should remove /en-us and allow "Home 2" to display at your root domain.

 

If this doesn't work or you have any questions, I'm happy to jump on a video call to go through the steps together - please send me a DM to schedule.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
SRawlings9
Member

How can I change the url to not include en-us?

SOLVE

Hello - I was having the same issue and followed all of the instructions you suggested here in this thread but it's still not working for me. When I edit the website page to remove the language and then go to update/publish with these changes i get an error that says "A page already exists at 'URL'. To chnage the URL, please click the settings tab". But I don't want to change the URL I just want it to not have en-us at the end.

0 Upvotes
Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

Hi @SRawlings9 that means you have another page in the CMS that has a blank content slug - it could be archived, unpublished/draft, or published, but there's another page that is blank and would need to have some text added in the settings before you can save your change on the preferred home page.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
SRawlings9
Member

How can I change the url to not include en-us?

SOLVE

I think I only have this one website page? I just created it last week. Here is a screenshot of my website pages. Do you know if there is somewhere else I can check?hubspot image 1.PNG

0 Upvotes
Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

@SRawlings9 any landing pages? if not, then Blog - did you configure a blog and not setup/add a blog slug? you can check in Content > Blog here:

Jnix284_0-1716233442831.png

If this is blank with the same root domain, then you need to add a placeholder value here to resolve the issue.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
SRawlings9
Member

How can I change the url to not include en-us?

SOLVE

Ok, I just added "/blog" to the blog slug. Will this effect my url that i wanted to remove en-us from? It's now showing 404 error, so i'm wondering if it needs the 48 hours to propagate?

0 Upvotes
Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

@SRawlings9 it's 404 because now there isn't a home page at all - once you remove en-us from the website page (which you can do now that the blog slug isn't blank) then that page would show on your root domain and should be immediate.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
SRawlings9
Member

How can I change the url to not include en-us?

SOLVE

Awesome, thank you!!!! That worked now. 

Jnix284
Hall of Famer

How can I change the url to not include en-us?

SOLVE

you're welcome @SRawlings9 happy to help!


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes