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 (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.

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

Most Popular Posts

how to shake a div using jQuery

Posted on 11 years ago

Bhumi

How BlockChain and Ethereum works?

Posted on 6 years ago

Bhumi

How to Create a Zip File In PHP

Posted on 11 years ago

Bhumi