.htaccess para optimizar velocidad de carga | Develop Site

  1. <ifmodule mod_expires.c>
  2. ExpiresActive On
  3. ExpiresDefault A3600
  4. <filesmatch ".(jpg|JPG|gif|GIF|png|css|ico|js)$">
  5. ExpiresDefault "access plus 7 day"
  6. </filesmatch>
  7. </ifmodule>
  8.  
  9. AddHandler application/x-httpd-php56 .php
  10.  
  11. # BEGIN WordPress
  12. <IfModule mod_rewrite.c>
  13. RewriteEngine On
  14. RewriteBase /
  15. RewriteRule ^index\.php$ - [L]
  16. RewriteCond %{REQUEST_FILENAME} !-f
  17. RewriteCond %{REQUEST_FILENAME} !-d
  18. RewriteRule . /index.php [L]
  19. </IfModule>
  20. # END WordPress# BEGIN WordPress
Español