How to make Renamed- wp-login page SSL
-
Hi Guys,
I use Rename wp-login.php with the HTTPS plugin for my SSL.
for instance i changed my wp-admin to
https://www.example.com/custom-login/issue 1,
When My admin enter https://www.example.com/custom-login/, it didn’t redirect to ssl like https://www.example.com/custom-login/issue 2
For now, my admin users can login via https://www.example.com/custom-login/I tried to add URL filter by adding /custom-login/ but it didn’t work.
Qns 1
I saw the FAQ coding below. Will this make all access of /custom-login/ turn into auto SSL HTTPS site?Qns 2
If yes how should I put this code, and where?function custom_force_ssl( $force_ssl, $post_id = 0, $url = '' ) { if ( $post_id == 5 ) { $force_ssl = true; } return $force_ssl; } add_filter('force_ssl' , 'custom_force_ssl', 10, 3);
Thanks.
- The topic ‘How to make Renamed- wp-login page SSL’ is closed to new replies.