Sửa lỗi Publishing failed. You are probably offline wordpress

4.9/5 - (394 votes)

Để sửa lỗi này, chúng ta chỉ thêm dòng code dưới vào file wp-config.php là xong.

define('FORCE_SSL_ADMIN', true);
// in some setups HTTP_X_FORWARDED_PROTO might contain
// a comma-separated list e.g. http,https
// so check for https existence
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
$_SERVER['HTTPS']='on';

Publishing failed. You are probably offline wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *