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
Yes, thats what I suggested with the custom 404 on IIS. But it's not that
nice, and not sure how Google will react. But if no other options, I will
have to have a go at this. Wait till documents are indexed and then replace
with CFM page..
And yes, I would actually throw a real 404 if the file
If you let google re-index your site. and make all downloads come through,
say, download.cfm using cfcontent. you will have full control over what
happens to the user and the bot.
Now, if you want to control what happens to the user accessing the currently
indexed pdfs and word docs, and not wait
I would also suggest using 301's instead of 404's to help the reindex.
On Feb 12, 2008 3:27 PM, Ricardo Russon [EMAIL PROTECTED] wrote:
If you let google re-index your site. and make all downloads come through,
say, download.cfm using cfcontent. you will have full control over what
happens
Hi Ricardo,
not sure if I understand your suggestion???
If I flagged something in the session, there is still nothing I can do with
that as the client might not come back to our domain again after downloading
the document directly from the Google indexed link. Neither could I use
JavaScript.
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