Fixing the "Back to site" link on the login page (https -> http)
-
Hi,
I run a Multisite network that uses https/ssl for the admin. The front-end is not behind https, though.
On the login page (https://somesite.com/wp-login.php), there is a link back to the site at the bottom, below the login form. This link actually links to the https version of my site (ie. https://somesite.com/).
I’d like this to link to the http version of the site, if that makes sense.
I’ve taken a look at wp-login.php and it is calling this to construct that link:
home_url( '/' )
This seems perfectly reasonable to do, except that home_url automatically puts https in front of the home url when the function is called on an SSL’d page.
Is there a way to over-ride this?
Thanks
- The topic ‘Fixing the "Back to site" link on the login page (https -> http)’ is closed to new replies.