Sandbox Development and Consulting Inc.

  • About Us
  • Client Login
  • RSS Feed
  • Follow Us

SDAC INC. COMPANY PROFILE

Sandbox Development and Consulting Inc. (SDAC Inc.) is an independent development consulting company based in the Chicagoland area. We specialize in web development and user interface design with an emphasis on simplicity and standards since 2005.

Read More »

Project Highlight

Coca-Cola Canada Live Positively

SDAC Inc's Featured WordPress project

Coca-Cola Canada wanted a blog/site where they could easily share information about their company, brand and products.

Learn More » | View Our Portfolio »

  • Home
  • Blog
  • Services
    • WordPress Development
      • Commercial Themes
      • Custom Themes & Plugins
      • Optimization & Support
    • Custom Web Development
      • Web Applications
      • Project Planning & Discovery
      • Browser Optimization
    • Web Design & UI Consulting
      • Custom Web Designs
      • Custom Logos
      • User Interface Consultation
    • Search Engine Optimization
    • Forum Development
  • Custom Themes & Plugins
  • Contact Us
Sandbox Development and Consulting Inc. > SDAC Blog > HOWTOs > HOWTO: Easily Change Login Redirect in WordPress
« Super Charge Your Site With CloudFlare
HOWTO: Easily Change Registration Redirect in WordPress »

HOWTO: Easily Change Login Redirect in WordPress

0

Posted by: jzelazny on June 1, 2012

Categorized: HOWTOs, SDAC Blog, WordPress, WordPress Logic

Tagged: Login, Redirect

Ever want to easily change the redirect for your WordPress site after a user logs in? You can simply add the code below to your theme’s functions.php file (change the URL in the $redirect_to line) and it will then allow you to change the URL that WordPress redirects users to after logging in.

add_action( 'login_form' , 'sdac_login_redirect' );
function sdac_login_redirect() {
	global $redirect_to;
	if ( !isset($_GET['redirect_to']) ) {
    	$redirect_to = 'http://my-redirect-url.com/';
	}
}
Logging In...

Comments are closed.

  • Translate

  • Recent Posts

    • WordPress Update: WordPress 3.5 is Available
    • Avoid WordPress Plugin Overload
    • Update Your Outdated WordPress Site
    • WordPress Host Migration > WP Engine
    • WordPress Update: WordPress 3.4.2 is Available
  • Categories

    • SDAC (25)
      • SDAC News (8)
      • SDAC Products (17)
    • SDAC Blog (172)
      • bbPress (5)
      • Clients (5)
      • CSS (6)
      • High Performance Optimization (2)
      • HOWTOs (41)
      • Javascript (3)
      • Network Solutions (1)
      • News (5)
      • vbulletin (1)
      • Web Hosting (2)
      • WordPress (147)
        • WordPress Commercial Themes (6)
        • WordPress Logic (21)
        • WordPress Plugins (36)
        • WordPress Themes (8)
        • WordPress Troubleshooting (9)
        • WordPress Updates (55)
      • XOOPS (3)
        • XOOPS Modules (1)
    • Uncategorized (1)
  • Archives by Date

  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Subscribe to SDAC Inc. Blog | Disclaimer | Terms of Use | Privacy Policy | Contact Us | Search

Copyright © 2004 - 2013 Sandbox Development and Consulting Inc. All rights reserved.

WordPress Blog Hosting