-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
executable file
·53 lines (34 loc) · 1.54 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#Cache
<FilesMatch "\.(html|htm|php|css|js|woff|png|jpg)$">
#Header set Cache-Control "max-age=604800, private, proxy-revalidate"
</FilesMatch>
#normas rewrite
#Options +FollowSymLinks
RewriteEngine On
#Redirección www
RewriteCond %{HTTP_HOST} ^www.mireiafacal.com [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/$1 [L,R=301]
#Redirecciones Dominios
RewriteCond %{HTTP_HOST} ^www.mireiafacal.es$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^mireiafacal.es$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^www.gyrotonic-coruna.com$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^gyrotonic-coruna.com$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^www.xn--gyrotonic-corua-crb.com$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^xn--gyrotonic-corua-crb.com$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^www.gyrotonic-coruna.es$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^gyrotonic-coruna.es$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^www.xn--gyrotonic-corua-crb.es$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^xn--gyrotonic-corua-crb.es$ [NC]
RewriteRule ^(.*)$ http://mireiafacal.com/ [R=301,L]
#Redireccion 404
#Error 404:
ErrorDocument 404 /index.html