WordPress.org

Shona

  • Themes
  • Plugins
  • About
  • Contact
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Private Site with Custom Login Page

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

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.

Private Site with Custom Login Page

By joaorosa
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

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.
  • 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

“Private Site with Custom Login Page” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Private Site with Custom Login Page” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by 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 8 years ago
  • Active installations 10+
  • WordPress version 3.0 or higher
  • Tested up to 4.8.25
  • Languages

    English (US) and Portuguese (Portugal).

    Translate into your language

  • Tags
    custom loginlogin pageprivate site
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • joaorosa

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Shona

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.