Fix Duplicate Meta Description Error in Webmaster tool HTML Improvements - Search Console |
Also check: 15 Quick-Tips to Improve SEO Ranking That'll Generate Huge Traffic To Your Site
Fix Duplicate Meta Description Error Showing Search Console
No need to go into details about how does google search work and how Google search architecture detects these errors. There is simple solution to get rid of this error. Your google webmaster tools find duplicate meta descriptions in your blogger or Wordpress website. You just need to fix pages with duplicate meta descriptions.Step 1: Edit Custom robots.txt
- Check your ROBOT.TXT file. Go to http://www.yoursite.com/robot.txt
- Edit robots.txt in blogger: Go to My Blogs >> Search preferences >> Crawlers and indexing >> You will find the option for 'Custom robots.txt'
- Click on edit and paste the following text into it.
- Now save changes and check & verify robots.txt again.
User-agent: Mediapartners-Google*
Allow: /
User-agent: Googlebot-Image
Allow: /
User-agent: Adsbot-Google
Allow: /
User-agent: Googlebot-Mobile
Allow: /
User-agent: Twitterbot
Allow: /
User-agent: *
Disallow: /search
Disallow: /cgi-bin/
Allow: /
User-agent: *
Disallow: /*.html
Allow: /*.html$
Sitemap: http://www.yoursite.com/atom.xml?redirect=false&start-index=1&max-results=500
[Change http://www.yoursite.com/ with your own domain]Allow: /
User-agent: Googlebot-Image
Allow: /
User-agent: Adsbot-Google
Allow: /
User-agent: Googlebot-Mobile
Allow: /
User-agent: Twitterbot
Allow: /
User-agent: *
Disallow: /search
Disallow: /cgi-bin/
Allow: /
User-agent: *
Disallow: /*.html
Allow: /*.html$
Sitemap: http://www.yoursite.com/atom.xml?redirect=false&start-index=1&max-results=500
Here you can also add your sitemap as http://www.yoursite.com/sitemap.xml
Step 2: Edit Custom robots header tags
Just below the 'Custom robots.txt' option there is option for 'Custom robots header tags'Click on edit and make the changes as shown in below pic.
Step 3: Edit each post description from blogger HTML
- Go to HTML of your website.
- Find<meta expr:content='data:blog.metaDescription' name='description'/>
- And replace it with following code: <!-- Fix Duplicate Meta Description Error from Webmaster tool Search Console -->
<b:if cond='data:blog.pageType != "index"'>
<b:if cond='data:blog.pageType != "item" and data:blog.pageType != "static_page"'>
<b:if cond='data:blog.metaDescription != ""'>
<b:if cond='data:blog.url != data:blog.homepageUrl'>
<meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>
</b:if>
</b:if>
</b:if>
<!-- Fix Duplicate Meta Description Error from Webmaster tool Search Console -->
All above steps help you to remove duplicate meta description warnings and it will be fixed after your pages get re-indexed again on Google Webmaster tool. Check your search console after few days and let me know your website results via comment section shown below.
1 comments:
Enlighting post! I really like and appreciate your effort, thank you for sharing such a useful knowledge about google search console strategies, hear i prefer some more information to build your career in digital marketing by DoDigital
EmoticonEmoticon