Category Archives: Howto Tutorials (EN)

Howto Tutorials English Contribution Howto’s and Tutorials technical contribution for Professionals

Change WordPress back from https to http

WP-Admin is locked after switching to HTTPS, the website can no longer be opened

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.

Solution

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.

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

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);

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.

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.

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

Content of Set Global Inbound Mode

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

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

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.

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.

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.

Figure: GRANDSTREAM GXP2135