Welcome! Log In Create A New Profile

Advanced

Titles of Search Results

Posted by selym 
Titles of Search Results
February 04, 2009 05:43AM
Hello All-

Does anyone know of a way to avoid indexing pages that do not have a title? I seem to get a lot of search results that that have a link title of "Search Results". I'd like to avoid them if possible.

Thanks,
Selym
Tec
Re: Titles of Search Results
February 04, 2009 07:16PM
Hello Selym,

Open the file .../admin/messages.php and search for:
$messages = Array (
Beyond this row additionally include:
"noTitle" => Array (
	0 => " <font color=red><b><br /> No page title found here</b></font>. ",
	1 => "  No page title found here."
 ),

Now open the file .../admin/spider.php and search for:
$wordarray = unique_array(explode(" ", $data['content']));
Beyond this row additionally include:
    if (strlen($data['title']) < 2) {
        $OKtoIndex = 0;
        printStandardReport('noTitle',$command_line);
    }

Happy coding
Tec
Re: Titles of Search Results
February 14, 2009 11:44AM
Thanks very much Tec. Much appreciated.
Sorry, only registered users may post in this forum.

Click here to login