View Single Post
Old 01-03-2005, 06:04 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Quote:
Originally Posted by vinyl-junkie
Another thing I noticed is that you have a lot of subdirectories on your site. Phpdig interprets those as separate domains and will not index them as part of the process of indexing your main domain. You'll have to list those on separate lines on the admin page for phpdig to spider them.
Not quite...

If LIMIT_TO_DIRECTORY is true then the index is limited to the given (sub)directory. The dropdown on the search box, assuming it's enabled via the config file, is for searching within a (sub)domain/(sub)directory. If interested, see this for some distinction between (sub)direcories and (sub)domains.

PHP Code:
//for limit to directory, URL format must either have file at end or ending slash at end
//e.g., http://www.domain.com/dirs/ (WITH ending slash) or http://www.domain.com/dirs/dirs/index.php
define('LIMIT_TO_DIRECTORY',true);      //limit index to given (sub)directory, no sub dirs of dirs are indexed 
__________________
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