May 30, 2013 in WordPress Designer Snippets

WordPress Designer Snippet: Force SSL on Login for better security


You can force WordPress administrators to login using SSL (Secure Sockets Layer). SSL is an an encryption method, you’ve probably seen the little lock that appears in the address bar of your web browser on an SSL secured web page.

Add this code snippet to your config file to force SSL on login:

 


define('FORCE_SSL_LOGIN' , true);

 

Add this snippet to force SSL on the WordPress dashboard:


define('FORCE_SSL_ADMIN' , true);

 


About Anthony

Anthony Brewitt is Design Bit, has been for years - he's an experienced WordPress Designer, and Muggle-born Marketing Philosopher. Let’s talk about your website; your marketing, blog design, and that cool new mobile web thingy. Contact Anthony

Leave a Reply