PhpDig.net

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

Reply
 
Thread Tools
Old 01-29-2004, 04:49 AM   #1
rasputin
Green Mole
 
Join Date: Jan 2004
Posts: 2
search results are duplicates

Hi,

I know this problem was discussed by an earlier threat, too but I still didn´t find any solution to prevent duplicates in my search results.

It´s always the same. One file is printed 10 times or even more, just with the difference that the URL has slightly changed like:

index.php?content=1
index.php?content=1&vo=2
index.php?content=1&&vo=2
index.php?

size is identical in most cases.

What exactly is necessary to prevent this?

thx.
rasputin is offline   Reply With Quote
Old 01-29-2004, 07:11 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps try the code in this post, modifying as desired.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 01-29-2004, 11:19 PM   #3
renehaentjens
Orange Mole
 
Join Date: Nov 2003
Posts: 69
I suggest to leave the standard PhpDig implementation intact.

In my website, URLs like the ones in rasputin's post would generate totally different pages. In fact, I have a website where ALL pages of a branch are generated by the same PHP script, but with different URL parameters.
__________________
René Haentjens, Ghent University
renehaentjens is offline   Reply With Quote
Old 01-30-2004, 11:17 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The code in this post should only strip URL parameters if set in the PHPDIG_SESSID_VAR constant.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter 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
Restricting search results by URL at the search form level innerfire How-to Forum 3 08-01-2005 08:36 AM
Pulling search results into existing search system. satcom How-to Forum 2 05-03-2005 10:58 AM
No most searched terms, biggest results, most 0 results, last search queries, etc. jongag1 How-to Forum 6 04-22-2005 10:43 AM
Search on search results page not working bforsyth Troubleshooting 10 08-20-2004 09:35 PM
Reduce duplicates in keywords table through more intelligent indexing jerrywin5 Mod Requests 1 04-20-2004 08:06 AM


All times are GMT -8. The time now is 10:07 AM.


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