Change WordPress back from https to http

WP-Admin is locked after switching to HTTPS, WordPress can no longer be opened, go back to HTTP.

If something goes wrong during switching WordPress from HTTP to HTTPS, because the SSL certificate and web server configuration is not consistent, you may need to switch back to HTTP for further action, but you are locked out from WP-Admin.

Change WordPress back to HTTP

Remedy to change via phpMyAdmin in the SQL table wp_options and the field siteurl and home, with change the option_value to the desired URL.

WordPress back from https to http, Remedy to change via phpMyAdmin in the SQL table wp_options

The URL here corresponds to this one under Settings – Generally, WordPress-Address (URL) and Website-Address (URL).

WordPress back from https to http, WordPress Admin Settings

Check other WordPress settings

You may need to edit the wp-config.php configuration file to disable SSL.

define('FORCE_SSL_ADMIN', true);

Set the value to false, or comment out the line with a hash.

define('FORCE_SSL_ADMIN', false);

Check Apache RewriteRule

Also, it may be important to note that if Apache RewriteRule HTTPS is enabled, it can be reset.

RewriteEngine on
RewriteCond %{SERVER_NAME} =www.mydomain.com
RewriteRule ^https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]

This could be in the .htaccess file, or in the web server configuration under VirtualHost of the appropriate domain.

WP-Admin-Dashboard

WP Admin is the classic WordPress dashboard, so to speak. If you look at WordPress tutorials online, you can often find images of this dashboard there. You can do almost anything in your main WordPress.com dashboard, but if you prefer you can use WP Admin instead.

Grandstream PBX Night Circuit

Enable Asterisk night switching on Grandstream’s UCM6202

Asterisk Software to control a switchboard (PBX), under GNU General Public License (GPL).

Asterisk enables a wide range of applications for use as a software-based switchboard. The open source software is suitable for use as an IP PBX under Linux and runs on different computer platforms. An Asterisk IP PBX with extensive CTI functionalities on the ARM processor is the UCM6202 from Grandstream Networks.

Employees in companies are used to activating the night switch at the end of a working day from their switchboard, the switching and announcement of office hours could of course also take place automatically, but if the working hours are irregular, this option is not desired.

Creating a day/night circuit via a programmable button on the phone is described here in this post. The first step is to configure it on the UCM6202.

Grandstream UCM6202 WebUI

In the main navigation of the UCM6202 under Inbound RoutesSet Global Inbound Mode – Enable Inbound Multiple Mode is activated.

Main navigation of the UCM6202 is available under Inbound Routes - Set Global Inbound Mode - Enable Inbound Multiple Mode
Content of Set Global Inbound Mode

For the Inbound Route, Inbound Multiple Mode must be activated.

UCM6202 Inbound Route

In the Mode 1 section, our Voicemail Group is selected here.

UCM6202 Inbound Multiple Mode

With the key pressed, incoming calls are routed directly to the answering machine (voicemail), where an announcement can be played back with office hours.

On the phone, here the GXP2135, a programmable virtual multi-purpose button is edited.

GXP2135

By clicking on Edit VPK the mode BLF (Busy Lamp Field) is selected, the value (Value) is the BLF Subscription Number which was previously entered in the PBX under Inbound Routes – Set Global Inbound Mode, the BLF Subscription Number 60.

GXP2135 Edit VPK
Content of Virtual Multi-Purpose Keys 2

The button (top right) now lights up green when night shift is disabled, and red when night shift is activated.

AM GXP2135
Figure: GRANDSTREAM GXP2135