Forum Moderators: phranque

Message Too Old, No Replies

How to improve your site search

using FDSE

         

mack

8:14 am on Sep 13, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I know this should be posted to the FDSE forums but I know there are a lot of users of these boards who make use of the fluid dynamics search engine. I few weeks ago I was asked to create a site search engine for someone’s website. The server that the other site was hosted on did not allow for any cgi access so I agreed that I would host the search on my server. I used a standard install of fdse then got to thinking. How could I add a cache feature similar to that used by Google? I spent quite a lot of time trying to work it out then the solution hit me and here is what I did.

I used MS Frontpage to download the entire site and uploaded it to my server and stored it in the following directory…
Mydomain.com/sitesearch/cache/www.their-site.com

I then modified the link listing (the section that controls how each result will appear on the serps) and on this I added a link called “recorded” and had it point to…
Mydomain.com/sitesearch/cache/%url%

This then makes any click on that point to…
Mydomain.com/sitesearch/cache/http://www.their-site.com

I then used an htaccess file to point all traffic from …
Mydomain.com/sitesearch/cache/http://www.their-site.com
To
Mydomain.com/sitesearch/cache/www.their-site.com

Here is a copy of the htaccess file

RedirectMatch permanent ^/sitesearch/cache/http://www.their-site.com/(.*) [mydomain.com...]

Hope this is of some use to someone.
:)

ergophobe

10:18 pm on Sep 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Great idea. I'll have to file that away in the memory banks