Duplicate content is a wound to your blog; a parameter should not be overlooked for SEO...

Will you take The Same?
Definition: duplicate content refers to the same content on two different URLs. The best known and most obvious is plagiarism or theft of content, but it also happens unintentionally, that the same page can be accessed by several different addresses on his own blog:- /mysite.com/mycategory/myarticle/
- /mysite.com/tags/mynarticle/
- /mysite.com/myarticle/
- /mysite.com/myarticle/
- /mysite.com/myarticle/?replytocom=21493
- /mysite.com/myarticle/?replytocom=21523
- /mycategory/
- /mycategory/page/2/
- /mycategory/page/3/
How to Limit The Duplicate Content?
The Visible Measures
The first thing to do is to limit the list of your latest articles, best articles, etc ... on your sidebars and your footer, indeed they are often already present in the home, so no need to produce duplicate content by weight.Remember to limit/truncate your items placed on the home page (think tag More, excerpt, etc...), this will prevent duplicate content between it and your articles.
The eradication ?Replytocom
Nothing is easier, if you use the plugin SEO by Yoast, visit SEO >> Permalinks and select "Delete variables?replytocom".This prevents responses handled run when the user has JavaScript disabled, but on a large site this can be a huge improvement in the efficiency analysis for the search engines when you have a lot of feedback and this limits the duplicate content.
Use The No Index And Follow
Consider your Settings Meta Site and do not index subpages archives, if you want to avoid/page/2/ and the following archive, appear in search results, select this option from the plugin via Yoast SEO >> General.Also on SEO by Yoast, the Securities & SEO >> meta >> taxonomies menu, check the "meta robots: noindex, follow" categories, keywords and format. At the same place, since the other tab for the archives of the author and dates, check the "noindex, follow" boxes and "Disable archives."
If you have a site with a single author, archive section the author will always be similar to the home page. And even if you have no link to this section, others might do that will because you harm. Disable this section; you can be sure that the links will be redirected to this section (301) to the home page.
For the record date, the same principle applies: they are probably very similar to your home page, and can therefore be considered duplicate content.
Here is the version without the plugin, insert this code into your <head> & </ head> in the header.php file, will tell the robots you want to index your homepage, your articles, pages and categories, but prevent indexing of all other pages (RSS, archives, etc.):
<?php if((is_home() && ($paged < 2 )) || is_single() || is_page() || is_category()){Note: $paged variable is the corresponding page number in case of pagination.
echo '<meta name="robots" content="index,follow" />';
} else {
echo '<meta name="robots" content="noindex,follow" />';
}
No Index On The Search Results
A result of WordPress search looks like this: /johnnygagnon.com/s=xxxxx. You can remove the indexing of these search results by placing the following code in your <head> in the header.php file:<?php if ((is_search()) || (is_tag() )) { ?>
<meta name="robots" content="noindex,follow"/>
<?php } else { ?>
<meta name="robots" content="index, follow"/>
<?php } ?>
Avoid Duplicate Content From The Archives Categories
Level SEO and natural search, it is disadvantageous to have a page that contains exactly the same items in the same order, and with the same extracts, this bug has been known for several months WordPress developers Rebug and then corrected for over a year, nothing has changed...Note that the bug is not present if you do not use the structure of permalinks, so /?cat=2 cannot reproduce the bug.
add_action('wp', 'baw_non_duplicate_content' );
function baw_non_duplicate_content( $wp )
{
global $wp_query;
// If the category name is found between the different game and rewrite the variable queried, then redirects
if( isset( $wp_query->query_vars['category_name'], $wp_query->query['category_name'] )
&& $wp_query->query_vars['category_name'] != $wp_query->query['category_name'] ):
// The correct URL where it replaces the category queried by his real name
$correct_url = str_replace( $wp_query->query['category_name'], $wp_query->query_vars['category_name'], $wp->request );
// Redirection 301
wp_redirect( home_url( $correct_url ), 301 );
// Always die() after a redirect
die();
endif;
}
Duplication In The Pages Of Categories
The main problem categories is that they show a list of items in the same order as the home page, one of the simplest ways to avoid duplication is to use a description of the said category.This is a good solution but how to prevent this description is repeated on the following pages if paging? This code to insert into your category.php file, solve the problem.
Replace:
if ( ! empty( $category_description ) )by
if (!empty($category_description) && $paged == 0)
Reminder: When you install WordPress, make sure that you have chosen your internal structure, categories or tags, how can I believe, is useful for my readers and try as much as possible, limit your keywords...
0 comments:
Post a Comment