PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 02-10-2006, 01:43 AM   #1
alokjain9
Green Mole
 
Join Date: Feb 2006
Posts: 6
Exclamation 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 is offline   Reply With Quote
Old 02-10-2006, 05:25 AM   #2
alokjain9
Green Mole
 
Join Date: Feb 2006
Posts: 6
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.
alokjain9 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search = Alwais No Result benj-- Troubleshooting 0 07-26-2006 08:17 AM
Problems with the search result Paka76 How-to Forum 1 12-05-2005 05:53 AM
Search Result Page Question b-online How-to Forum 2 03-28-2005 12:03 PM
Index MSWORD But No search result wessam External Binaries 29 08-22-2004 03:29 PM
How to use PHP include to include the Google result pages? sid Coding & Tutorials 1 01-07-2004 04:53 AM


All times are GMT -8. The time now is 01:50 PM.


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