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 £1950.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
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
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.
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
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.
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.