Wednesday 13 September 2017

WordPress - Administration Over SSL

There are at least two ways to redirect over a SSL connection the WordPress administration.

The most usual (and recommended ways) are:

1. In the wp-config.php file

Insert into the wp-config.php file the following line:

define('FORCE_SSL_ADMIN', true);

It must be inserted somewhere above wp-settings.php location.

2. Modify the Apache virtual host settings (or .htaccess file or the main httpd.conf)

# Force SSL for wp-admin folder and wp-login.php file
    RewriteEngine On
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^/?(wp-admin/|wp-login\.php){REQUEST_URI}%{QUERY_STRING} [R=301,QSA,L]

# End Force SSL...

For both ways, of course, you must also already have SSL configured on the server and a (virtual) host configured for the secure server before your site will work properly with these constants set to true.

A more comprehensive reference here:


  1. Follow the prompts on net site} to make a one-time fee to fund your account, or hyperlink a checking account to routinely withdraw money everytime you want to place a wager. Fantasy sports If you want to specifically 토토사이트 consideration to} drafting fantasy sports games and enjoying in} other fantasy fanatics for money, search for a gambling website that provides fantasy gambling. While fantasy sites typically supply other forms of sports gambling, there are a handful that solely deal in fantasy games. A parliamentary inquiry has been launched into online gambling and its harms, together with gambling apps and ‘gambling-like activities’ similar to social casino games or loot packing containers.