James Clarke & Projects

Private URL WordPress Plugin

Private URL is a WordPress plugin for sharing private posts through a special private url which is accessible without requiring readers to register or enter a password. Private URLs have a structure similar to /private/293/df8eb1583b052b59e2cafc4327214d0/.


  1. Download the plugin from the WordPress Plugin Directory.
  2. Upload private-url.php to your wp-content/plugins directory.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Configure the plugin in the Private URL menu under Settings in WordPress.
  5. Create and save a private post. A new options panel called Private URL will show the private url for the post.

Private URL options panel


When you edit a private post a new options panel will become available called Private URL. This provides the private url and a means for changing the salt for the post. The url is a publicly accessible version of the private post and typically of the form: /private/293/df8eb1583b052b59e2cafc4327214d0/

What is the salt?

The salt is responsible to generating the private url for each post. It is similar to a passphrase. By default all posts use the salt provided in the settings page for Private URL. However, you can specify a post specific salt using the Private URL options panel while editing a post.

Modifying the salt for a post will cause it to have a new private url and the post’s old private url will no longer function. This can be used as a means to expire an old private url for the post. Changing the default salt in the options menu will cause all posts without their own salt to have new private urls.

blog comments powered by Disqus