• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Download Monitor & Manager Plugin

Simple Download Monitor & Manager for WordPress

  • Home
  • Documentation
  • Addons/Extensions
  • Login
    • Sign In
    • Edit Profile
    • My Downloads
  • Support
    • Tutorials
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration
  • Contact Us
You are here: Home

olivier

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • November 4, 2018 at 11:43 pm in reply to: forbid browser to display a PDF file download #833
    olivier
    Participant

    Solution found:

    put an .htaccess file inside the folder containing the pdf to be downloaded using sdm_download plugin. Files offered to download must be in their own specific folder.

    Content of the .htaccess is:

    <FilesMatch “\.pdf$”>
    ForceType application/octet-stream
    Header set Content-Disposition attachment
    </FilesMatch>

    works like a charm!

  • Author
    Posts
Viewing 1 post (of 1 total)

Primary Sidebar

Featured Addons

  • Squeeze Form Addon
  • Hidden Downloads Addon
  • Amazon S3 Integration

Support Links

  • Support Forum

Search

Featured Plugin

WP Express Checkout Plugin

Start managing and tracking your file downloads with the simple download monitor plugin. Download Now

Copyright © 2025 | Simple Download Monitor | A member of the Tips and Tricks HQ family.