Title: Visitor force login page
Author: Sumit Singh
Published: <strong>January 17, 2020</strong>
Last modified: May 25, 2023

---

Search plugins

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/visitor-force-login-page/assets/icon-256x256.jpg?rev=2228947)

# Visitor force login page

 By [Sumit Singh](https://profiles.wordpress.org/sumitsingh/)

[Download](https://downloads.wordpress.org/plugin/visitor-force-login-page.zip)

 * [Details](https://pcd.wordpress.org/plugins/visitor-force-login-page/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/visitor-force-login-page/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/visitor-force-login-page/#installation)
 * [Development](https://pcd.wordpress.org/plugins/visitor-force-login-page/#developers)

 [Support](https://wordpress.org/support/plugin/visitor-force-login-page/)

## Description

Easily hide your WordPress site from public viewing by requiring visitors to log
in first. As simple as flipping a switch.

Make your website private until it’s ready to share publicly, or keep it private
for members only.

**Features**

 * WordPress Multisite compatible.
 * Specific page redirects visitors back to the url they tried to visit without 
   login.
 * Extensive Developer API (hooks & filters).
 * Customizable. Set a specific URL to always redirect to on login.
 * Filter exceptions for certain pages or posts.
 * Restrict REST API to authenticated users.
 * Translation Ready & WPML certified.

## Screenshots

[⌊Settings⌉⌊Settings⌉[

Settings

[[

## Installation

Upload the Force Login plugin to your site, then Activate it.

Go to setting page & select menu => select Visitor force page & select a page.

You’re done!

## FAQ

### 1. How can I specify a URL to redirect to on login?

By default, the plugin sends visitors back to the URL they tried to visit. However,
you can set a specific URL to always redirect users to by adding the following filter
to your functions.php file.

`
 /** * Set the URL to redirect to on login. * * @return string URL to redirect
to on login. Must be absolute. */ 1) Go to setting page & select menu => select 
Visitor force page & select a page.

**Requires:** WordPress 4.5 or higher

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Visitor force login page” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Sumit Singh ](https://profiles.wordpress.org/sumitsingh/)

[Translate “Visitor force login page” into your language.](https://translate.wordpress.org/projects/wp-plugins/visitor-force-login-page)

### Interested in development?

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

## Changelog

#### 1.0.2

 * Fix some issue with latest wordpress version
 * Tested with latest version

#### 1.0.1

 * Fix some security issue
 * Tested with latest version

#### 1.0

 * just release plugin

## Meta

 *  Version **1.0.2**
 *  Last updated **3 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.2.9**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/visitor-force-login-page/)
 * Tags
 * [privacy](https://pcd.wordpress.org/plugins/tags/privacy/)[private](https://pcd.wordpress.org/plugins/tags/private/)
   [protected](https://pcd.wordpress.org/plugins/tags/protected/)[registered only](https://pcd.wordpress.org/plugins/tags/registered-only/)
   [restricted](https://pcd.wordpress.org/plugins/tags/restricted/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/visitor-force-login-page/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/visitor-force-login-page/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/visitor-force-login-page/reviews/)

## Contributors

 *   [ Sumit Singh ](https://profiles.wordpress.org/sumitsingh/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/visitor-force-login-page/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://profiles.wordpress.org/sumitsingh)