PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 03-25-2004, 03:44 AM   #1
nicor
Green Mole
 
Join Date: Mar 2004
Posts: 2
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... ;-(
nicor is offline   Reply With Quote
Old 03-25-2004, 04:21 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps try the phpExclude and phpInclude comments as in this thread.
__________________
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 03-25-2004, 05:43 AM   #3
nicor
Green Mole
 
Join Date: Mar 2004
Posts: 2
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 ;-)
nicor is offline   Reply With Quote
Old 03-25-2004, 05:58 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The comments need to be each on their own line in the HTML source so try using \n in your PHP code.
__________________
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


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
spidering menu petra_itl Troubleshooting 0 05-15-2007 01:47 PM
search results are in the wrong order wptechno How-to Forum 8 07-26-2005 09:06 PM
Phpdig gives me wrong result Fabrice Troubleshooting 6 10-01-2004 02:45 AM
1.8.3 spiders slow, 1.6.3 spiders same site fast Wayne McBryde Troubleshooting 0 09-21-2004 08:10 PM
Searchfeed results displayed with phpdig results Nosmada How-to Forum 1 01-04-2004 12:39 PM


All times are GMT -8. The time now is 03:28 AM.


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