La communauté HubSpot est disponible en français.

Removing accents from a url - blog post

Résolue
Highlighted
Nouveau contributeur

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.

Répondre
0 Vote / Votes
Solution acceptée / Solutions acceptées

Solutions approuvées
Modérateur

Hi @rafaelmaciel , there's no way to automatically strip this. We'll auto-URLencode the accents, so you'll need to manually rewrite the URL upon publishing

Répondre
0 Vote / Votes
2 RÉPONSES 2
Modérateur

Hi @rafaelmaciel , there's no way to automatically strip this. We'll auto-URLencode the accents, so you'll need to manually rewrite the URL upon publishing

Répondre
0 Vote / Votes
Nouveau contributeur

Thank you, @cbarley .

Répondre
0 Vote / Votes