wordpress http to https windows server

for anyone interested the hosting company is going to convert wp install to linux so that should sort things. found this plugin https://wordpress.org/plugins/really-simple-ssl/ which could be good for anyone having issues on linux.

Certain header elements not served over https

I’m not sure about the first one, the profile, but the rel=”alternate”s and the rel=”shortlink” provide different formats for different readers, like XML and RSS feeds. These should be generated by your site URL. In your dashboard, go to Settings > General, and make sure you’re using https:// instead of http:// in the URL. You … Read more

How to set up HTTPS WordPress from Install Step?

I tried posting this in comments but it kept stripping some of it so I figured using this I can be sure my response formats correctly….. Mixed-content errors can be a PITA to run down…try viewing the source for any page that gives that warning and search for instances of http: – often it’s in … Read more

un-loading https

Not tested, but give it a shot: function my_em_force_ssl() { if ( ! is_ssl() && em_is_event_page() ) { wp_redirect( str_replace( ‘http:’, ‘https:’, get_permalink() ) ); exit; } elseif ( is_ssl() && ! em_is_event_page() && $_SERVER[‘REQUEST_METHOD’] === ‘GET’ ) { wp_redirect( str_replace( ‘https:’, ‘http:’, add_query_arg( $_GET, site_url( $GLOBALS[‘wp’]->request ) ) ) ); exit; } } add_action( … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)