PH's friendly URLs
Author
Discussion

Keith Lard

Original Poster:

197 posts

245 months

Friday 26th June 2009
quotequote all
Techie question aimed at the PH web gurus mainly. I've noticed posts on PH have a parameter 'nmt' which is the title of the post. Looks good but noticed it is not encoded ie spaces are present within the querystring. Does this not cause problems as the URL is technically invalid.

Would like to do it on my site without replacing spaces with '+' or '_' but may cause probs.

RacingPete

9,197 posts

233 months

Friday 26th June 2009
quotequote all
The nmt in the URLs are added for two reasons: A vain attempt to help Google rankings and so that if you put the link somewhere else (email etc) then it is sort of obvious what the link is to.

We do not use the nmt value for any code in the site, it is purely visual, so if something is invalid in the URL it wont break any code, though we do URL Encode the text so this shouldn't happen (eg blank spaces become %20 etc)