May 17, 2012, 01:41:52 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please support SEO4smf further development donating here or use paypal button from left menu.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Please support SEO4smf further development donating here or use paypal button from left menu.
Pages: [1]
  Print  
Author Topic:

Keywords

 (Read 1602 times)
0 Members and 1 Guest are viewing this topic.
Ike Turner
Jr. Member
**

Points: 0
Offline Offline

Posts: 26


WWW
« on: September 19, 2007, 19:58:11 »

Line 1588 of Subs-Seo4SMF.php:
Code:
    //replace numbers
    $keywords = preg_replace('/ [0-9]/', ' ', $keywords);
needs to be:
Code:
    //replace numbers
    $keywords = preg_replace('/[0-9]/', ' ', $keywords);
to effectively remove numbers.

Also this usually generates too many keywords. Something like this:
Code:
$keywords = explode(" ", $keywords_);
    for($i=0;$i<19;$i++) {
                $keywords_.=$keywords[$i].", ";  }
directly after line 1592 would fix that by limiting it to 20 keywords. You could improve on that even by sorting the keywords by density to make sure you get the 20 best words for large pages.

I use this page a LOT to check my pages and it's really handy.
http://www.freewebsubmission.com/web-page-analyzer.html
You should add all the 'stop' 'poison' and 'popular' words found in your analyzed pages to the $stop_words array on line 1497 of Subs-Seo4SMF.php

Thanks for making this. It kicks ass Smiley

Logged

http://www.phonelosers.org


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!