SiteCozy

  • My account

How to remove the duplicate description error related to paginated page in Genesis

2018-08-09

The genesis theme copies the meta description on every paginated page resulting in errors at the google search console. To avoid it, we suggest to remove the meta description from inner paginated pages.

Add the following to a wordpress plugin:


function bloup(){
if (is_paged()){
remove_action( 'genesis_meta','genesis_seo_meta_description' );
}
}
add_action( 'template_redirect', 'bloup',10);

This code checks if the actual web page is a paginated page. If it is true, it removes <meta name=”description” content=””>

Meanwhile, it will not remove the meta name description from the first page of a category or a page or a post.

Related Posts:

  • SEO plugins for wordpress can be USELESS
  • Canonical tag for paginated WP category pages - what to do?
  • The best settings for All-in-one SEO WP plugin
Download our Broken link checker freeware here Buy a license key for the Sitecozy broken link checker

Customer Login

Lost password?

Categories

  • Webmaster advice
  • SEO advice
  • Web hosting
  • SiteCozy link checker KB
  • WordPress theme & plugin reviews
  • All articles
Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We test each product thoroughly and give high marks to only the very best. We are independently owned and the opinions expressed here are our own.

Copyright Sitecozy 2018