Redirect Previous Page After Login in Laravel

Redirect User to Previous Page After Login  In this tutorial we are going to show how to redirect user to previous page after authrntication. If you are working on laravel and you want to do like: How to redirect back to previous url, After login then this tutorial will definitely help you. After login user you can redirect his previous page as he was before. It is very important for us because if you don’t know how to do it , then a user after login will be redirected to the home page which is not user friendly system in our application. So now let’s start tutorial.... Read more

Wordpress : Redirect User after Activating Theme

Redirect User after Activating Theme This tutorial we are going to learn how to redirect user after activating a wordpress theme. This is little bit tricky but easy. So let's start our tutorial .  For doing that , open your theme functions.php file and paste the following code. /* Redirect on theme activation */ add_action('admin_init', function(){ global $pagenow; if ("themes.php" == $pagenow && is_admin() && isset($_GET['activated'])) { wp_redirect(esc_url_raw(add_query_arg('page', 'keenshot', admin_url('options-general.php'))));... Read more

LET'S SOCIALITE - passive income

Recent Tweets