Hi!

I have the following situation: I want to index a bunch of articles, where each 
article resides in one directory and consists of several pages (index.html, 
page1.html,�,pageN.html). All pages should be indexed, but the user should only enter 
an article through the first page (index.html).

One rather easy way to accomplish this would be to use the search_rewrite_rules 
property in htdig.conf, replacing every pageN.html with index.html in the search 
output before delivering it. However, this might result in several matches in the 
search result that all point to the same URL.

The other idea I had was to use the url_rewrite_rules property to rewrite the URLs 
before entering them into the database. Would this work and index all pages under one 
URL? Or would only one of the pages (first/last/newest?) be indexed under this URL, 
while the others would be ignored?

Or do you have any other ideas how to accomplish this task?

Thanks a lot for any help (if possible also as mail-reply, please)!

Christian
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to