Redirect from old PDF to new PDF

Topics: User Forum
Aug 20, 2011 at 2:15 AM

What syntax to use to redirect from one PDF file to another?

Here is my current ini -

 

IterationLimit 10
MaxMatchCount 10
RewriteEngine ON
StatusInquiry ON
RewriteCond  %{HTTP_HOST}  ^(?!www\.).*marionbrady\.com$RedirectRule ^/(.*)       http://www.marionbrady.com/$1     [R=301]
RewriteCond %{REMOTE_ADDR} 10.10.1.0RewriteRule ^/(.*)$ /$1 [F]

(I tried this but didn't work)
RedirectRule ^/documents/BillWebb.pdf$ /documents/DrWilliamWebb-Testimonial.pdf [R=301]

Coordinator
Aug 21, 2011 at 5:15 PM
Edited Aug 21, 2011 at 5:15 PM

I don't know what the problem might be.  The rule you tried without success seems like it ought to work.  To diagnose, You'll need to check:

  • the iirf log file
  • a trace of the HTTP transactions (try using Fiddler2)