Coba buat file .htaccess di folder root (/public_html/folder_tempat_script_dabr_yg_agan_simpan)
File .htaccess saya seperti ini
PHP Code:
# URL rewriting RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
<IfModule header_module>
# 1 week cache
<FilesMatch "\.(png|ico)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
</IfModule>
0 comments:
Post a Comment