[SOLVED] BUGFIX: single quote shows as HTML code browser tab when SEO is on
I've seen something about this somewhere on this forum but couldn't find the thread. When I turn on the SEO built into Atahualpa I get screenshot 1. Screenshot 2 is with the built in SEO off. Any ideas?
Screenshot 1 Attachment 462 Screenshot 2 Attachment 463 |
larry,
what plugin are you using to get that tab? What's teh URL? (if you need to keep it private, send me a PM with the URL) |
No plugin Paul. If I turn on the built in SEO in Atahualpa that is what I get in Firefox. The site is being built so I will PM you with a login if you want to view it.
|
This is being caused because both WordPress and Atahualpa are converting special characters in the title to the HTML equivalent. WordPress would convert a single quote to '& # 8 2 1 7 ;' (extra spaces added so it won't convert it here) and when Atahualpa processed it again, it was changing the '&' into a '&' so the single quote now looked like this '’' which isn't a proper HTML code thus displaying improperly.
To fix this edit bfa_meta_tags.php and find line 71 (in version 3.4.6) which should be HTML Code:
$bfa_ata_page_title = htmlentities(single_post_title('', false),ENT_QUOTES,'UTF-8'); HTML Code:
$bfa_ata_page_title = single_post_title('', false); ===================== 7/9/10 NOTE: this did not get fixed n 3.5.1 - see http://forum.bytesforall.com/showthr...6521#post36521 for a fixed copy of the code. |
All times are GMT -6. The time now is 03:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.