AT Flying change Webs & Graphics, we often work with organizations that offer information for staff or membership only. WordPress has some nice password protection functions that are easy to use. However, the problem comes when using PDF files that need to be password protected as well as unseen on search engines. Sure, you can password protect a page, which protects the link. But if someone has the direct link to the pdf file, there is nothing to “stop” this direct link from seeing the document.
Surprisingly, this is a function that is lacking in wordpress and I have yet to find a plugin that will protect actually protect the pdf from both direct links from non-members and search engine indexing.
The search engine indexing problem was taken care of by adding a robot.txt file that excluded the upload folder.
The password protecting the pdfs were a little more difficult. Since I couldn’t find a wordpress plugin to do the trick, I think I have come up with a suitable workaround. It takes two easy steps:
- Using the Media File Manager plugin to create a members only directory in my upload folder and used their basic instructions to move the client’s pdf files into the special folder.
- Logging into the host control panel, I could navigate to the special folder and password protect the entire folder – just like I would for a non-wordpress website.
Voila! Password protected and search engine safe!
