How can a search result be rewritten to ignore argument of a url

e.g.

 

http://www.domain.edu/filename.php4?iframe=1

becomes

http://www.domain.edu/filename.php4

 

Basically I want the search results to link to main part of the url ignoring any iframe info. This info is only needed when navigating to the specific page from within the sitenavigation, not sitesearch. So it should ignore "?iframe=1" and whatever follows in the search results.

  

Here is what I tried after reading some earlier remarks by Gilles R. Detillieux:

 

search_rewrite_rules:    (.*)\\?iframe=1.* \\1

 

I added this line (above) to the end of the "htdig/conf/htdig.conf" file, but links still appear as http://www.domain.edu/filename.php4?iframe=1 in search results.

  

Thank you very much for any suggestion !



Express yourself instantly with MSN Messenger! Download today - it's FREE! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to