Firefox can't open PDF links that have been rewritten in .htcaccess

I have a Wordpress multi-site, and my problem is that Firefox can't open any of the PDFs that I have there. I get a dark-gray screen and it says "This PDF document might not be displayed correctly", but I am able to download it. In .htaccess I have this rewrite rule for files:
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
The thing is that if I write the actual path to the file it opens it in preview just fine. Also, Chrome and IE don't have this problem.

Hello,
In order to change the default reader for PDF files (to not open PDF files with Firefox's internal PDF reader), follow these steps:
#Go to ''Tools'' > ''Options'' (or ''Firefox'' > ''Options'').
#In the Options window, select the ''Applications'' tab.
#In the ''Search'' field, type ''PDF''. You should find ''Portable Document Format (PDF)''.
#On the right handside you should find an ''Action'' column. Use that to select your favorite PDF reader. In order to view PDF files in Firefox, choose ''Preview in Firefox''.
Did this fix your problems? Please report back to us!
Thank you.

Similar Messages

  • Can't open PDF files that have been downloaded

    I have downloaded a few PDF files from a variety of websites, but I am unable to get them opened so that I can print them. 
    What's the catch?

    hi
    Have you got adobe reader installed on your pc? you  need it to open PDF files....heres a link to download it
    http://get.adobe.com/uk/reader/       be sure to unclick the free mcafee security scan.....unless you want it of course

  • Why cant i open pdf files that have been emailed to me through my comcast email account

    why does it tell me there is an error in the installation of my acrobat reader xl .i can not uninstall it nor can i install  it without it telling me that it is already installed .

    Hi there,
    Are you on Mac OS or Windows? Have you tried repairing the installation? Please see this document for instructions on repairing Acrobat: Can't open PDF
    Best,
    Sara

  • How can I open picture files that have been downloaded from my I Phone 4 to my Windows 8 laptop and share them?

    How can I open apple picture files that I downloaded from my IPhone 4 to my windows 8.1 laptop?

    ronylouis wrote:
    i deleted notes fom my old iphone and surprised to see that they have been deleted from my new phone ..how can i get them back ...i dont have any backup??
    Why would you be surprised?  You were syncing your Notes with iCloud or a Mail Account.  Synchronization means when you make a change on one device, it affects all other devices that are synched for the same purpose.  Like when you delete an email (usually) it also disappears from your other devices as well.

  • When I open a pdf document from my dropbox to view it, the document shows up blank, even though it is filled out. This also happened with pdf documents that have been e-mailed to me.

    When I open a pdf document from my dropbox to view it, the document appears blank, even though I know the information is actually there. This also has happened with pdf documents that have been e-mailed to me, then opened to view and they are blank?? Why are they showing up blank?

    When I open emails with PDFs I click on the attachment (doing this all on my iPad) it gives me the option to "open in iBooks", I accept then after that the document is sucked into my iPad but I can't do anything with the PDF after that.  Where is the actual file on my iPad? Why can't I email or send these PDFs to my cloud (Dropbox)?
    It's like once they go into iBooks they're stuck forever.

  • I can't open pdf files I have down-loaded from Safari

    I can't open pdf files I have down-loaded from Safari (6.0 and OSX 10.8) with preview or acrobat. I get a corrupted file message. Anyone have a fix?

    From the Safari menu bar, select Safari ▹ Preferences… ▹ Security and uncheck the box labeled Enable plug-ins. Test.

  • I have a new ipad4. I can not open e-mails that have an attachment that ends in WMV. Is there a solution? Thanks.

    I have a new ipad4. I can not open e-mails that have an attachment that ends in WMV. Is there a solution to this? Thanks.

    WMV is an unsupported format on Ipad.
    Here is a good discussion to read. an dit may help you decide what to do
    https://discussions.apple.com/thread/3721087?start=0&tstart=0
    Cheers

  • Where can i view the pictures that have been uploaded to my cloud?

    Where can I view the pictures that have been uploaded to my cloud? when i log onto icloud it doesnt give me the option to view photos

    How were the photos "uploaded"? If via backup or Photo Stream, they aren't viewable online. If you turned on iCloud Photo Library (beta) you should see a Photos app at iCloud.com
    More details at iCloud Photo Library beta FAQ - Apple Support

  • Can not open pdf links

    For some reason I can no longer open pdf links.  When I click on a link to a pdf file, a new tab opens but the file does not dowload or display.  This happens in  both Safari and Firefox.
    Can someone tell me what might be wrong?  I have AcrobatPro installed.
    Thanks

    oldbasturd,
    You are posting in an Intel based iMac forum. Please post in the correct forum, you should be able to locate a G5 forum by clicking Apple Support Communities in the upper left of this screen and then navigating to the correct forum.
    Roger

  • Can't open PDF links in Safari

    Hi, only since a couple of days ago, I couldn't open PDF links in Safari. The page loads but nothing appears in the new window or tab.
    Thanks,
    Aaron

    Welcome to Apple Discussions
    Did you recently install Adobe Reader or is it installed in your system? If not, Safari's preference folder may be corrupt. To create a new preference file go to the Finder, drag to the desktop the com.apple.safari.plist folder found in your User Account>Library>Preferences folder.
    Restart Safari and try a PDF. It ought to open within the browser. Also, you'll need to reset your custom preferences, plus any custom settings in the Edit (spelling) or View (status bar, bookmarks bar, custom icons etc.) menus.
    If Adobe Reader is installed, and you want the PDF to open in the Safari Browser, go to your Internet Plug-ins Folder (Main or User Library in your Finder) and remove the Adobe plug-in.

  • Changing color on links that have been opened.

    I did a search. After opening one of the matches, I expected that link to be a different color. But it's not. Is there a way to changed the color of a link that's been opened previously? Thanks. Becky

    It should change to a more purplish color. Did you refresh the original page? That's required before the page updates.

  • HT201320 i have set up my email on have (7) messages on the mail icon but when i press it the home screen comes up to set up a new email.  Where can i find the emails that have been downloaded...again, it shows that i have 7 new emails??

    I have set up my email on the iphone.  On the mail icon it shows that i have 7 new emails.  When i press the icon the set up home screen comes up....gmail, yahoo, aol, etc.  where can i find the new emails that have been downloaded?? 

    Google stopped supporting Exchange for free accounts as of 1/31/13. If you already had it set up that way on the device, it will continue to work. However, if you didn't, you'll need to set it up as a regular Gmail account.

  • I can not open a file that has been converted from a PDF to a .doc.  I have a one year subscription to PDF Pack.

    I click on the tool to convert my pdf file to a .doc file.  When the program writes it is finished and I can down load the document, I do so.  Even though the converted file is listed as a .doc or docx, neither Microsoft Word nor OpenOffice can open it.  What is going wrong?
    I also click to be able to edit my pdf document, but no commands to edit it come up.  Am I doing something wrong?

    Hi ktewksbu,
    I don't think you're doing anything wrong. What is the file size of the converted document (and the filename extension)? Do you have the same issue with any file that you try to convert? Or is the problem specific to one file?
    As for editing a PDF file, that requires Acrobat. (Adobe Reader lets you comment on a PDF, but  not alter its content).
    Best,
    Sara

  • Can't open pdf files that are forwarded from a iphone

    Our clients are sending in emails which a few of our users are viewing them on their iPhone. When they forward the message to other users the pdf files won't open. It gives an error message, "There was an error opening this document. The file is damaged and could not be repaired". I've tried saving the pdf to the desktop then try to open it with no success and the same error message.I've also checked to make sure the Add-in is enabled.
    We are on Acrobat X 32 bit Standard 10.1.10 and Windows 7 x64 Pro/Ult. Outlook is 32 bit version. Any ideas what the problem is?

    hi
    Have you got adobe reader installed on your pc? you  need it to open PDF files....heres a link to download it
    http://get.adobe.com/uk/reader/       be sure to unclick the free mcafee security scan.....unless you want it of course

  • How do you open the downloads that have been saved? I can make it to the download list but it will not let me open any of them.

    When I open an email with an attachment, it downloads the attachment and saves it to my downloads. At a later time, I return to the download list and try to open it and it will not allow me to open them. How do I open my saved downloads?

    If the Open or Open Containing Folder entry in the right-click context menu of a file in the Download Manager is grayed then that means that the file is no longer in that original download location. It may have been removed by cleanup software or anti-virus software if you haven't deleted the files yourself.

Maybe you are looking for