maybe a rewrite rule for *.doc | *.pdf that redirects to a cfm page passing the file name as a parameter
The cfml has your blurb and a link to the another cfm page with the cfcontent to push the file out (so the rewrite rule doesnt go around in circles) On Feb 12, 2008 2:13 PM, Ricardo Russon <[EMAIL PROTECTED]> wrote: > if the file was being serverd by cfcontent, then you could flag in the > session if the download is to begin or if the page is to be displayed. > then either display the download link or use js to start the download. -> > or just server up the file if its a bot so that it can get indexed. > > just move the files, preferably somewhere outside the webroot and wait for > google to re-index your site with the new cf links. > > On Feb 12, 2008 2:59 PM, Taco Fleur <[EMAIL PROTECTED]> wrote: > > > I was wondering if anyone has any bright ideas on the following. > > > > We have some Word and PDF documents that are indexed by Google. When a > > user finds the document and click the link from Google, they'll immediately > > download the document from our site and never see the site itself. > > > > This is not what we want, we'd like to display a page from our site > > after the download started. > > > > Now, one thing I can think of doing, is replacing the indexed files with > > a 404 that checks if the file exists, if it does, then display a link to the > > file for download. However, that's not the most optimal, it would be nicer > > if I could somehow serve the file up with cfcontent and then display a > > page... But I think that is wishful thinking..... > > > > -- > > Web Designers, Web Awards www.web-designers-australia.com > > Looking for a business, product or service? Try the new Australian > > search engine www.clickfind.com.au > > blog: http://australian-search-engine.blogspot.com/ > > > > > > > > > > -- AJ Mercer Web Log: http://webonix.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
