Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The yoast wordpress seo plugin puts meta description and meta keywords in single quotes. The issue here is that many old spiders and directory submission sites do not read meta data in single quotes. Also i dont really know if there is any benefit in using single quotes over dobule quotes for meta data. So i am wondering if it is possible to change those single quotes to dobule quotes? Thanks

share|improve this question

closed as not constructive by kaiser, Rarst Nov 21 '11 at 23:08

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
DEFINITIVE duplicate of (Plugin) "Yoast meta descriptions" showing in ' ' instead of " " –  kaiser Sep 17 '11 at 17:00
    
Kaiser - How is that duplication? I am asking HOW to change single quotes to double. Last question was asking to diagnose the problem. –  user8718 Sep 17 '11 at 17:23
    
You can't without directly editing the source of the plugin, which of course is not recommended. I'm curious what spiders this does not work with? They don't follow HTML spec if that's the case. –  Milo Sep 17 '11 at 18:12
    
You are asking more than one Q aside from the Q in the title. And inside your Q you're asking what makes it a dublicate. Second I double @Milo answer. Third: Because of the details provided in your Q it's in large parts not a wp Q. –  kaiser Sep 19 '11 at 20:04
add comment

1 Answer 1

Seriously, I don't know why this thing keeps popping up but: it just works with single quotes, no need to change anything. Need proof? Ok, here we go:

Search for "WordPress SEO plugin". Find my site, yoast.com, it'll be #1 in most cases. See the meta description showing? Click on the "Cached" link, then open the source for the cache. There it is, in full glory, my meta description, as you've just seen in your search results, encapsulated by: single quotes.

This is of course 100% according to standards, see:

Thank you for your time.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.