Serving WordPress menu links in only HTTPS or HTTP depending on how it's accessed

Posted by Gelatin on Pro Webmasters See other posts from Pro Webmasters or by Gelatin
Published on 2014-01-18T02:59:27Z Indexed on 2014/08/19 10:32 UTC
Read the original article Hit count: 142

Filed under:
|

I have a WordPress site which uses WordPress HTTPS to enable SSL when users access it via that protocol. However, currently the menu links point back to the HTTP version.

I want users to be linked to HTTPS pages while accessing the site over HTTPS, but not when accessing it over HTTP. Is this possible?

Note: I have tried changing the menu options to use // and / for the links, but in both cases they are just rendered as HTTP links.

© Pro Webmasters or respective owner

Related posts about Wordpress

Related posts about ssl