Daily Blogger

WordPress Excerpt Seo Tips

Posted on: 20/07/2010

  • In: Blogs
  • Comments Off on WordPress Excerpt Seo Tips

WordPress blogs have duplicate content issues, and one of them is allowing reading the same content on both the posts, index page, archives and categories pages. To avoid search engine penalty it is important to optimize your WordPress using WordPress excerpt so that duplication will be avoided.

Instead of duplicating the whole content, you may use just an excerpt in the index, archives and categories pages. The WordPress displays the excerpt of the current post with […] at the end, which is not a “read more” link. If you do not provide an explicit excerpt to a post (in the post editor’s optional excerpt field), the first 55 words of the post’s content are used.

To use WordPress excerpt function, you may replace the_content() tag with the_excerpt() when on archive (tested by is_archive()) and category (is_category()) pages and index (is_home()) page in WordPress themes.

Now that you are in the correct section, locate the following piece of code:

 

 

Of course, this example uses the WordPress default template, but the same code can be used on most any template if you find the index.php or main index page and the spot where is in the code.You are going to replace that entire piece of code with the following:

Advertisements

RSS Unknown Feed

  • An error has occurred; the feed is probably down. Try again later.

链接


Promote Your Blog

Add this page to SheToldMe.com

July 2010
M T W T F S S
    Aug »
 1234
567891011
12131415161718
19202122232425
262728293031  

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 143 other followers

Archives

Top Rated

Blog Stats

  • 32,100 hits
%d bloggers like this: