How to use permalink that can redirect to an https page
-
I’m currently using a login redirect code for my login link
<?php echo wp_login_url( get_permalink() ); ?>
which basically logins in the user and redirects them back to the page they were browsing.
The problem is that it redirects them back to http even though I have forced SSL for my login sessions. How do I get it to redirect to an https version of the current page they are browsing.
- The topic ‘How to use permalink that can redirect to an https page’ is closed to new replies.