|
02-03-2004, 06:53 AM | #1 |
Green Mole
Join Date: Feb 2004
Posts: 5
|
SPACE IN url
I HAVE A SITE WITH ULR REWRITING and some url are have a space like:
http://cartouche-epson.1000cartouche...Color_670.html or http://cartouche-epson.1000cartouche...Color_670.html This is no probleme for google that index these pages without probleme but phpdig don't. Is there some thing to change to get it ? Regards JPS |
02-05-2004, 08:54 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Untested, but perhaps try the following.
In robot_functions.php add the following to the phpdigRewriteUrl function: PHP Code:
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. |
02-05-2004, 04:12 PM | #3 |
Green Mole
Join Date: Feb 2004
Posts: 5
|
Actualy I add those lines but nothing change !
Still not working Thank's for your help |
02-05-2004, 04:34 PM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Did you reindex, or index new pages, after the changes were made?
__________________
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. |
02-06-2004, 12:31 AM | #5 |
Green Mole
Join Date: Feb 2004
Posts: 5
|
I have delete a whole domain and reindex it. For exemple this domain http://cartouche-epson.1000cartouches.com/ has 14 links also normaly it should be more than 200 or 300
Regards JPS |
02-06-2004, 04:33 AM | #6 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Or instead of this
Code:
$eval = str_replace(" ","%20",$eval); Code:
$eval = str_replace(" ","",$eval); Also, and I have to ask this, how practical would it be for you to modify those URL's so there is no embedded space? |
02-06-2004, 09:44 AM | #7 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. In robot_functions.php are two functions to edit.
First, in phpdigExplore find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Remember to remove any "word" wrapping in the above 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. |
02-06-2004, 10:33 AM | #8 |
Green Mole
Join Date: Feb 2004
Posts: 5
|
Thank you Charter it's working fine now
JPS |
02-06-2004, 11:09 AM | #9 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Great, glad it's working. BTW, did you leave in or take out the code in this post?
__________________
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. |
02-06-2004, 11:29 AM | #10 |
Green Mole
Join Date: Feb 2004
Posts: 5
|
Yes I leave it, at first I try without but it did not work.
Regards |
02-06-2004, 11:36 AM | #11 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Okay, thanks.
__________________
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 |
how much disk&db space need for first phpdig install | 01php | Script Installation | 1 | 03-21-2007 08:09 PM |
Another URL Question please. | Kenny | How-to Forum | 2 | 12-01-2004 06:17 AM |
How to unlock an URL | philbihr | How-to Forum | 2 | 11-08-2004 05:11 AM |
Suggest URL | Dave A | How-to Forum | 1 | 08-18-2004 07:51 PM |
Index ignores directory with space in it | Gakk Simian | Troubleshooting | 2 | 04-09-2004 10:03 AM |