Difference between revisions of "Protected Files - WordPress"

From Help Wiki
m
m
Line 7: Line 7:
  
  
===Protected Files===
+
===To add a protected file to your page or post:===
We're using the Media Vault plugin to add the ability to limit access to files uploaded to the Media Library. <br />
+
# Upload your file to your Media Library: '''Media > Add New''' (check the '''Protect Media Uploads''' box)
'''To add a protected file to your page or post:'''
+
# Go to your post/page where you want the link to appear and click the “Add Media” button to insert the link into your post or page
#Upload your file via the Dashboard to your Media LIbrary: '''Media > Add New'''
+
# Click the Media Library tab to choose your already uploaded file
#Go to your post/page and click the “Add Media” button to insert the link into your post or page
+
# Make sure the '''Protect Files''' checkbox is checked
#Click the Media Library tab (as opposed to Upload File) choose your file
+
#Check the '''Protect Files''' checkbox  
+
 
# Set the '''Files access permissions''' to '''Subscriber'''. This will limit access to enrolled students in your course.
 
# Set the '''Files access permissions''' to '''Subscriber'''. This will limit access to enrolled students in your course.
#* Note: If you upload media via the “Add Media” button in your post/page you will need to go back to the Media Library and set the file protection to be viewable by Subscribers
+
# Click the '''Insert into Page''' blue button to add a link to the protected file
 +
 
  
 
[[File:WP-edit-visibility.png | 200px | right]]
 
[[File:WP-edit-visibility.png | 200px | right]]
Line 26: Line 25:
 
#Click '''OK''' and '''Update''' the post/page
 
#Click '''OK''' and '''Update''' the post/page
  
 +
 +
===Common Issues===
 +
====My students get a 404 error when trying to access protected files====
 +
This is most likely because permissions were changed on the Media File '''after''' it was inserted into a post/page.
 +
: '''Fix:''' Remove the link in your post/page and Add Media again to insert the link to the protected file location.
  
 
[[Category:Wordpress]]
 
[[Category:Wordpress]]

Revision as of 09:44, 28 October 2014

MediaVault.png
Blue-l.png
We have configured WordPress at sites.evergreen.edu to allow you to protect certain files and posts/pages while keeping other areas of your site publicly available.


To add a protected file to your page or post:

  1. Upload your file to your Media Library: Media > Add New (check the Protect Media Uploads box)
  2. Go to your post/page where you want the link to appear and click the “Add Media” button to insert the link into your post or page
  3. Click the Media Library tab to choose your already uploaded file
  4. Make sure the Protect Files checkbox is checked
  5. Set the Files access permissions to Subscriber. This will limit access to enrolled students in your course.
  6. Click the Insert into Page blue button to add a link to the protected file


WP-edit-visibility.png

Private Posts/Pages

With the Subscribers Only plugin activated, subscribers to your site will have access to Private posts or pages. Consider setting a post or page to Private for any areas of the site where you would not want Google to index. For example, a page that lists links to copyrighted materials that would never be publicly available.
To make a post/page private:

  1. Edit the page/post you want to make private
  2. In the “Publish” block click Edit next to Visibility
  3. Set the visibility to “private”
  4. Click OK and Update the post/page


Common Issues

My students get a 404 error when trying to access protected files

This is most likely because permissions were changed on the Media File after it was inserted into a post/page.

Fix: Remove the link in your post/page and Add Media again to insert the link to the protected file location.