Wordpress Shortcodes Showing in SERPs
-
We use some Wordpress shortcodes in our theme and they aren't in the meta description at all. For certain queries, the shortcodes show on the SERPs when Google chooses the description for us -- is there any way to clean this up or prevent it?
It's annoying because it includes the entire shortcode, not the markup that gets generated as a result of the shortcode...
-
Well that's interesting - I see the code for the tags - it's coming out of this class:
id="subgenre-tags-raw" style="display:none">
I also see that you have a meta description - this is a stumper!
Why not head over to the google webmaster forum and reach out! I'd be very interested to see what they say!
-
Sorry for the slow reply -- out of town for the holidays.
Everything loads fine on the page, it's just the snippet on the SERP that is goofy.
-
Do you have an example of this?
From what I can gather it sounds like a php execution problem if markup isn't being generated...a function isn't being called correctly.
Also, meta descriptions aren't by default very useful in WP. I've had to modify themes to use custom meta descriptions on the homepage, categories, and tag pages.
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
-
Branded keyword results meta description is different then long tail branded search term in SERP
Search "Venturize", the first result is Venturize with the
On-Page Optimization | | WWWade
description "Get help on finding the right loan for your small business
and learn what to look for when comparing your options." However, if you Google "Venturize opportunity finance network", the
first result is Venturize with the description "Playing:360p@30. Embed
size: CDN:fastly. Open link. Twitter · Facebook · About Venturize ·
Contact · About OFN · Mission-Driven Lenders: Locator Map." Why is Google not taking the meta description in the longer tail search? I have checked: All of google's indexed pages for the website- A 3rd party crawl of the website- Multiple other keyword combinations Nothing produced the same result or indicated a reason why "Venturize opportunity finance network" has the incorrect meta description in the SERP.any ideas?0 -
Wordpress duplicate titles - can't find original title tags
I added new code to rewrite the page titles <title><?php wp_title(''); ?></title> But I can't find the normal title tags in the Header PHP file in editor so I now have duplicate titles tags in the source code This is the code - can't see what else would be titles? This is the website ... http://apexgenerators.co.uk/ <title><?php wp_title(''); ?></title> eFavIcon(); ?> eCSS(); ?> enabled('Theme')) { ?> http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic" />
On-Page Optimization | | lauratagdigital0 -
Wordpress & trailing slash on domain name
Hi recently changed my site so it is based on Wordpress, got my preferred domain set in Google webmaster as www.domian.co.uk but since moving to wordpress my domain is now having a slash put on the end of it like www.domain.co.uk/ Most of the links going to my homepage do not have the slash on the end so am I right in thinking I should get rid of the slash from my site so I have one consistent url? If so any ideas how to banish the slash? Cannot seem to do it through the Wordpress general settings (despite preferred domain being set as www.domain.co.uk !) Thanks T
On-Page Optimization | | Jon-C0 -
The actual title tag is different from the one showing in SEOmoz
Hello all I was looking at the crawling report for my project, I have noticed that there are so many duplicate titles in the "Duplicate Page Title" report, I checked the title tag for one of the titles (for this page) manually (in the page code), and it was showing like this: <title></span><span>Interviews | TechSparks</span><span></title> where it's showing in the "Duplicate Page Title" report like this: Interviews | TechSparksEasyRotator Preview Hovering over the tab in the browser shows the title as I mentioned first, and searching Google for this page shows the title like the first one I mentioned too. Do you any clue why that is happening? fUbtXe6 fUbtXe6.png
On-Page Optimization | | MHD0 -
Pages that show in Open Site Explorer that show as 404's in search
When I use Site Explorer to find our Top Pages there are a whole series of pages like this: http://www.nile-cruises-4u.co.uk/mybestbets/mybestbets-culture.html which I think were created when we had a Bulletin Board on the site. Although they are showing in the Top Pages results when you visit the page you get the following error message: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. What implications result from these pages still showing in results and what action should we take without messing up our search rankings? Any advice would be gratefully received.
On-Page Optimization | | NileCruises0 -
In my report of my website it was indicated that I had 19 links/locations blocked by meta-robots. What does this mean and how do I fix it. My website is a Wordpress website.
In my report of my website it was indicated that I had 19 links/locations blocked by meta-robots. What does this mean and how do I fix it. My website is a Wordpress website.
On-Page Optimization | | cyaindc0 -
Wordpress when to use posts or pages
Hi Guys, I have a network of EMD sites that currently use a homepage and then we have a blog page which has 5-6 posts on. Is this the best way to do it with sites under 10-20 pages? Or should we create say 3-4 new pages/categories and drop the posts relevant to each page/category in there? Thank you Jon
On-Page Optimization | | imrubbish0 -
URL structure for a new WordPress site
Hi I'm building a new next big thing website from scratch (for a translation agency) and I encountered an issue with the URL structure. I need to chose the URL for important targeted keyword pages and I have a conflict between two tools I'm using. Please read below the situation: domain: mashtranslation.com target keyword: french translation services which URL you think is better from a SEO point of view (and possibly for users): mashtranslation.com/services/french/ OR mashtranslation.com/french-translation-services/ I'm asking this because one WordPress plugin (Wordpress SEO by Yoast) says the URL structure is not optimised while another tool (Market Samurai) says the URL is optimised.
On-Page Optimization | | flo20