Title: Private Site with Custom Login Page
Author: joaorosa
Published: <strong>20 Luj 2017</strong>
Last modified: 24 Luj 2017

---

Search plugins

![](https://ps.w.org/private-website-intranet/assets/banner-772x250.jpg?rev=1700705)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/private-website-intranet/assets/icon-128x128.jpg?rev=1700705)

# Private Site with Custom Login Page

 By [joaorosa](https://profiles.wordpress.org/joaorosa-1/)

[Download](https://downloads.wordpress.org/plugin/private-website-intranet.zip)

 * [Details](https://lmo.wordpress.org/plugins/private-website-intranet/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/private-website-intranet/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/private-website-intranet/#installation)
 * [Development](https://lmo.wordpress.org/plugins/private-website-intranet/#developers)

 [Support](https://wordpress.org/support/plugin/private-website-intranet/)

## Description

This plugin makes the users login in order to visit the website. Everytime a guest
user tries to access the website it will be redirected to a login page of your choice.

The plugin is very easy to configure: Create the login page, go to “Private Intranet”
tab in your admin menu, select the login page and the page you want the user to 
be redirected to, save the changes and you’r all set!.

The “/wp-login” page will still be available.

### Features

 * Compatible with any theme
 * Translation ready
 * Make your website private – Only logged in user can access it
 * Redirect Guest users to the login page
 * Choose a custom login page (instead of wp-admin/wp-login)
 * Choose the page to which users should be redirected after the login
 * Use the shortcode [private-website-intranet-login] for more flexibility (You 
   need to activate this option in the “Private Intranet” menu)

## Screenshots

[⌊Settings Page.⌉⌊Settings Page.⌉[

Settings Page.

[⌊Default Login Page.⌉⌊Default Login Page.⌉[

Default Login Page.

## Installation

 1. Go to “Plugins” –> “Add New” –> “Upload Plugin”
 2. Upload the file “private-website-intranet.zip”
 3. Activate the plugin in the “Plugins” menu.

## FAQ

  Installation Instructions

 1. Go to “Plugins” –> “Add New” –> “Upload Plugin”
 2. Upload the file “private-website-intranet.zip”
 3. Activate the plugin in the “Plugins” menu.

  How do I configure the plugin?

You have 2 ways to configure the plugin. One with the a shortcode (that gives you
more flexibility), and another one without.

Configuration without shortcode:

 1. Create a Login page;
 2. Go to the menu “Private Intranet”, choose the previously created login page and
    the page to which the user should be redirected to after login (you can leave it
    blank);
 3. Save all changes;
 4. You are all set!

Configuration with shortcode:

 1. Create a Login page and add the shortcode [private-website-intranet-login] to the
    content of the page;
 2. Go to the menu “Private Intranet”, choose the desired login page and page the user
    should be redirected to after login;
 3. In the menu “Private Intranet”, check the box “Use shortcode to place the login
    form?”;
 4. Save all changes;
 5. You are all set!

  I’m trapped and can’t acces the login page I defined! What can I do?

Just access /wp-login and login to your website. For example: http://example.com/
wp-login.

  I have a feature to request or a bug to report. Where can I do it?

Please do try to contact me if you have an issue or a suggestions!
 You can use 
the “Support” tab at the top of this page to contact me. Just create a new post 
and i’ll attend to you as soon as I can.

  Is the plugin translation ready?

Yes, the plugin is translation ready. Right now, the plugin is available in English(
US) and Portuguese (PT).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Private Site with Custom Login Page” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ joaorosa ](https://profiles.wordpress.org/joaorosa-1/)

“Private Site with Custom Login Page” has been translated into 1 locale. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/private-website-intranet/contributors)
for their contributions.

[Translate “Private Site with Custom Login Page” into your language.](https://translate.wordpress.org/projects/wp-plugins/private-website-intranet)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/private-website-intranet/),
check out the [SVN repository](https://plugins.svn.wordpress.org/private-website-intranet/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/private-website-intranet/)
by [RSS](https://plugins.trac.wordpress.org/log/private-website-intranet/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * From now on, there’s no need for a shortcode in the login page. Just select your
   desired login page in the “Private Intranet” menu;
 * You can still use a shortcode if you want more flexibility on your login page
   visual. Just check the box “Use shortcode to place the login form?” and place
   the shortcode [private-website-intranet-login] in the login page;

#### 1.1.1

 * Fixed bug where the user wasn’t being redirected to the defined “Redirect After
   Login” page.

#### 1.1

 * Fixed bug where, if no login page was set, the plugin would send the user into
   a redirect loop
 * Fixed bug where “/wp-login” wasn’t available.
 * Added functionality: When a logged in user tries to access the defined login 
   page, it will be redirected to the defined “Redirect After Login” page

#### 1.0

 * Plugin Launch

## Meta

 *  Version **1.1.1**
 *  Last updated **9 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.8.28**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/private-website-intranet/) and [Portuguese (Portugal)](https://pt.wordpress.org/plugins/private-website-intranet/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/private-website-intranet)
 * Tags
 * [custom login](https://lmo.wordpress.org/plugins/tags/custom-login/)[login page](https://lmo.wordpress.org/plugins/tags/login-page/)
   [private site](https://lmo.wordpress.org/plugins/tags/private-site/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/private-website-intranet/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/private-website-intranet/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/private-website-intranet/reviews/)

## Contributors

 *   [ joaorosa ](https://profiles.wordpress.org/joaorosa-1/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/private-website-intranet/)