10/10/2018, 09:53
SEO (requires Apache + mod_rewrite installed) - mod rewrite là gì ? làm cách nào ?
em làm CS-cart, trong addon có phần SEO (requires Apache + mod_rewrite installed)
khi active nó thì nó báo ko thể kích hoạt dc vì ko có mod rewrite, vập làm sao để có nó trên host linux ?
khi active nó thì nó báo ko thể kích hoạt dc vì ko có mod rewrite, vập làm sao để có nó trên host linux ?
Bài liên quan





vậy là phải tạo cái .htacess à ? vậy nội dung của nó là gì ??
mấy ngày nay mò cái sitemap generator cho CS-cart, làm mãi chả dc, hiện tại site em vẫn mất biệt, ko thấy trên google. buồn quá đi.
Đây nè em. Tạo file .htaccess với nội dung:
<IfModule mod_rewrite.c> RewriteEngine on # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cscart # So "RewriteBase" should be: # RewriteBase /store/cscart RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php?sef_rewrite=1 [L,QSA] </IfModule>yeah, em làm nó chạy rồi anh
cảm ơn anh nhiều
[=========> Bổ sung bài viết <=========]
đây nè bạn
http://www.fileden.com/files/2009/2/...angtho.com.zip