Nao

  • Dadman with a boy
  • Posts: 16,061
Re: Wedge & SEO
« Reply #45, on April 9th, 2011, 10:41 PM »
Oh. So it's settable!

borg1985

  • Posts: 34
Re: Wedge & SEO
« Reply #46, on April 9th, 2011, 11:05 PM »
Quote
Welcome to #NewTwitter! Read up on what’s new. You can still access old Twitter for a limited time.
For the moment yes, but not sure for how long.
Bender: Ahhh, what an awful dream. Ones and zeroes everywhere... and I thought I saw a two.
Fry: Don't worry, Bender.  There's no such thing as two.

Aaron

  • Posts: 356
Re: Wedge & SEO
« Reply #47, on April 9th, 2011, 11:56 PM »
Quote from Nao/Gilles on April 9th, 2011, 01:12 PM
@Aaron> You know, it's just a matter of stripping out the unsafe characters from URLs (#, /, things like that) and leaving out the rest... Since the matching is done in UTF mode, it does leave complex characters in the URL as expected. ;)
Ah, you're keeping the URLs in unicode, then? The most semantically correct option, I guess. :)
"The entire British Empire was built on cups of tea … and if you think I'm going to war without one, mate, you're mistaken."

Nao

  • Dadman with a boy
  • Posts: 16,061
Re: Wedge & SEO
« Reply #49, on April 10th, 2011, 12:14 PM »
Also, with URLs always containing the topic ID, getting a wrong topic title (through incompatible charsets or things like that) is still okay, you don't "lose" it. You may end up with a 404 error if trying to visit a board with complex chars, though. Haven't looked into that (much).

Aaron

  • Posts: 356
Re: Wedge & SEO
« Reply #50, on April 10th, 2011, 12:18 PM »
Indeed. Would be nice if you'd do a 301 redirect to the proper URL in such cases, btw. :)

Nao

  • Dadman with a boy
  • Posts: 16,061
Re: Wedge & SEO
« Reply #51, on April 10th, 2011, 12:24 PM »
When the topic title is different from the actual current one...?
I don't know, hmm how do I make sure a string is equivalent to another, whatever the format they're in...? urldecode() first I suppose, then...

Aaron

  • Posts: 356
Re: Wedge & SEO
« Reply #52, on April 10th, 2011, 02:21 PM »
Well, if you're already generating a canonical url for each page, you could compare against that, I suppose... SMF has loads of duplicate urls though -- not sure how much of them you lot have tackled already, but they might result in a few extra (unwanted?) redirects...