You are here:  » search engine question


search engine question

Submitted by philstone on Mon, 2006-08-21 07:54 in

Hi Dave

the code you gave me a while ago works great for including the lowest cost in the title page, but the results are starting to get picked up in search engines and look like this for example

LG 50PX4D from &pound1950.54 @ Buy24-7.net Price Comparison

but when on the page the title lookks like this

LG 50PX4D from £1950.54 @ Buy24-7.net Price Comparison

what would fix this problem?

Regards

phil

Submitted by support on Mon, 2006-08-21 08:34

Hi Phil,

That's an interesting one - I think the search engine is not honouring the HTML entities in the tag in this case.

Because £ is probably safe enough to have in the title tag without the correct entity; I would remove the £ entity from your code and just use the £ character directly. That should do the trick!

Cheers,
David.

Submitted by philstone on Mon, 2006-08-21 10:07

Hi Dave

Done that, but look at the page now, the source code uses £, but everywhere on the page £ is ?

try this page LG 50PX4D

thanks

Submitted by support on Mon, 2006-08-21 10:57

Hi Phil,

Did you make the change in config.php in the $config_currencyHTML value?

What's happened there is the £ is actually iso-8859-1 encoded, whereas your site using the utf-8 character set. If this is the case you will need to change $config_currencyHTML back to "£"; and we need to look at another way of fixing up the title...

Let me know once the rest of your page is back to normal and meanwhile i'll have a think about what to do in the title.

Incidentally; is it just one particular search engine that is not displaying the £ correctly - with others displaying it as normal?

Cheers,
David.

Submitted by philstone on Mon, 2006-08-21 13:28

Hi Dave

i changed the character set to iso-8859-1 and all seems to work ok, does that sound ok? or would i need to make other changes?

Phil

Submitted by support on Mon, 2006-08-21 13:38

That should be fine - if you're not using any feeds with extended characters (e.g. accented characters) then you can safely use either utf-8 or iso-8859-1.

Cheers,
David.