WordPress.org

Support

Support » How-To and Troubleshooting » http links changing to https when I login to wp-admin

http links changing to https when I login to wp-admin

  • Hi,

    Each time we login to wp-admin, links in the navigation bar that should be http change to https …

    To reproduce I browsed to http://www.mysite.com in 1 tab of firefox. I hovered over the nav bar and the links were http. I logged into wp-admin in another tab, then hovered over the nav links in the other tab (after refreshing the page) and they were all https. If I sign out and refresh the page again, they go back to http.

    This causes mixed-content errors, which is bad.

    Is this a bug with nav, super-cache, wordpress in general? Is there a setting I can tweak somewhere to prevent this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • when I delete the wp-supercache the problem goes away for a while.

    Generally you want to enforce ssl on login pages and for all pages on your admin section. This is for security purposes. There are tags you can put in your wp-config file to remove this though. If I remember correctly it is define(‘force_ssl_admin’, false) but use at your own peril.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘http links changing to https when I login to wp-admin’ is closed to new replies.