Guest User

Untitled

a guest
Jan 26th, 2018
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Solidaridadlatina htaccess file
  2. #RewriteOptions inherit
  3. # BEGIN W3TC Browser Cache
  4. <IfModule mod_mime.c>
  5.     AddType text/css .css
  6.     AddType text/x-component .htc
  7.     AddType application/x-javascript .js
  8.     AddType application/javascript .js2
  9.     AddType text/javascript .js3
  10.     AddType text/x-js .js4
  11.     AddType text/html .html .htm
  12.     AddType text/richtext .rtf .rtx
  13.     AddType image/svg+xml .svg
  14.     AddType text/plain .txt
  15.     AddType text/xsd .xsd
  16.     AddType text/xsl .xsl
  17.     AddType text/xml .xml
  18.     AddType video/asf .asf .asx .wax .wmv .wmx
  19.     AddType video/avi .avi
  20.     AddType image/bmp .bmp
  21.     AddType application/java .class
  22.     AddType video/divx .divx
  23.     AddType application/msword .doc .docx
  24.     AddType application/vnd.ms-fontobject .eot
  25.     AddType application/x-msdownload .exe
  26.     AddType image/gif .gif
  27.     AddType application/x-gzip .gz .gzip
  28.     AddType image/x-icon .ico
  29.     AddType image/jpeg .jpg .jpeg .jpe
  30.     AddType image/webp .webp
  31.     AddType application/json .json
  32.     AddType application/vnd.ms-access .mdb
  33.     AddType audio/midi .mid .midi
  34.     AddType video/quicktime .mov .qt
  35.     AddType audio/mpeg .mp3 .m4a
  36.     AddType video/mp4 .mp4 .m4v
  37.     AddType video/mpeg .mpeg .mpg .mpe
  38.     AddType application/vnd.ms-project .mpp
  39.     AddType application/x-font-otf .otf
  40.     AddType application/vnd.ms-opentype ._otf
  41.     AddType application/vnd.oasis.opendocument.database .odb
  42.     AddType application/vnd.oasis.opendocument.chart .odc
  43.     AddType application/vnd.oasis.opendocument.formula .odf
  44.     AddType application/vnd.oasis.opendocument.graphics .odg
  45.     AddType application/vnd.oasis.opendocument.presentation .odp
  46.     AddType application/vnd.oasis.opendocument.spreadsheet .ods
  47.     AddType application/vnd.oasis.opendocument.text .odt
  48.     AddType audio/ogg .ogg
  49.     AddType application/pdf .pdf
  50.     AddType image/png .png
  51.     AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
  52.     AddType audio/x-realaudio .ra .ram
  53.     AddType image/svg+xml .svg .svgz
  54.     AddType application/x-shockwave-flash .swf
  55.     AddType application/x-tar .tar
  56.     AddType image/tiff .tif .tiff
  57.     AddType application/x-font-ttf .ttf .ttc
  58.     AddType application/vnd.ms-opentype ._ttf
  59.     AddType audio/wav .wav
  60.     AddType audio/wma .wma
  61.     AddType application/vnd.ms-write .wri
  62.     AddType application/font-woff .woff
  63.     AddType application/font-woff2 .woff2
  64.     AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
  65.     AddType application/zip .zip
  66. </IfModule>
  67. <IfModule mod_expires.c>
  68.     ExpiresActive On
  69.     ExpiresByType text/css A31536000
  70.     ExpiresByType text/x-component A31536000
  71.     ExpiresByType application/x-javascript A31536000
  72.     ExpiresByType application/javascript A31536000
  73.     ExpiresByType text/javascript A31536000
  74.     ExpiresByType text/x-js A31536000
  75.     ExpiresByType text/html A3600
  76.     ExpiresByType text/richtext A3600
  77.     ExpiresByType image/svg+xml A3600
  78.     ExpiresByType text/plain A3600
  79.     ExpiresByType text/xsd A3600
  80.     ExpiresByType text/xsl A3600
  81.     ExpiresByType text/xml A3600
  82.     ExpiresByType video/asf A31536000
  83.     ExpiresByType video/avi A31536000
  84.     ExpiresByType image/bmp A31536000
  85.     ExpiresByType application/java A31536000
  86.     ExpiresByType video/divx A31536000
  87.     ExpiresByType application/msword A31536000
  88.     ExpiresByType application/vnd.ms-fontobject A31536000
  89.     ExpiresByType application/x-msdownload A31536000
  90.     ExpiresByType image/gif A31536000
  91.     ExpiresByType application/x-gzip A31536000
  92.     ExpiresByType image/x-icon A31536000
  93.     ExpiresByType image/jpeg A31536000
  94.     ExpiresByType image/webp A31536000
  95.     ExpiresByType application/json A31536000
  96.     ExpiresByType application/vnd.ms-access A31536000
  97.     ExpiresByType audio/midi A31536000
  98.     ExpiresByType video/quicktime A31536000
  99.     ExpiresByType audio/mpeg A31536000
  100.     ExpiresByType video/mp4 A31536000
  101.     ExpiresByType video/mpeg A31536000
  102.     ExpiresByType application/vnd.ms-project A31536000
  103.     ExpiresByType application/x-font-otf A31536000
  104.     ExpiresByType application/vnd.ms-opentype A31536000
  105.     ExpiresByType application/vnd.oasis.opendocument.database A31536000
  106.     ExpiresByType application/vnd.oasis.opendocument.chart A31536000
  107.     ExpiresByType application/vnd.oasis.opendocument.formula A31536000
  108.     ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
  109.     ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
  110.     ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
  111.     ExpiresByType application/vnd.oasis.opendocument.text A31536000
  112.     ExpiresByType audio/ogg A31536000
  113.     ExpiresByType application/pdf A31536000
  114.     ExpiresByType image/png A31536000
  115.     ExpiresByType application/vnd.ms-powerpoint A31536000
  116.     ExpiresByType audio/x-realaudio A31536000
  117.     ExpiresByType image/svg+xml A31536000
  118.     ExpiresByType application/x-shockwave-flash A31536000
  119.     ExpiresByType application/x-tar A31536000
  120.     ExpiresByType image/tiff A31536000
  121.     ExpiresByType application/x-font-ttf A31536000
  122.     ExpiresByType application/vnd.ms-opentype A31536000
  123.     ExpiresByType audio/wav A31536000
  124.     ExpiresByType audio/wma A31536000
  125.     ExpiresByType application/vnd.ms-write A31536000
  126.     ExpiresByType application/font-woff A31536000
  127.     ExpiresByType application/font-woff2 A31536000
  128.     ExpiresByType application/vnd.ms-excel A31536000
  129.     ExpiresByType application/zip A31536000
  130. </IfModule>
  131. <IfModule mod_deflate.c>
  132.         AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
  133.     <IfModule mod_mime.c>
  134.         # DEFLATE by extension
  135.         AddOutputFilter DEFLATE js css htm html xml
  136.     </IfModule>
  137. </IfModule>
  138. <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
  139.     FileETag MTime Size
  140.     <IfModule mod_headers.c>
  141.          Header set X-Powered-By "W3 Total Cache/0.9.6"
  142.     </IfModule>
  143. </FilesMatch>
  144. <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$">
  145.     FileETag MTime Size
  146.     <IfModule mod_headers.c>
  147.         Header append Vary User-Agent env=!dont-vary
  148.          Header set X-Powered-By "W3 Total Cache/0.9.6"
  149.     </IfModule>
  150. </FilesMatch>
  151. <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
  152.     FileETag MTime Size
  153.     <IfModule mod_headers.c>
  154.          Header set X-Powered-By "W3 Total Cache/0.9.6"
  155.     </IfModule>
  156. </FilesMatch>
  157. <FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$">
  158.     <IfModule mod_headers.c>
  159.          Header unset Last-Modified
  160.     </IfModule>
  161. </FilesMatch>
  162. # END W3TC Browser Cache
  163. # BEGIN W3TC Page Cache core
  164. <IfModule mod_rewrite.c>
  165.     RewriteEngine On
  166.     RewriteBase /
  167.     RewriteCond %{HTTP:Accept-Encoding} gzip
  168.     RewriteRule .* - [E=W3TC_ENC:_gzip]
  169.     RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
  170.     RewriteRule .* - [E=W3TC_PREVIEW:_preview]
  171.     RewriteCond %{REQUEST_METHOD} !=POST
  172.     RewriteCond %{QUERY_STRING} =""
  173.     RewriteCond %{REQUEST_URI} \/$
  174.     RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
  175.     RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
  176.     RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
  177. </IfModule>
  178. # END W3TC Page Cache core
  179. # BEGIN WordPress
  180. <IfModule mod_rewrite.c>
  181. RewriteEngine On
  182. RewriteBase /
  183. RewriteRule ^index\.php$ - [L]
  184. RewriteCond %{REQUEST_FILENAME} !-f
  185. RewriteCond %{REQUEST_FILENAME} !-d
  186. RewriteRule . /index.php [L]
  187. </IfModule>
  188.  
  189. # END WordPress
RAW Paste Data