Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Hide wp-login.php with Restrict Content Pro

Posted on November 30, 2012 by Pippin in Tutorials 6 Comments
Home» Tutorials » Hide wp-login.php with Restrict Content Pro
Tweet
Love It - 0
This entry is part 7 of 8 in the Customizing Restrict Content Pro Series
← Restrict Content Pro – Stripe Payment GatewayAdd a Agree to Our Terms of Use Field to Restrict Content Pro →
  • Mail Chimp for Restrict Content Pro
  • Add Custom User Meta Fields to Restrict Content Pro Registration
  • Removing “Restrict This Content” Meta Box in Restrict Content Pro
  • Restrict Content Pro – Campaign Monitor
  • Restrict Content Pro – Graphs
  • Restrict Content Pro – Stripe Payment Gateway
  • Hide wp-login.php with Restrict Content Pro
  • Add a Agree to Our Terms of Use Field to Restrict Content Pro

With membership sites, it is very common that admins want to hide the default WordPress login screen and force users to go to a custom, front-end login page instead. Restrict Content Pro has an option that makes this really simple to do.

First you need to setup a page to act as the new login page. Create a page and name it aptly, perhaps Login, then place the login form short code in the page content:

[login_form]

The short code can also be placed in a text widget if you want.

Second, go to Restrict > Settings > Misc and check the box for Redirect Default Login URL.

Third, select the page you want to act as the new Login Page. You can see these settings in the screenshot below:

Once you have completed the three steps above, anytime users access wp-login.php (or wp-admin while logged out) they will be automatically redirected to your new login page.


Related Items
  • Restrict Content Pro – Premium Content Plugin
Tweet Follow @pippinsplugins
restrict content pro

6 comments on “Hide wp-login.php with Restrict Content Pro”

  1. Hiep Le says:
    February 22, 2013 at 1:45 am

    Great content, :) thank you.

    Reply
  2. Rami Y says:
    April 12, 2013 at 6:20 pm

    What about the wordpress toolbar, do they see the toolbar or the disables it too?

    Reply
    • Pippin says:
      April 15, 2013 at 4:57 pm

      This does not affect the toolbar.

    • Rami Y says:
      April 16, 2013 at 1:39 am

      Ok thanks.

  3. Paul Bursnall says:
    April 18, 2013 at 12:40 pm

    Got this setup but how can I add a logout link (for logged-in only users)?

    Reply
    • Pippin says:
      April 18, 2013 at 3:41 pm

      Take a look at http://codex.wordpress.org/Function_Reference/wp_logout_url()

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Similar Plugins and Posts

  • Restrict Content Pro – Member Discounts for Easy Digital Downloads
  • Restrict Content Pro – bbPress Extension
  • Restrict Content Pro – Wysija Add On
  • Restrict Content Pro – CSV User Import
  • WP Push Releases Restrict Content Pro Extension

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes
  • Plugin Development 101 – Registering a Custom Post Type
  • Plugin Development 101 – Intro to Actions

Latest Tutorials

  • Test Your Plugins with RTL (0)

    Right-To-Left languages are those that...

  • Submitting Your First Pull Request to a WordPress Plugin on Github (5)

    Github is an extremely popular tool for managing WordPress plugins, and one...

  • Plugin Development 101 – Introduction to Adding Dashboard Menus (1)

    Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins...

Enter your email to receive automated updates when new posts are published

Latest Tweets

  • @om4james That&#039;s what I was looking for, thanks. That was not easy to find @woothemes
    May 24, 2013
  • @om4james Whoops, sorry, I meant the WooCommerce ones @woothemes
    May 24, 2013
  • @woothemes What&#039;s up with not having basic documentation on short codes on the docs page? Am I just blind?
    May 24, 2013

Topics

wp_enqueue_script Tom McFarlin get_user_meta the_content shortcodes contextual help Sugar Event Calendar featured register_setting meta box attachments add_options_page hook mail chimp Related posts image plugin forms login authors do_action attachment short codes comments recent posts post types apply_filters bbpress taxonomies short code custom post type gallery Ajax images Stripe taxonomy jquery widgets users add_filter add_action easy content types widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins