Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   SEO options spoil my meta tag chars encoding (http://forum.bytesforall.com/showthread.php?t=1345)

PetrosPolonos Apr 20, 2009 03:56 PM

SEO options spoil my meta tag chars encoding
2 Attachment(s)

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.



Flynn Apr 20, 2009 06:19 PM

Could you try a SEO plugin such as "All in one SEO" or "Headspace 2" and see if the same error occurs?

PetrosPolonos Apr 22, 2009 12:50 AM


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.


Flynn Apr 22, 2009 12:53 AM

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

maf Aug 14, 2009 05:25 AM


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");
$bfa_ata_page_title = htmlentities(wp_specialchars($s),ENT_QUOTES,"UTF-8 );

Hope this change makes it to a later release.

Magnus Frostlid

Flynn Aug 14, 2009 06:22 AM

I've added that, thanks

All times are GMT -6. The time now is 11:11 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.