Fix Lỗi "Not Found The requested URL ....a 404 Not Found error was encountered whil "
Cho em hỏi về lỗi này với, tìm mãi không có nên đành hỏi khi minh vào 1 trang sản phẩm hay bất kỳ trang nào đều bị lỗi
============================ Not FoundThe requested URL /electronics/cell-phones.html was not found on this server Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ============================ Cách Fix lỗi: Bạn bật chế độ mod_rewrite nhưng thiếu file .htaccess vào thư mục chứa source web: public_html tạo file .htaccess với nội dung sau: ======================= # 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> # END WordPress ====================== |
Bây giờ là 02:26 AM. Giờ GMT +7 |
Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.