|
12-12-2006, 02:52 PM | #1 |
Green Mole
Join Date: Dec 2006
Posts: 1
|
Problem indexing site due to backslash
Hi I have a proble crawling site where the url is www.yoursite.com/example
as php dig adds a backslash and trys to crawl instead www.yoursite.com/example/ which produces a 404 error. Has anyone come accross this problem? Any help gratefully recieved. |
12-26-2006, 08:34 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Untested but find in the phpdigRewriteUrl function:
Code:
// phpdig 1.8.9 rc1 $retour['path'] = mb_ereg_replace('(.*[^/])/?$','\1/',mb_ereg_replace('^/(.*)','\1',mb_ereg_replace("/+","/",$path))); // phpdig 1.8.8 $retour['path'] = ereg_replace('(.*[^/])/?$','\1/',ereg_replace('^/(.*)','\1',ereg_replace("/+","/",$path))); Code:
// phpdig 1.8.9 rc1 $retour['path'] = mb_ereg_replace('^/(.*)','\1',mb_ereg_replace("/+","/",$path)); // phpdig 1.8.8 $retour['path'] = ereg_replace('^/(.*)','\1',ereg_replace("/+","/",$path));
__________________
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
successful indexing of every site but site where phpdig is served | phillystyle123 | Troubleshooting | 1 | 02-21-2005 10:06 PM |
Problem with site indexing.... | Lamer38 | Troubleshooting | 1 | 09-11-2004 07:36 AM |
Indexing problem: PhpDig will not spider all of the site | mih | Troubleshooting | 5 | 03-25-2004 12:54 AM |
Problem indexing site (uses mod_rewrite) | ragaller | Troubleshooting | 8 | 03-16-2004 11:22 PM |
Strange indexing problem on my site | drbill | Troubleshooting | 9 | 01-01-2004 02:29 PM |