DNN.Blog icon indicating copy to clipboard operation
DNN.Blog copied to clipboard

Convert accented characters on post URLs

Open fkw opened this issue 2 years ago • 8 comments

Could work with the DNN setting :

image

At the moment it's only converting to lowercase, without spaces.

fkw avatar Feb 07 '23 10:02 fkw

Thank you for reporting this potential issue.

  • What version of DNN and Blog module are you running?
  • Do you also see any errors related to the issue by any chance?

Also, while it might seem completely straightforward to you, it would be very helpful for anyone willing to write code to fix anything if you could provide clear steps to reproduce the issue.

WillStrohl avatar Feb 07 '23 18:02 WillStrohl

Yeah, not the clearest of issues, can you explain a bit more what you mean here... The setting you are talking about I believe is a DNN setting for page URLs, what's wrong with accented characters in titles ?

valadas avatar Feb 07 '23 21:02 valadas

It's not a big issue, but the website I'm working on is tracked by an SEO agency. Accentless URLs are better for SEO. Also, a copy/paste of a URL with accents encodes the URL (%C3%A9 for é for example), not very clean. DNN 9.10 Blog 6.5.2

fkw avatar Feb 08 '23 08:02 fkw

Ok, so it's not the title, it's the blog post detail friendly URL ?

valadas avatar Feb 08 '23 16:02 valadas

It really helps to understand to use the issue-reporting template with things developers need to know like the steps to reproduce and the current vs expected behaviours... Makes issues like this one way more clear...

valadas avatar Feb 08 '23 16:02 valadas

Ok, so it's not the title, it's the blog post detail friendly URL ?

Yep, sorry it's the URL, I've just edited my post title...

fkw avatar Feb 09 '23 07:02 fkw

Would you be able to edit the post to include a consistent set of steps to reproduce the issue, please? :)

WillStrohl avatar Feb 09 '23 16:02 WillStrohl

Not really... The only thing I can say is that posts URLs are converted to lowercase, in the same way that DNN converts the URLs of pages. As there is DNN SEO settings to convert URLs (see screenshot on the first post), I thought it could also convert accented characters.

fkw avatar Feb 13 '23 07:02 fkw