{"id":162,"date":"2014-05-13T15:25:01","date_gmt":"2014-05-13T15:25:01","guid":{"rendered":"http:\/\/www.psldesigns.com\/web-designs\/?p=162"},"modified":"2014-07-28T15:09:20","modified_gmt":"2014-07-28T15:09:20","slug":"quotes-in-meta-tags","status":"publish","type":"post","link":"https:\/\/www.psldesigns.com\/web-designs\/quotes-in-meta-tags\/web-design-tips\/","title":{"rendered":"Quotes in Meta Tags"},"content":{"rendered":"<p>So, you are seeing strange results on you webpage &#8230; your meta description is showing on the page and it shouldn&#8217;t &#8230; what gives?\u00a0 Maybe you recently added schema.org tags to your site and now those are showing on the page and shouldn&#8217;t &#8230; what is going on?<\/p>\n<p>A common issue that can cause text to show up on your website that you don&#8217;t want is the use of quotes.\u00a0 Let us look at the meta description tag.\u00a0 It commonly looks like this:<\/p>\n<p>&lt;meta name=&#8221;description&#8221; content=&#8221;Here is my description for Google SEO.\u00a0 I sure hope Google finds me!&#8221;&gt;<\/p>\n<p>Now let&#8217;s say you have a quote in the content of your tag, like this:<\/p>\n<p>&lt;meta name=&#8221;description&#8221; content=&#8221;Blue Ball.\u00a0 10&#8243; diameter. $4.50.&#8221;&gt;<\/p>\n<p>This will cause a problem with the meta tag because the quote after diameter actually closes the quote after the content=.\u00a0 Herein lies the problem.\u00a0 So we really want a quote as it means inches in this case.\u00a0 What can we do?<\/p>\n<p>Use the HTML code for quote:\u00a0 &amp;quot; .\u00a0 Yes, this looks strange, but it will solve your problem.\u00a0 Your meta tag should now look like this:<\/p>\n<p>&lt;meta name=&#8221;description&#8221; content=&#8221;Blue Ball.\u00a0 10&amp;quot; \u00a0diameter. $4.50.&#8221;&gt;<\/p>\n<p>Have tons of products in a spreadsheet &#8230; do a find and replace on the column that needs it.<\/p>\n<p>Use this method in ALL your meta tags to stop any unforeseen problems.\u00a0 :O)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, you are seeing strange results on you webpage &#8230; your meta description is showing on the page and it shouldn&#8217;t &#8230; what gives?\u00a0 Maybe you recently added schema.org tags to your site and now those are showing on the page and shouldn&#8217;t &#8230; what is going on? A common issue that can cause text &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.psldesigns.com\/web-designs\/quotes-in-meta-tags\/web-design-tips\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Quotes in Meta Tags&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/posts\/162"}],"collection":[{"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":1,"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":163,"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/posts\/162\/revisions\/163"}],"wp:attachment":[{"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.psldesigns.com\/web-designs\/wp-json\/wp\/v2\/tags?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}