-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.htaccess
29 lines (23 loc) · 1.24 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
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.schooloffreelancing.com/$1 [R,L]
RewriteCond %{HTTP_HOST} !^www\.schooloffreelancing\.com
RewriteRule (.*) http://www.schooloffreelancing.com/$1 [R=301,L]
RewriteCond %{HTTP_REFERER} !^http://schooloffreelancing.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://schooloffreelancing.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.schooloffreelancing.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.schooloffreelancing.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://schooloffreelancing.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://schooloffreelancing.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.schooloffreelancing.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.schooloffreelancing.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
RewriteEngine On
RewriteRule (.*)index\.html$ /$1 [NS,R=301,L]
DirectoryIndex index.html
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php70” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php70___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit