Sửa lỗi Publishing failed. You are probably offline wordpress
Để 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 Publishing failed. You are probably offline wordpress](https://nguyendangmien.com/wp-content/uploads/2023/02/Publishing-failed.-You-are-probably-offline.jpg)