Meta Description for ALL my Posts is Being Overwritten!
-
Every single one of my posts meta descriptions are being overritten with the same meta description!
I use Yoast and have proper meta descriptions in my posts, but something seems to be overriding them.
Any idea what could be causing this?
Thank you!!!
- Mike
-
Hey Mike. Not to fret, this is actually a common silly mistake in theme development. The meta description shouldn't be set in WordPress theme because that is handled in the wp_head function. This function is where Yoast, and other plugins, hook into to deliver all the SEO optimized meta and header tags.
-
This is wrong, but right. This is a theme problem. The blog description is a description for the blog website as a whole, and not a description for the page. In Wordpress, you should not set a meta description explicitly in the theme file. That's the job of the wp_head, especially if you are using an SEO plugin to manage your descriptions. It's a common mistake that is easily remedied as evidenced by his reply.
-
The string 'get_bloginfo('description')' spawns the blog description stored in wordpress under settings. But that shoud'nt cause issues with different setup descriptions per page while using a SEO plugin on wordpress. It's more of a theme issue i think because normally that shoud'nt happen.
I woud'nt worry alot about it either; google tends to ignore the description sometimes too and focusses on the actual content on page.
-
Thanks for all the responses!
I did remove the code and it seems to have solved the problem. Now I just don't know if any other different issues could have popped up from removing that code. So the problem seems to be fixed - I'm just sitting a bit in the unknown in terms of if the change had any other unwanted repurcussions.
- Mike
-
Yes and by removing that shortcode you completely remove the description from the blog. But a description is'nt something google takes into account alot now these days. It can actively read the content on your website or page, and align that within search. I mean i have sites that are completely ignored due to the description tag.
It's like meta name keywords all over again.
@Naturalsociety, if you switch the theme to something temporarily, does it appear back again? If so; you have a theme issue.
-
Sounds like a WordPress issue. I suspect there is a meta description defined in your theme file. Check that isn't the case.
It will look like this or very similar:
get_bloginfo('description')
Get rid of the whole meta tag that contains this php code.
If you are unsure how to find this, it will most likely be in your theme's header file. You can find this by going to the theme's folder and look for header.php.
You can also do this through the WordPress Dashboard > Appearance > Theme Editor. On the right hand side select the "Theme Header".
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Should products descriptions be made in to blog posts?
Howdy, Here's a situation I got myself into. For the past few months, I've been planning to start up an e-commerce business. I've got my homework done - created product design, wrote value-adding product descriptions and a few regular blog posts in order to start providing content right away. Recently, I've got some news that the product I was about to sell won't be arriving for at least a month longer. Here's what I am considering: In order to make the start of the business smoother and gain attention quicker, it would make sense to start building a presence in advance. What I am considering now is instead of using the product descriptions I have for their original purpose, I could make them into a handful of blog posts with WordPress. I am relatively sure that with proper promotion, people would find them interesting, as they answer common industry questions in a unique, entertaining way. However, I am not sure what implications would such move have for my business in the longer term, especially when it actually starts selling products. I would switch to the Shopify platform, which would probably mean I would have to transfer my blog posts onto another platform? Maybe I should just wait till I have all my products ready and stick with the plan, instead of using the content I have for the blog right now? If I should indeed go through with the blog first, what content would I later put in the product descriptions and what are the possible SEO consequences? I hope it is at least somewhat clear what my situation is. Thank you in advance for the help.
Technical SEO | | Algenic0 -
JSON-LD meta data: Do you have any rules/recommendations for using BlogPosting vs Article?
Dear Moz Community. I'm looking at moving from in-line Microdata in the HTML to JSON-LD on the web pages that I manage. Seems a far simpler solution having all the meta data in one place - especially for trouble shooting! With this in mind I've started to change the page templates on my personal site before I tackle the ones for my eCommerce site. I've made a start, and I'm still working on the templates producing some default values (like if a page doesn't have an associated image) but have been wondering if any of you have any rules/recommendations for using BlogPosting vs Article? I'd call this type of page an Article:
Technical SEO | | andystorey
https://cycling-jersey-collection.com/browse-collection/selle-italia-chinol-seb-bennotto-1982-team-jersey Whereas this page is from the /blog so that should probably be a BlogPosting:
https://cycling-jersey-collection.com/blog/2017-worldtour-team-jerseys I've used the following resources but it would be great to get a discussion on here.
https://yoast.com/structured-data-schema-ultimate-guide/
https://developers.google.com/search/docs/data-types/data-type-selector
https://search.google.com/structured-data/testing-tool/u/0/ I'm keen to get this 100% right as once this is done I'm going to drive through some further changes to get some progress on things like this: https://mza.bundledseo.com/blog/ranking-zero-seo-for-answers
https://mza.bundledseo.com/blog/what-we-learned-analyzing-featured-snippets Kind Regards andy moz-screenshot.jpg1 -
H1 Tags the same as Title Tags and other meta questions
I run an ecom store that has about 800 live products. When everything got set up, no one set up the title tags correctly. So I am going through to update them in bulk. What I was going to do was to take the product name (which serves as the H1 tag), use that with a postfix | CompanyName. If length is an issue I trim it down. But the question is, will having essentially duplicate information in here be an issue? Also, when someone was setting up meta descriptions, they often used basically the product name or a half sentence. Would it be better to remove the descriptions and allow google to decide? I even had some that were literally just the brand name of the product, which I already removed.
Technical SEO | | ShockoeCommerce0 -
Are descriptions in Social Media Accounts seen as Duplicate Content bt SE?
Hello, I was wondering: If someone (like me) has same or very similar description for all social accounts (eg google plus, linkedin, etc also considering less famous or more specific accounts) profiles, will it be considered as duplicate content by search engines? And what if the content and description will be similar also to the one in the website? Will this be duplicate for the website? Thank you!
Technical SEO | | socialengaged
Eugenio0 -
How are meta tags added once campaign has been set-up?
Once a campaign has been set-up in SEOmoz how can additional meta tags be added? I have not found a simple method to making this happen. Please advise.
Technical SEO | | ScottClark350 -
How to avoid duplicate content penalty when our content is posted on other sites too ?
For recruitment company sites, their job ads are posted muliple times on thier own sites and even on other sites too. These are the same ads (job description is same) posted on diff. sites. How do we avoid duplicate content penalty in this case?
Technical SEO | | Personnel_Concept0 -
Feedburner - Why Sending My Blog Posts A Day After I Post Them?
I have my feed setup through feedburner for my wife's blog ktlouise.com. Whenever she posts a new blog post, it doesn't get emailed to her subscribers until the next day. Does anyone know how to change this so that the updates go out the same day? Thanks for the help! REF
Technical SEO | | FergusonSEO0 -
Many items with similar descriptions showing up as duplicate page titles
Hi, We are just a small company trying to understand this seo business. :O) I hope you will give us your input on how we look and how we can improve. www.bakerbay.com Each week I go down the seomoz crawl and change the duplicate page titles it increases the duplicate page content. Then the next week it seems to find other titles that have been fixed that are afluwie now. Please help. We are a bead company and alot of our products have a similar description but have different colors and items numbers. Could you please advise me on how to fix these errors and increase our ranking? All the Best, Beth
Technical SEO | | BakerBayBeadCo0