Skip to content

没脚的小鸟

双鱼男,过分热心的好人,不自觉中、英、德语及各种地方言发声。

没脚的小鸟

没脚的小鸟

双鱼男,过分热心的好人,不自觉中、英、德语及各种地方言发声。

  • Archives
  • Tag Cloud
  • Twitter
  • Facebook
  • Google+
  • Linkedin
  • Instagram
  • Blogger
  • Wordpress
  • Tumblr
  • QQ
  • Weibo
kyun kyun kyun kyun xiaokyun xiaokyun

WordPress Force SSL Logins

To Force SSL Logins
The constant FORCE_SSL_LOGIN can be set to true to force all logins to happen over SSL. This (and all other such definitions) must be placed before

/* That’s all, stop editing! Happy blogging. */
…
require_once(ABSPATH . ‘wp-settings.php’);
in the file, otherwise they will not take effect.

Example

define(‘FORCE_SSL_LOGIN’, true);

To Force SSL Logins and SSL Admin Access
The constant FORCE_SSL_ADMIN can be set to true to force all logins and all admin sessions to happen over SSL.

Example

define(‘FORCE_SSL_ADMIN’, true);

Published by

@XiaoKyun

双鱼男,过分热心的好人。 View all posts by @XiaoKyun

Posted on 2011-11-03Author @XiaoKyunTags https, Login, SSL, Wordpress, 安全

Post navigation

Previous Previous post: Linux上vi(vim)编辑器使用教程
Next Next post: Sourceforge files upload
Proudly powered by WordPress