Olá! Nós temos uma Comunidade em Português!

Removing accents from a url - blog post

resolver
Mitwirkender

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.

Responder
0 Avaliação positiva
1 Solução aceita

Soluções aceitas
Highlighted
Moderator

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

Responder
0 Avaliação positiva
2 Respostas 2
Highlighted
Moderator

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

Responder
0 Avaliação positiva
Mitwirkender

Thank you, @cbarley .

Responder
0 Avaliação positiva