PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 02-08-2005, 09:58 AM   #1
FaberFedor
Green Mole
 
Join Date: Jan 2005
Location: New Jersey
Posts: 11
Spaces (%20) in URLs

I found a minor problem with phpDig but I haven't found where yet to fix it. If the HTML file has a space in the name such as "http://my product.html", the spider only sees "http://my" and consequently, doesn't index "http://my product.html" and the pages that are linked from it.

If I replace the %20 with a _, everything works great, but my designer being a Windows user (although there's nothing wrong with that :-) has put spaces in alot of URLs.

Is there a way to tell phpDig to honor the spaces in the filenames/URLs?
FaberFedor is offline   Reply With Quote
Old 02-08-2005, 10:31 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Look for $allowed_link_chars in the config file and add a space to the character class.
__________________
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-08-2005, 11:02 AM   #3
FaberFedor
Green Mole
 
Join Date: Jan 2005
Location: New Jersey
Posts: 11
Turns out that adding a space to the existing class didn't work (I assume it was because I had place the space at the end of the class) but uncommenting out the line above it worked great! Thanks!

Now, back to figuring out why the dashes don't get indexed...
FaberFedor 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
Plus character(+) converted to (%20) in urls raymerica Troubleshooting 2 05-31-2006 01:19 PM
Break the depth limit of 20? WebSpider How-to Forum 9 02-09-2005 03:21 PM
Nor spaces nor accent pepevilluela Troubleshooting 2 05-06-2004 05:55 PM
Problem spidering sites at in .txt over 20 address joshuag200 Troubleshooting 3 01-30-2004 09:13 PM


All times are GMT -8. The time now is 01:57 PM.


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