Redirect from old PDF to new PDF

Topics: User Forum
Aug 20, 2011 at 3: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 ^/(.*)$1     [R=301]
RewriteCond %{REMOTE_ADDR} ^/(.*)$ /$1 [F]

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

Aug 21, 2011 at 6:15 PM
Edited Aug 21, 2011 at 6: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)