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.

Share:
Share on Facebook0Share on LinkedIn0Tweet about this on TwitterShare on Google+0Buffer this pageDigg thisShare on Reddit0

Comments (9)

  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. Any trick for blogger bro ??

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

  5. Thanks Bhumi it works for me 🙂

  6. Herbie Gonora says:

    Thanks bhumi! it worked for me

Leave a Reply

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

Most Popular Posts

How to Add Tag in WordPress

Posted on 5 years ago

Bhumi

How to add custom post type in RSS Feed?

Posted on 4 years ago

Bhumi

Facade implementation in Laravel

Updated 1 month ago

Bhumi

MySQL coalesce() function

Updated 18 years ago

Bhumi

How to use JavaScript Promise API?

Updated 18 years ago

Bhumi

What are Lambdas and Closures in PHP?

Updated 18 years ago

Bhumi

The Reader’s Poll – June 2015

Posted on 2 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 3 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 3 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 4 years ago

Bhumi