HubSpot Ideas

rlopez

Replace accent marked characters in blog urls

Hello friends.

 

Problem:

When I publish a blog post, the post title automatically becomes the URL. That is ok. But when I have a title with accent marks (like á, é, í, ó), Hubspot automatically encodes with special characters.

 

I think this is not the best for SEO, and the result is so ugly. On the one hand, I must spend time replacing it manually. On the other hand, I can forget this and publish bad URLs.

 

Example:

  1. I publish a blog post titled "Cómo compré mi primer camión"
  2. HubSpot set my URL as https://www.domain.com/c%C3%B3mo-compr%C3%A9-mi-primer-cami%C3%B3n
  3. The URL I like to obtain should be https://www.domain.com/como-compre-mi-primer-camion

Goal/Solutions:

  • Suggestion #1: Is there a way to just remove the accent and keep the letter without it? 
  • Suggestion #2: Is there a way to alert the user when there are URL encoded characters in the URL?

 

Thank you very much.

 

Regards,

 

Rafael López

4 Replies
rlopez
Key Advisor
kestrada
HubSpot Moderator

Hola @rlopez 

 

Gracias por la publicación. Sí definitivamente  es algo a tener en cuenta. 

 

Aunque, siempre teneniendo en cuenta que muchas veces los carácters especiales son interpretados en código de una manera diferente.

 

Un saludo ,

Kira

CBN
Contributor

This just a very basic request.


Should work out of the box with any substituion in HubSpot.


We have the same issue with URL and adding of e.g. 'contact.firstname'. In real life people have double first name without '-' as e.g. 'Hans Henrik'.


This crashes replacements in URLs for forms.

f1oren
Member

Hello @rlopez 

 

Are you sure there is a problem? Google's John Mueller says accented characters in urls are okay

https://blog.seoprofiler.com/excuse-my-french-google-says-you-can-use-accents-in-urls-but-be-careful...

https://www.seroundtable.com/google-accents-in-urls-seo-27314.html

 

Regards

Florent