Back to Top

How to Fix Duplicate Title Tags and Meta Description on WordPress

php duplicate title

Search Engine Optimization (SEO) in the process of writing the page title is the most important aspect, which directly affects the relevance of the theme of the page and the user hits. A good title is not only able to get ranked in the search engines and traffic, but also to attract more users to click to come in to browse.You can use Google Webmaster Tools to analyze your website and improve it over search engines.

Recently, I was looking for something in Google Webmaster Tools and suddenly found that my sites were facing the Duplicate Title Tags and Meta Description issue for paginated pages.I am using WordPress blog with SEO plugin so how it is possible that paginated WordPress blog page setup problems?.This creates a negative effect on search engine ranking due to the same title and meta description being used on all pages.

Nowadays, WordPress is a preferred solution for anyone who wants to develop site especially to create a personal blog. Basically, when you use WordPress, you can manage major things via the plugin.You can manage SEO using plugin too.Sometimes, you need to pay more attention to detail.To get to get a good ranking.

Today, We will discuss how to fix to remove duplicate meta descriptions and titles on WordPress Paginated Pages and solve the problem of all pages in the WordPress having pagination with identical titles and meta descriptions.

Duplicate Meta Descriptions and Titles

You can check in Google Webmaster Tool that if your site having duplicate meta descriptions and titles.For that Login to your Google Webmaster Tools->Search Appearance->HTML Improvements. If you do have duplicates,it will look like following screenshot:

meta desc

Here, if you click on the link you will get the list of a page which have duplicate titles and meta descriptions and on a right side, it is the list the total number of the page facing this issue.

Configuring WordPress SEO Plugin

The first step is to configure Titles and Metas in Yoast’s WordPress SEO plugin.

WordPress SEO Plugin Configuration

First of all, install WordPress SEO Plugin if not installed and to configure Titles and Metas in Yoast WordPress SEO plugin.Login to WordPress Admin, Go to WordPress Admin dashboard, navigate to SEO > Titles & Metas and click Post Types tab. Use use %%title%% %%page%% for Title and for Meta Description, use %%excerpt%% %%page%%.After then save the settings.

Now open Functions.php field of your active theme and add the following code snippet.

From the above code, we can see that this title and meta description is duplicated in the absence of adding page numbers and this code will change the page title and meta description according to the page is currently being viewed and also do changes to the search results page.

Now, Ask to google to recrawl your pages and fix Duplicate title tags and meta descriptions for pagination. I recommend that to request a reindex of your site in Google Webmaster Tools by using following steps:

Conclusion

I hope this post will help you to solve duplicate title tags and meta descriptions issue for paginated pages in WordPress. Please share your thoughts and feedback in the comments section below.

Comments (14)

  1. Followed all directions. DID NOT WORK!

    1. It should work!. I have used the same method for my site. Any error in development tool? Try to echo into the function,is it working?

  2. thank you very much for the information … Hope you can help … because I forgot to give the meta description on my article …

  3. Not working. It shows error in header of website, after putting this code.

    1. Have you put code exactly as per tutorial?

  4. hi i have also tried the same code given above, but could not resolve the issue, kindly help.

  5. Any trick for blogger bro ??

    1. No, No trick for blogger or WordPress.com

  6. Thanks Bhumi it works for me 🙂

  7. Herbie Gonora says:

    Thanks bhumi! it worked for me

  8. Imran Ahmed says:

    Hi Bhumi. I have been working on a site with facing similar problems like duplicate Title and Meta descriptions which is happening due to pagination. If you plz advice me how to perform the following that would a great help –

    1. Should I put the page numbers in Meta description using yoast plugin? as you told to do so –

    /** Add Page Number to Meta Description to avoid Duplication **/

    2. Is there any specific place in theme functions.php file where to put the code given in your article?

    3.Do I need to create a new sitemap.xml after performing all the above and submit it to GWMT to recrawl the site?

    thanks in advance.

  9. Akhilesh Kumar says:

    Hello Bhumi,
    I have same problem in my wordpress blog i am not able to fix it can explain in details.
    thanks

  10. Vertex Solution Inc. says:

    Thank you Bhumi for the solution of pagination meta information duplication issue in wordpress. Do you have any suggestions / solution for the developer/programmer who is developing the CMS in core php or using Laravel framework?

  11. Chester Yates says:

    I am looking for some good blog sites for studying. I was searching over search engines and found your blog site.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to use Pagination in CodeIgniter

Posted on 12 years ago

Bhumi

How to use HTML5 Page Visibility API

Posted on 9 years ago

Bhumi

Avoid to use ENUM and SET type in MySQL

Posted on 12 years ago

Bhumi