By Billy Hammond (Copyright AELS)

I made the foolish mistake of changing my wordpress General Settings Site URL link and WordPress URL link from “http” to “https” since I was planning to implement SSL. In doing so, I inadvertently locked myself out of my site and effectively stopped my site from displaying.

After two hours of reading all kinds of articles about setting up SSL on WordPress, I finally figured I’d try editing the wp-config.php file by adding the following:

define('FORCE_SSL_ADMIN', false);

In a normal setup for SSL you would use:

define('FORCE_SSL_ADMIN', true);

but I figured that this would disable the https checking and let me log into my site.

It worked!!

Now I can set up the SSL (.htaccess, wp-config.php files, etc.) when I’m not so rushed.

WordPress: httpshttpに戻す!

SSLを導入するためにWordPress内のGeneral Settingshttphttpsに替えた。それはとんでもない失敗だった!!ダッシュボードにログインできなくなった!!更にWordPressブログも表示できなくなった。

2時間を掛けてSSLセットアップのファイルを何個も読んでから、やっと解決方法を考えた。

wp-config.phpファイルに

define('FORCE_SSL_ADMIN', false);

を追加した。

通常のセットアップには

define('FORCE_SSL_ADMIN', true);

を加えるので、それを反対にすれば、SSL確認を無効にし、サイトにログインできると思った。

成功した!!

これで急いでいない時にゆっくりSSLを設定(.htaccess wp-config.phpなどのファイル)変更ができる!!

By Billy Hammond (Copyright AELS)

************

English books published by AELS

(AELS出版英語書籍リスト)

 

I. Majoh Gakuin and Hikari Juku – Japanese Witch Schools Trilogy

1. Majoh Gakuin & Hikari Juku – Japanese Witch Schools

2. Lost Witch (The second book)

3. Fate & Magic (The final book in the trilogy)

II. Brindle – Scryer Extraordinaire Trilogy

1. Brindle – Scryer Extraordinaire

2. Brindle – Scryer Extraordinaire – Returns

3. Brindle – Scryer Extraordinaire – Challenges (The final book in the trilogy)

III. Fantasy fiction set in Japan

1. 21st Century Ninja

2. Regressed

3. Japanese Woman

IV. Fantasy fiction set outside of Japan

1. Dimension Jumpers

************