Removing accents from a url - blog post

Highlighted
New Contributor

When I publish a blog post, the post title automatically becomes the url. And when I have a post with accents (á, é, í, ó), Hubspot automatically encodes with special characters. Is there a way to just remove the accent and keep the letter without it?

 

For example, my url:
https://digital.icatuseguros.com.br/temp/como-a-previdência-privada-pode-ajudar-na-sucessão-patrimon...


Hubspot changes to:

https://digital.icatuseguros.com.br/temp/como-a-previd%C3%AAncia-privada-pode-ajudar-na-sucess%C3%A3...

 

Url that I want:
https://digital.icatuseguros.com.br/temp/como-a-previdencia-privada-pode-ajudar-na-sucessao-patrimon...

(just removed the accent from "previdência" and "sucessão" without adding any special characters).

 

This is something very important for SEO, because they are important keywords.

I know that I can change the url manually, but there is a way to make this url changing automatically when creating a new post?

 

Best regards,

Rafael Maciel.

Reply
0 Upvotes
1 Reply 1
Advisor | Platinum Partner

Hi @rafaelmaciel 

 

I don't know of a way to do this automatically, but you could perhaps remove the special characters from your blog post title when first creating it, for example, "Como a previdencia privada pode ajudar na sucessao patrimonial" and then once you have published the post and the URL is set, immediately change the title to "Como a previdência privada pode ajudar na sucessão patrimonial". Changing the post title shouldn't change the URL once the post is published.

 

Worth noting that while the characters may be encoded in the backend of Hubspot, Google Chrome is displaying the characters correctly:

 

hubspot-url-char.png

 

and I see other pages in Google's index displaying such characters correctly too:

hubspot-charcters.png

 

Google has said using such characters in URLs is OK.

 

 


Did my post help answer your query? Help the Community by marking it as a solution.

Matthew Shepherd

An Inbound Growth Agency
Platinum HubSpot Partner

Reply
0 Upvotes