Advertisement
niammuddin

Optimasi Wordpress Dengan .htaccess

Jan 25th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. # BEGIN WordPress
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. RewriteRule ^index\.php$ - [L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteRule . /index.php [L]
  9. </IfModule>
  10.  
  11. <IfModule mod_headers.c>
  12. Header set Connection keep-alive
  13. </IfModule>
  14.  
  15. <IfModule mod_expires.c>
  16. ExpiresActive On
  17. ExpiresDefault "access plus 1 month"
  18. ExpiresByType image/x-icon "access plus 1 year"
  19. ExpiresByType image/gif "access plus 1 month"
  20. ExpiresByType image/png "access plus 1 month"
  21. ExpiresByType image/jpg "access plus 1 month"
  22. ExpiresByType image/jpeg "access plus 1 month"
  23. Header unset ETag
  24. FileETag None
  25. </IfModule>
  26. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement