SEO options spoil my meta tag chars encoding
2 Attachment(s)
Hi,
My website is in Polish, all UTF-8. When I turn Atahualpa SEO options off, page titles show properly. As soon as I switch it on - Polish chars encoding goes wrong. See screens attached. Regards, Piotr |
Could you try a SEO plugin such as "All in one SEO" or "Headspace 2" and see if the same error occurs?
|
Hi,
I emplyed All-in-One before. It solved the encoding problem, but blocked dynamic tags -> Keywords allocation, so I got rid of it. Headspace 2 looks nice. Tags are allocated, chars are encoded properly - I am going to use it. Of course, I will gladly take part in solving the problem anyway. P. |
I'll look into Headspace 2 then to see what he's doing differently. Thanks for trying this out. WpSeo is also considered to be good if your very concerned about SEO
|
Hi,
This only happens for category and search pages and the reason is that functions/bfa_meta_tags.php line 75 and 83 (Atahualpa 3.4.1) doesn't have a charset in htmlentities, which makes it revert back to iso-8859-1 instead of utf-8. I changed the hardcoded lines to this to solve the problem temporary: $bfa_ata_page_title = htmlentities(single_cat_title('', false),ENT_QUOTES,"UTF-8"); and $bfa_ata_page_title = htmlentities(wp_specialchars($s),ENT_QUOTES,"UTF-8 ); Hope this change makes it to a later release. Regards, Magnus Frostlid http://teknikkonsument.se |
I've added that, thanks
|
All times are GMT -6. The time now is 03:18 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.