Tagged: breadcrumbs, child category
-
AuthorPosts
-
April 17, 2016 at 10:22 pm #615925
Hi, Enfold Expert,
I was assigning child category to my posts, but when i checked my posts in search engine it show breadcrumb.
Example of one Post:
my parent category is “Blogger Template” and i crated child categories
screenshot: http://prntscr.com/ath7vh
Now when i assign child category to any post, it is then showing breadcrumb in search engine:
Check the same post in search engine:Screenshot: http://prntscr.com/athasl
Note: please don’t suggest me, that not to use child-categories its important to me, and yes, also don’t say, to remove the above breadcrumb wrapper. like this: http://prntscr.com/athdf3
Please give me solution, so that i assign the same child category and it show url not breadcrumbs in search engine, like for my recent posts i did not assign child category and thats posts show url in search engine, but for all posts where i assign child category it show breadcrumbs. I also did not use yoast breadcrumbs i disabled that already.
Summary: i will assign child category, and will use the breadcrumbs navigation/wrapper too, but not to show the breadcrumbs in search engine. It should be the post url in search engine.
I hope someone will resolve my problem.
- This topic was modified 8 years, 7 months ago by hamzakhankhan. Reason: update title
April 19, 2016 at 8:46 am #617215Hi Hafeez Ullah!
Thank you for using Enfold.
This is how google indexed or crawled the page and we can’t do anything about it. The only way to remove the breadcrumb trail in the SERPs is to disable the breadcrumb container itself. You can do that in the page’s Layout > Title Bar Settings settings. After disabling the breadcrumb, go to your google webmaster dashboard then resubmit your sitemaps or let google re-crawl the page.
https://support.google.com/sites/answer/100283?hl=en
https://support.google.com/webmasters/answer/6065812?hl=enCheers!
IsmaelApril 19, 2016 at 8:56 am #617222Hi, Ismael,
There is must option in the Enfold theme, because same child category i uses on my other site. where i activated “MEGATRON wordpress theme” i used the same, breadcrumb navigation, child category and the posts are showing url in serp.
my that site is here: templatelib[dot].com
Megatron uses the same funcationality like frontpage etc etc like enfold.
So, why that theme show url not breadrumb in SERP even i uses child-category and navigation wrapper of breadcrumb.
April 20, 2016 at 10:03 am #618117Hey!
It’s because the breadcrumb in the other theme does not have a structured data needed to make google rich snippet work. Adding this code in the functions.php file might work:
add_filter('avia_breadcrumbs', 'avia_breadcrumbs_mod', 10, 1); function avia_breadcrumbs_mod($breadcrumb) { $breadcrumb = str_replace('xmlns:v="http://rdf.data-vocabulary.org/#"', '', $breadcrumb); $breadcrumb = str_replace('typeof="v:Breadcrumb"', '', $breadcrumb); return $breadcrumb; }
Ask google to recrawl the page.
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.