Title: Force User Login
Author: smatric
Published: <strong>নভেম্বর 9, 2011</strong>
Last modified: আগস্ট 28, 2015

---

প্লাগিন অনুসন্ধান

এই প্লাগইনটি **ওয়ার্ডপ্রেসের সর্বশেষ ৩টি মেজর রিলিজের সাথে পরীক্ষা করা হয়নি**। এটি
আর রক্ষণাবেক্ষণ বা সমর্থন করা নাও হতে পারে এবং ওয়ার্ডপ্রেসের আরও সাম্প্রতিক সংস্করণগুলোর
সাথে ব্যবহার করার সময় কম্প্যাটিবিলিটি ইস্যু থাকতে পারে।

![](https://s.w.org/plugins/geopattern-icon/force-user-login-modified.svg)

# Force User Login

 তৈরি করেছেন [smatric](https://profiles.wordpress.org/smatric/)

[Download](https://downloads.wordpress.org/plugin/force-user-login-modified.1.0.2.zip)

 * [বিস্তারিত](https://bn.wordpress.org/plugins/force-user-login-modified/#description)
 * [রিভিউ](https://bn.wordpress.org/plugins/force-user-login-modified/#reviews)
 *  [ইন্সটলেশন](https://bn.wordpress.org/plugins/force-user-login-modified/#installation)
 * [ডেভেলপমেন্ট](https://bn.wordpress.org/plugins/force-user-login-modified/#developers)

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

## Description

This is a very small plugin that forces users to login before viewing any content.
This is done by checking if the user is logged in, and if not, redirecting them 
to the login page. Users attempting to view blog content via RSS are also authenticated
via HTTP Auth.

Modification: use get_site_url() to redirect to the login page properly when WordPress
is located in a subdirectory.

## Installation

 1. Upload `force-login.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Can I change where the user is redirected after logging in?

Yes! A variable called $redirect_to (line 33) is currently set to redirect the user
to the page they were trying to access. If you changed that line from

    ```
    $redirect_to = $_SERVER['REQUEST_URI'];
    ```

to

    ```
    $redirect_to = '/';
    ```

it would redirect the user to the home page.

## Reviews

There are no reviews for this plugin.

## ডেভেলপার এবং কন্ট্রিবিউটর

“Force User Login” is open source software. The following people have contributed
to this plugin.

কন্ট্রিবিউটর

 *   [ smatric ](https://profiles.wordpress.org/smatric/)

[Translate “Force User Login” into your language.](https://translate.wordpress.org/projects/wp-plugins/force-user-login-modified)

### ডেভেলপমেন্ট এ আগ্রহী?

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

## Changelog

#### 1.0.2

 * Tested with WordPress 4.3
 * Updated meta description
 * A screenshot added

## মেটা

 *  Version **1.0**
 *  শেষ আপডেট করা হয়েছে **11 বছর আগে**
 *  Active installations **40+**
 *  WordPress version ** 2.0.2 or higher **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/force-user-login-modified/)
 * ট্যাগ
 * [force user login](https://bn.wordpress.org/plugins/tags/force-user-login/)[login](https://bn.wordpress.org/plugins/tags/login/)
   [password](https://bn.wordpress.org/plugins/tags/password/)[privacy](https://bn.wordpress.org/plugins/tags/privacy/)
 * টি
 *  [এডভান্সড ভিউ](https://bn.wordpress.org/plugins/force-user-login-modified/advanced/)

## Ratings

এখনো কোনো রিভিউ জমা দেওয়া হয়নি।

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

[সব রিভিউ দেখুন](https://wordpress.org/support/plugin/force-user-login-modified/reviews/)

## কন্ট্রিবিউটর

 *   [ smatric ](https://profiles.wordpress.org/smatric/)

## Support

Got something to say? Need help?

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

## ডোনেট

Would you like to support the advancement of this plugin?

 [ এই প্লাগিনে ডোনেট করুন ](http://Don't%20worry%20about%20it)