Re: url returned in search result
Daniel Naber <[email protected]> Mon, 19 Apr 2004 22:30:38 +0200
| Newsgroups | gmane.comp.web.perlfect-search |
|---|---|
| Message-ID | <[email protected]> |
On Monday 19 April 2004 21:10, webmaster wrote: > The first > result is > > http://www.tsmchughs.com/menus/lunch.html > > However, there is no url that matches that on the site. Calling http://www.tsmchughs.com/menus/lunch the response includes a "Content-Location: lunch.html" header. Calling http://www.tsmchughs.com/menus/lunch/ (note the trailing slash) there's no such header. So you could try to modify your URLs to include the slash, or you could try to modify get_url() in tools.pl: it contains a "Maybe we are we redirected" comment at the end. Maybe commenting out the line following that comment helps (but this may break other cases). Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list [email protected] To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search