Textpattern CMS support forum
Re: Short URLs and rev=canonical
I didn’t know that, thanks for the tip. Perhaps I’ll use one of the faster string functions as you suggest. I’ll see if I can make it robust enough by counting slashes. Cheers, man.
Well it’s not too slow, just bit overbloated :). Compared to
get_browser(), and some other header functions, it’s really fast.
I think you won’t need to change it (it’s just fine as it is :P), because the
parse_url() is only used when redirecting, and called only once per request.
I was just thinking aloud :)
Last edited by Gocom (2009-06-17 07:20:41)