Hướng dẫn sửa lỗi 403 site-inaccessible jetpack cho wordpress

tinhhoaclbk

Thành viên
Tham gia
2/7/2016
Bài viết
20
Khi bạn gặp phải lỗi như ở tiêu đề đã nói, bạn chỉ cần sửa lại file .htacess
Mã:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# BEGIN Protect XML-RPC
<Files "xmlrpc.php">
Order Deny,Allow
Deny from all
</Files>
# END Protect XML-RPC


# END WordPress
Sau đó sửa dòng
<Files "xmlrpc.php">
Order Deny,Allow
Deny from all
</Files>

Thành
Mã:
<FilesMatch "xmlrpc\.php$">
Satisfy Any
Allow from all
</FilesMatch>
Vậy là xong, xin cảm ơn ạ
 
×
Quay lại
Top