PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Ranking for Pages in Search Result (http://www.phpdig.net/forum/showthread.php?t=2367)

alokjain9 02-10-2006 01:43 AM

Ranking for Pages in Search Result
 
The ranking for pages in search result is in location/frequency based.
I want to rank my pages on top, if they have word in title.
Can the ranking scheme in phpdig be changed.

alokjain9 02-10-2006 05:25 AM

Hey :-)
I got the solution,

In config.php
Code:

define('APPEND_TITLE_META',true);      //append title and meta information to results
define('TITLE_WEIGHT',10);                //relative title weight: APPEND_TITLE_META needs to be true

Just change the title weight, and page with the word in title, will always be displayed first.


All times are GMT -8. The time now is 01:31 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.