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".
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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 I write the keywords in the post, with ou without prepositions
Hi, I have heard from many sources about the semantic and grammatical evaluation of google, this raised a question: when I put a keyword in my text should I put it with or without the prepositions? For example "doctor in Miami" or "doctor miami".
Technical SEO | | droliverulson0 -
How to safely syndicate blog posts in LinkedIn Company page
We currently post our new blog post on our company profile (in Linkedin) immediately after publishing on our company blog. Is this running the risk of duplicate content? My colleague pastes the new posts URL into (I've given an example using my own site - ironically about Panda)! Does this run the risk of creating duplicate content? I've tried searching for indexed pages in Google for past posts and only find the originals (no URLs for the LinkedIn domain). I've got a bit confused about the whole subject having read Neil Patel's excellent article on "...syndicating content without screwing up you seo"! Thank you 🙂 10FpxLP 10FpxLP
Technical SEO | | Catherine_Selectaglaze1 -
Unfamiliar Meta Description Tags
I'm working with a client who uses a CMS which loads meta tags into their site through its backend. On-page I see this in the source:
Technical SEO | | medtouch0 -
Unnatural Links on Forum Posts
Google responds to my reconsideration request. They give me like 2 links of the many unnatural links which are actually people mentioning our website in their conversation. How can that be unnatural, legitimate people discussing about our website services? Even if it's unnatural, how can I possibly remove a backlink from a forum post?
Technical SEO | | Droidman860 -
Are nofollow, noindex meta tags healthy for this particular situation?
Hi mozzers, I am conducting an audit for a client and found over 200 instances using meta tags(nofollow, noindex). These were implemented essentially on Blog pages/category pages, tags not blog posts which is a good sign. I believe that tagged URLs aren't something to worry about since these create tons of duplicates. In regards to the category page, i feel that it falls in the same basket as tags but I am not positive about it. Can someone tell me if these are fine to have noindex, nofollow? Also on the website subnav which are related to the category pages mentioned prev, the webmaster have implemented noindex,follow(screenshot below), which seems ok to me? am i right? Thanks 8egLLbo.png?1
Technical SEO | | Ideas-Money-Art0 -
What can I do about missing Meta Description for category pagest etc.?
On all my campaigns I'm returning high levels of 'Missing Meta Description Tags'. The problem with fixing this is they're all for category, tag and author pages. Is there a way to add a meta description to these pages (there are hundreds) or will it not really have any ranking effect?
Technical SEO | | SiliconBeachTraining0 -
Why is there 4 lines in competitors meta description in SERP?
Hi there, I have noticed several sites now display 4 lines of meta description in Google. Has anyone else seen this? Any help would be appreciated...thoughts? Barry
Technical SEO | | HaymarketMediaGroupLtd0