How to switch static files back to using HTTP instead of HTTPS?

Rocky. You can try these: make sure the values changed in database If you can’t login to wp-admin > settings to confirm that, you can go to database, wp_options table and look for siteurl and home values add code to wp-config.php Add these lines to wp-config.php define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’); Clear your cache Make sure that you … Read more

Moving site from HTTP to HTTPS

This seems like a webhosting error. Specifically, the webserver settings error. I vote not to switch to HTTPS 🙂 This may be a certificate setting error (not a wrong certificate itself) or routing for HTTPS requests.

Navigation Bar displays vertically on Mozilla

The problem is, browsers are blocking assets due to mixed content issues. while the user is visiting the site using SSL (https), much of the content, for example, some stylesheets, are being requested as non-ssl links (http). Check out your console in chrome dev tools for a listing of these issues. Basically, you’ll want to … Read more

My WP Website Shows HTTP ERROR 500

For future reference you could use the define( ‘WP_DEBUG’, true ); at your wp_config to easily spot errors and turn to false when you are done. Enabling WP_DEBUG will cause all PHP errors, notices and warnings to be displayed. This is likely to modify the default behaviour of PHP which only displays fatal errors and/or … Read more

https images not displaying

Place this code in your functions.php. It will filter all of the content before serving on application layer. <?php function filterContent($content) { $upateURL = array ( ‘http://www.example.com/wp-content/uploads’ => ‘https://www.example.com/wp-content/uploads’, ); foreach ($upateURL as $key => $value) { $content = str_replace($key, $value, $content); } return $content; } add_filter(‘the_content’, ‘filterContent’); ?>

Modify wp headers on specific page

from How can I change HTTP headers only to posts of a specific category from a plugin: add_action( ‘template_redirect’, ‘update_header_cache’ ); function update_header_cache() { if( is_single( 1234) ) { header(‘Cache-Control: no-store, no-cache, must-revalidate, max-age=0’); header(‘Pragma: no-cache’); header(‘Expires: Thu, 01 Dec 1990 16:00:00 GMT’); } }

Using the JSON API via HTTPS and HTTP

You can serve your site on both protocols http and https. This might be problem if you care about SEO (duplicate content). You can use 301 redirection to force users to be redirected from http to https. Old app will be slightly slower because of redirection but it will be working. This might be problem … Read more

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