RewriteRule inici$ index.php?idioma=ca [L]
RewriteRule inicio$ index.php?idioma=es [L]
RewriteRule valoracions$ valoracions.php?idioma=ca [L]
RewriteRule valoraciones$ valoracions.php?idioma=es [L]
RewriteRule nosaltres$ nosaltres.php?idioma=ca [L]
RewriteRule nosotros$ nosaltres.php?idioma=es [L]
RewriteRule serveis$ serveis.php?idioma=ca [L]
RewriteRule servicios$ serveis.php?idioma=es [L]
RewriteRule contacte$ contacte.php?idioma=ca [L]
RewriteRule contacto$ contacte.php?idioma=es [L]
RewriteRule administracio-finques$ administracio.php?idioma=ca [L]
RewriteRule administracion-fincas$ administracio.php?idioma=es [L]
RewriteRule pisos-cases$ recomenats.php?tipus=3&idioma=ca [L]
RewriteRule ^(locals-oficines)$ recomenats.php?tipus=7&idioma=ca [L]
RewriteRule ^(naus-industrials)$ recomenats.php?tipus=6&idioma=ca [L]
RewriteRule ^(solars-parceles)$ recomenats.php?tipus=8&idioma=ca [L]
RewriteRule ^(parquings)$ recomenats.php?tipus=5&idioma=ca [L]
RewriteRule ^(oportunitats-bancaries)$ recomenats.php?tipus=0&idioma=ca [L]
RewriteRule immobles-singulars$ recomenats.php?tipus=9&idioma=ca [L]
RewriteRule ^(pisos-casas)$ recomenats.php?tipus=3&idioma=es [L]
RewriteRule ^(locales-oficinas)$ recomenats.php?tipus=7&idioma=es [L]
RewriteRule ^(naves-industriales)$ recomenats.php?tipus=6&idioma=es [L]
RewriteRule ^(solares-parcelas)$ recomenats.php?tipus=8&idioma=es [L]
RewriteRule ^(parkings)$ recomenats.php?tipus=5&idioma=es [L]
RewriteRule ^(oportunidades-bancarias)$ recomenats.php?tipus=0&idioma=es [L]
RewriteRule inmuebles-singulares$ recomenats.php?tipus=9&idioma=es [L]
RewriteRule fitxa/(.*)\.html$ detall.php?referencia=$1&idioma=ca [L]
RewriteRule ficha/(.*)\.html$ detall.php?referencia=$1&idioma=es [L]
RewriteRule fitxaPDF/(.*)\.html$ fitxaPDF.php?referencia=$1&idioma=ca [L]
RewriteRule fichaPDF/(.*)\.html$ fitxaPDF.php?referencia=$1&idioma=es [L]
RewriteRule ^(.*)$ http://RRR.es/$1 [L,R=301]
<IfModule mod_deflate.c>
#The following line is enough for .js and .css
AddOutputFilter DEFLATE js css
AddOutputFilterByType DEFLATE text/plain text/xml application/xhtml+xml text/css application/xml application/rss+xml application/atom_xml application/x-javascript application/x-httpd-php application/x-httpd-fastphp text/html
#The following lines are to avoid bugs with some browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
<Files *.js>
SetOutputFilter DEFLATE
</Files>
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
mod_gzip_item_include file \.css$
mod_gzip_item_include file \.js$
mod_gzip_item_include mime ^application/javascript$
mod_gzip_item_include mime ^application/x-javascript$
</ifModule>
# BEGIN EXPIRES
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 10 days"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/plain "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-icon "access plus 1 year"
</IfModule>
# END EXPIRES
<IfModule mod_headers.c>
<FilesMatch "\.(js|css|xml|gz)$">
Header append Vary Accept-Encoding
</FilesMatch>
<FilesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</FilesMatch>
<FilesMatch "\.(css)$">
Header set Cache-Control "public"
</FilesMatch>
<FilesMatch "\.(js)$">
Header set Cache-Control "private"
</FilesMatch>
<FilesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</FilesMatch>
</IfModule>