-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.htaccess
119 lines (85 loc) · 3.19 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule LiteSpeed>
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule \.object-cache\.ini - [F,L]
### marker FAVICON start ###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
### marker FAVICON end ###
### marker CORS start ###
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font\.css)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
### marker CORS end ###
### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###
# New GoBrik php server
# Redirect /workshop /en/courses.php#courses/review-course/64ef4e60b58f340028efc7fa/
# Redirect /tot16 /en/go.php#courses/review-course/64f14f46b135d3002821874b/
# Redirect /ToT16 /en/go.php#courses/review-course/64f14f46b135d3002821874b/
# Redirect /TOT16 /en/go.php#courses/review-course/64f14f46b135d3002821874b/
# Redirect /tot-16 /en/go.php#courses/review-course/64f14f46b135d3002821874b/
# Redirect /english-workshop /en/courses.php#courses/review-course/65030ad9b4952a00290888e7/
# Enable rewrite engine
DirectoryIndex index.php
RewriteEngine On
AddType 'text/html; charset=UTF-8' html
# Redirect direct visit to https://gobrik.com/ to https://gobrik.com/en/
# and show the index.php file
RewriteRule ^$ /en/index.php?v=3 [R=301,L]
# Exclude specific directories from the global redirect
RewriteCond %{REQUEST_URI} !^/fonts(/|$)
RewriteCond %{REQUEST_URI} !^/dials(/|$)
RewriteCond %{REQUEST_URI} !^/icons(/|$)
RewriteCond %{REQUEST_URI} !^/images(/|$)
RewriteCond %{REQUEST_URI} !^/old(/|$)
RewriteCond %{REQUEST_URI} !^/sbgs(/|$)
RewriteCond %{REQUEST_URI} !^/testing(/|$)
RewriteCond %{REQUEST_URI} !^/trash(/|$)
RewriteCond %{REQUEST_URI} !^/webp(/|$)
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|webp|gif|js|swf|svg)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
<FilesMatch "\.(css)$">
Header set Cache-Control "max-age=536000, public"
</FilesMatch>
Redirect /index.php /en/index.php
Redirect /index /en/index.php
Redirect /index.html /en/index.php
Redirect /market /market.php
Redirect /marketplace/ /market.php
Redirect /shop /en/shop.php
Redirect /shop/ /en/shop.php
Redirect /store /en/shop.php
Redirect /store/ /en/shop.php
Redirect /regen-store /en/shop.php
Redirect /regen-store.php /en/shop.php
Redirect /courses /en/courses.php
Redirect /courses/ /en/courses.php
Redirect /course /en/courses.php
Redirect /course/ /en/courses.php
Redirect /kursus /en/courses.php
Redirect /kursus/ /en/courses.php
Redirect /disclosure /disclosure.php
Redirect /earthwands /earthwands.php
Redirect /offset /en/offset.php
Redirect /en/offset /en/offset.php
Redirect /offset/ /en/offset.php
Redirect /offset.php /en/offset.php
Redirect /catalyst /catalyst.php
Redirect /catalyst/ /catalyst.php
Redirect /catalyze /catalyst.php
Redirect /catalyze/ /catalyst.php
Redirect /my-catalyst /catalyst.php
Redirect /my-catalyst/ /catalyst.php
Redirect /login.php /en/go.php#home
Redirect /go.php /en/go.php
Redirect /2024-trainer-course /en/go.php#courses/review-course/66823c43d6a89a0027d34e58/