Difference between revisions of "Protected Files - WordPress"

From Help Wiki
m
m (subst applied to Template:TwoColumn)
Line 1: Line 1:
{{TwoColumn|lead=
+
 
WordPress at [http://sites.evergreen.edu sites.evergreen.edu] allows you to protect certain files and posts/pages while keeping other areas of your site publicly available.  
+
<div class="container-fluid">
|content=
+
<div class="row">
 +
<div class="col-md-8">
 +
<div class="lead">
 +
WordPress at [http://sites.evergreen.edu sites.evergreen.edu] allows you to protect certain files and posts/pages while keeping other areas of your site publicly available.
 +
</div>
 +
 
 
===About Adding Protected Files===
 
===About Adding Protected Files===
 
====The most important thing to note about uploading protected files:====
 
====The most important thing to note about uploading protected files:====
Line 25: Line 30:
 
See also: [[Protected Pages and Posts - WordPress]]
 
See also: [[Protected Pages and Posts - WordPress]]
  
|sidebar=
+
 
 +
<!-- end col-md-8 -->
 +
</div>
 +
<div class="col-md-1"></div>
 +
<div class="col-md-3 sidebar">
 
{{WordPress Sidebar Header}}
 
{{WordPress Sidebar Header}}
  
 
{{WordPress Help Sidebar}}
 
{{WordPress Help Sidebar}}
}}
+
 
 +
<!-- end col-md-3-->
 +
</div>
 +
<!-- end row-->
 +
</div>
 +
<!-- end container-->
 +
</div>
 +
<!-- Generator=Template:TwoColumn -->
 +
__NOTOC__
 +
__NOEDITSECTION__
 
[[Category:Wordpress]]
 
[[Category:Wordpress]]

Revision as of 16:01, 14 August 2017

WordPress at sites.evergreen.edu allows you to protect certain files and posts/pages while keeping other areas of your site publicly available.

About Adding Protected Files

The most important thing to note about uploading protected files:

  1. You must upload the file to the Media Library first and set its protection
  2. Next you can Add Media link to page

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


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 a link to the non-secure location 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. When unauthenticated students access protected files now, they will be prompted to login before gaining access to file.
Best Practice: Always set file protection first in the Media Library before inserting into a post/page.

See also: Protected Pages and Posts - WordPress