• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
Daily Blog Tips

Daily Blog Tips

How to make money from your blog

  • Home
  • Popular
  • Contributors
  • About
  • Contact / Advertise
  • Blogging
  • Marketing
  • Design
  • Money
  • Reviews
  • Productivity
  • Software
  • Technology

Use Post Excerpts Everywhere

By Mark Leave a Comment Reading Time: 2 minutes

Google and other search engines penalize sites that have duplicated content. That refers not only to two different sites with the same content but also for a single website that has the same content repeated on many different internal pages.

Once you publish a post on your blog this content will be indexed from the single post page. Many templates, however, will also publish that same post on several other pages like category pages, yearly archives, monthly archives, daily archives, search results and so on.

In order to make sure that you are not incurring any penalty for duplicated content you should make all those pages display only post excerpts instead of full posts. You could even display post excerpts on the Homepage, but make sure your readers would be fine with that first (read more about this on the article “Post Excerpts on the Homepage?”).

The first thing you need to do is to check whether your theme is displaying full posts on the wrong places. Check the category pages, run a search to see how results are displayed and check all the archive pages (add a /2007/ to your blog address and see how the posts are displayed).

If your blog is displaying full posts on pages other than the single post page you will need to fix that. WordPress themes usually have the index.php or archive.php file governing how posts are displayed (but could another file). You are looking for something like this:

Once you find that file you will need to identify where the WordPress Loop starts, which is something like this:

Inside the Loop there is a line making your theme display full posts:

We could just change the line above with the code for post excerpts, but that would make the exercpts to be displayed everywhere including on the Homepage and on the single post pages.

The solution is to use IF clauses to make sure that only specific pages will display excerpts. Basically you want to create an IF for every page type that is supposed to display excerpts, and at the end you will insert an ELSE to make sure that all other pages will display full posts. Here is how the code will look like:

Daniel on April 12, 2023 | Filed Under SEO 

Use Post Excerpts Everywhere Photo

About Mark

Mark is an digital entrepreneur from New York City who recently acquired DBT. He started his ventures buying growing then selling several businesses and content blogs on Flippa. A perfect night for him constitutes pizza, wine, slow jazz and WordPress! He's an SEO expert and a growth strategist. When he's not working on his businesses he enjoys sharing his learned lessons with the DBT community.

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Trending Today

Popular

  • 28 Ways to Make Money with Your Website 514 Comments
  • 43 Web Design Mistakes You Should Avoid 474 Comments
  • 4 Steps to Increase Your Blog Traffic 188 Comments
  • How to Find Advertisers for Your Website 126 Comments
  • Top 25 SEO Blogs 243 Comments
  • 101 Blog Tips I learned 177 Comments
  • 30 Traffic Generation Tips 351 Comments
  • 6 Ways to Speed Up Your Site 51 Comments
  • 9 Hacks to Show Readers Your Best Stuff 21 Comments
  • 50 Simple Ways to Gain RSS Subscribers 145 Comments
  • The Best Website Taglines 127 Comments
  • What Is Success? 57 Comments
  • How to setup a 301 Redirect 52 Comments
  • The 7 Characteristics of Good Domains 76 Comments
  • 7 Ways to Promote your Site 133 Comments
  • Top 25 Celebrity Blogs 44 Comments
  • What Is A Blog? 81 Comments
  • Blog Setup: 40 Practical Tips 57 Comments
  • 10 Tips To Write Your Most Popular Post 79 Comments
  • The Blog Post Checklist 75 Comments
  • Interview: 12 Top Online Entrepreneurs 98 Comments
  • What Is Bounce Rate? 42 Comments
  • 20 SEO Terms You Should Know 28 Comments
  • How To Choose A Blog Name 15 Comments
  • 10 Tips to Sell Your Website on Flippa 37 Comments
  • Top 25 Web Design Blogs 80 Comments

Online business done right. Take your marketing efforts to the next level with tips and resources to get visitors to your website.
As featured
CNBC copyblogger problogger Entrepreneur Lifehacker Hubspot Business Insider Wordpress Showcase
Privacy Policy| Terms of Service | About | Contact

777 Brickell Ave #500-14648, Miami, FL, 33131, US
DBT Logo
DBT is an independent website. The views expressed on this site may come from individual contributors and do not necessarily reflect the view of DBT or any other organization. All Content Copyright ©2006-2023. Daily Blog Tips unless otherwise noted or credited.