PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   search results are duplicates (http://www.phpdig.net/forum/showthread.php?t=459)

rasputin 01-29-2004 04:49 AM

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.

Charter 01-29-2004 07:11 PM

Hi. Perhaps try the code in this post, modifying as desired.

renehaentjens 01-29-2004 11:19 PM

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.

Charter 01-30-2004 11:17 AM

Hi. The code in this post should only strip URL parameters if set in the PHPDIG_SESSID_VAR constant.


All times are GMT -8. The time now is 09:21 AM.

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