HTTPS permalinks resulting in 404

You can use template_redirect to force all the http traffic going through WordPress to use https: function force_secure_navigation() { if ( ! is_ssl() ) : $url=”https://” . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’]; wp_redirect( $url, 301 ); exit(); endif; } add_action( ‘template_redirect’, ‘force_secure_navigation’, 1 ); Remember that if you are working with https it’s important to also serve … Read more

My site thinks it’s secure when it is fact not

wp_config was set up to force SSL by overwriting $_SERVER[‘HTTPS’], I respolved the issue. I assume someone was trying to make SSL work behind the proxy at one point. It would actually be a much better solution ( specifically for asset links ) to use the double slash //

i can’t enter to control panel of my WordPress site

EASIEST METHOD: Under the error on the page your getting click i understand the risks and continue on to your site. NEXT EASIEST METHOD: Add this to your wp-config.php: define(‘WP_HOME’,’http://www.example.com’); define(‘WP_SITEURL’,’http://www.example.com’); (replace example with your url) NEXT METHOD: Go into your myphp admin open your database and go to the options table. In there look … Read more

Create a new hyperlink to wordpress blog

Thanks for your help, Jack, it was really useful. What I ended up doing was using the export and import function in the control panel. I returned the original blog to the main server directory. I then created a new installation of WordPress inside my website’s directory. It was just then a case of exporting … Read more

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