PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 02-10-2005, 08:49 AM   #1
mdavila
Green Mole
 
Join Date: Feb 2005
Posts: 11
Phpdig producing multiple results

Having a problem with phpdig producing multiple results of the same page. In the results the url to the page has a bunch of folders appended to the end such as: http://www.ascential.com/litlib/qa_davis.html/customers/
customers/customers/customers/customers/

As you can see the /customers/ gets appended to the url multiple times. Any insight to what may be causing th is?

Thanks,
-Marc
mdavila is offline   Reply With Quote
Old 02-10-2005, 02:13 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
The appending of /customers/ is probably coming from the menu. PhpDig doesn't know that when it sees <a href="/customers/" ...> you really mean it to be <a href="http://www.ascential.com/customers/" ...> so PhpDig treats it as a subdirectory of the current page, whatever that page may be. To tell PhpDig to treat relative links as if they were coming from a different place, and not the currect page, try sticking a base href tag in the head portion of the HTML. Note though that this will treat all relative links as if they were coming from whatever link is provided in the base href tag.
HTML Code:
<base href="http://www.ascential.com/" />
<!-- or -->
<base href="http://www.ascential.com/dir1/" />
<!-- or -->
<base href="http://www.ascential.com/dir1/dir2/" />
__________________
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 02-11-2005, 05:49 AM   #3
mdavila
Green Mole
 
Join Date: Feb 2005
Posts: 11
Thanks. That seems to have resolved the problem. Much appreciated.
mdavila 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
Phpdig indexing including HTML in results Mrsoft Troubleshooting 1 09-28-2004 04:23 AM
Title of the results - how to change from <phpdig:page_link/> bforsyth How-to Forum 12 07-15-2004 08:53 PM
PhpDig spiders included menu: wrong results nicor Troubleshooting 3 03-25-2004 04:58 AM
phpdig search results turbo tomas Mod Submissions 1 02-11-2004 08:31 PM
Searchfeed results displayed with phpdig results Nosmada How-to Forum 1 01-04-2004 11:39 AM


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


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