# Login-and-Logout-Redirect

A WordPress plugin which enables you to redirect users on login and logout or both, in a simplest way.

**Plugin Name:** Login and Logout redirect

**WordPress.org URI:** [login-and-logout-redirect](https://wordpress.org/plugins/login-and-logout-redirect/)

**Tags:** redirect,login, logout, login and logout redirect, redirect on login, redirect on logout

**Author:** [patilswapnilv](https://swapnilpatil.in)

**Author URI:** [swapnilpatil.in](https://swapnilpatil.in)

**Donate link:** [swapnilpatil.in](https://swapnilpatil.in/wp-plugins/)

**License:** GPL-3.0+

**License URI:** [GPL-3.0+](https://www.gnu.org/licenses/gpl-3.0.en.html)

**Requires at least:** 3.5

**Tested up to:** 6.3.1

**Stable tag:** 2.0.3

[![WP](https://img.shields.io/badge/WordPress-%E2%86%92-lightgrey.svg?style=flat-square)](https://wordpress.org/plugins/login-and-logout-redirect/)
[![WP Plugin Version](https://img.shields.io/wordpress/plugin/v/login-and-logout-redirect.svg?style=flat-square&label=version)](https://wordpress.org/plugins/login-and-logout-redirect/)
[![WP Downloads](https://img.shields.io/wordpress/plugin/dt/login-and-logout-redirect.svg?style=flat-square)](https://wordpress.org/plugins/login-and-logout-redirect/)
[![WP Rating](https://img.shields.io/wordpress/plugin/r/login-and-logout-redirect.svg?style=flat-square)](https://wordpress.org/support/plugin/login-and-logout-redirect/reviews/?filter=5)
![WordPress](https://img.shields.io/wordpress/v/login-and-logout-redirect.svg)
[![License](https://img.shields.io/badge/license-GPL%20v2.0-l.svg?style=flat-square)](https://github.com/patilswapnilv/login-and-logout-redirect/blob/master/license.txt)

[![Build Status](https://travis-ci.org/patilswapnilv/login-and-logout-redirect.svg)](https://travis-ci.org/patilswapnilv/login-and-logout-redirect)
![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/patilswapnilv/login-and-logout-redirect/badges/quality-score.png?b=master)
[![Code Climate](https://codeclimate.com/github/patilswapnilv/login-and-logout-redirect/badges/gpa.svg)](https://codeclimate.com/github/patilswapnilv/login-and-logout-redirect)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S2DYY5KZU42RW)

## Synopsis

This is an easy way to redirect user to specific URL, on login and logout.
This plugin adds extra option in Settings page (Setting>General), for specifying redirect URL for login and logout.

### Features

* Redirect users instantly on logout.

* Redirect users instantly on login.

* Not extra menu option, in the WordPress site. Just head over to Settings>General

## Installation

1. Upload `Login-and-Logout-Redirect` folder to your `/wp-content/plugins/` directory.

2. Activate the plugin from Admin > Plugins menu.

3. Once activated you should check with Settings > General

4. Insert URL for redirect on login.

5. Insert URL for redirect on logout.

6. Save!

### Contribution

Contributors are always welcome.
To contribute, just send a pull request. On this repo on [Github](https://github.com/patilswapnilv/login-and-logout-redirect)

### License

This Plug-in is released under the same license as the WordPress software is released ie; the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html) (or later) from the [Free Software Foundation](http://www.fsf.org/). A copy of the license is included with the Plug-in, but you can also read the text of the license [here](http://www.gnu.org/licenses/gpl-3.0.en.html).

### Changelog

### 2.0.3

* Tested upto WordPress 6.3.1

### 2.0.2

* Tested upto WordPress 6.2

### 2.0.1

* Tested upto WordPress 6.0

### 2.0.0

* Tested upto WordPress 5.4.1

### 1.0.6

* Tested upto WordPress 5.3

### 1.0.5

* Tested upto WordPress 5.0
* Archived version: [version_1.0.5.zip](https://downloads.wordpress.org/plugin/login-and-logout-redirect.1.0.5.zip)

#### 1.0.4

* Tested upto WordPress 4.9.8
* Archived version: [version_1.0.4.zip](https://downloads.wordpress.org/plugin/login-and-logout-redirect.1.0.4.zip)

#### 1.0.3


* Tested upto WordPress 4.7
* Archived version: [version_1.0.3.zip](https://downloads.wordpress.org/plugin/login-and-logout-redirect.1.0.3.zip)

#### 1.0.2

* Made changes to support PHP 7
* Tested upto version 4.6 Beta 1
* Archived version: [version_1.0.2.zip](https://downloads.wordpress.org/plugin/login-and-logout-redirect.1.0.2.zip)

#### 1.0.1

* Minor Changes, added screenshots etc to explain working better.
* Tested up to WordPress version 4.4
* Archived version: [version_1.0.1.zip](https://downloads.wordpress.org/plugin/login-and-logout-redirect.1.0.1.zip)

#### 1.0.0

* Initial release
* First stable release.
* Archived version: [version_1.0.0.zip](https://downloads.wordpress.org/plugin/login-and-logout-redirect.1.0.0.zip)
