PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   PhpDig spiders included menu: wrong results (http://www.phpdig.net/forum/showthread.php?t=720)

nicor 03-25-2004 02:44 AM

PhpDig spiders included menu: wrong results
 
Please Help :-)

all of our navigation-menus are included via php, but phpdig spiders the sites with menus included. As a result, the search-results are completly wrong, because most of the search keywords are also shown in the menu...

is there a possibility to not index them?

i have tried to built a workarround in the included menues like:

if($_SERVER['HTTP_USER_AGENT'] != "PhpDig") {
//write the menu ;-)
}

but it doesnt work... ;-(

Charter 03-25-2004 03:21 AM

Hi. Perhaps try the phpExclude and phpInclude comments as in this thread.

nicor 03-25-2004 04:43 AM

no, somehow this doesnt work either. Perhaps you can take a look on the source, its www.computerhilfen.de/start.html - i hope i made it that way ;-)

Charter 03-25-2004 04:58 AM

Hi. The comments need to be each on their own line in the HTML source so try using \n in your PHP code.


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

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