Làm thế nào để chạy nhiều domain trên 1 source wordpress
Lượt xem: 3214
Để chạy nhiều domain trên 1 source wordpress chúng ta thêm dòng lệnh sau vào file wp-config.php là được
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
Có thể bạn quan tâm
-
Cuộc sống là sự lựa chọn. Nhưng cần nhớ 5 điều này để luôn thành công -
Bỏ chức năng sửa code trong admin wordpress -disable editor code in admin wordpress -
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.