Forum Moderators: open
This results in URLs like
domain.com/blah.php?arg1=34&lang=eng
Both Google and Yahoo are caching these URLs to read
domain.com/blah.php?arg1=34<=eng
Now, I understand that ⟨ is html code for the less than sign that is appearing, but the URL is not terminating with a semi-colon, so I find it more than a little strange. The fact that both Y and G are misinterpreting it is even stranger.
I suppose I could recommend changing the language variable name, but is there a more elegant solution that wouldn't require a back-end change and the complications that come with it?
Thanks,
Naoise
© which gets turned into a copyright sign. This is why the ampersands in all variables in URL links must be encoded as
& - in most cases the browser (or SE bot) can handle unescaped ampersands, but not always. So you need to modify your code to use
& in on-page links (ie. in the HTML) at all times: example.com/blah.php?arg1=34[b]&lang=eng[/b] The W3C validator will show the unescaped ampersands as errors if you validate the generated page. This is actually a good example which shows that search engine bots really do respect standards and prefer valid HTML. :)