-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtaccess.prod.txt
70 lines (59 loc) · 2.25 KB
/
htaccess.prod.txt
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
<Files "*.log">
Order Allow,Deny
Deny from all
</Files>
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
### marker BROWSER CACHE start ###
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType application/pdf A31557600
ExpiresByType image/x-icon A31557600
ExpiresByType image/vnd.microsoft.icon A31557600
ExpiresByType image/svg+xml A31557600
ExpiresByType image/jpg A31557600
ExpiresByType image/jpeg A31557600
ExpiresByType image/png A31557600
ExpiresByType image/gif A31557600
ExpiresByType image/webp A31557600
ExpiresByType video/ogg A31557600
ExpiresByType audio/ogg A31557600
ExpiresByType video/mp4 A31557600
ExpiresByType video/webm A31557600
ExpiresByType text/css A31557600
ExpiresByType text/javascript A31557600
ExpiresByType application/javascript A31557600
ExpiresByType application/x-javascript A31557600
ExpiresByType application/x-font-ttf A31557600
ExpiresByType application/x-font-woff A31557600
ExpiresByType application/font-woff A31557600
ExpiresByType application/font-woff2 A31557600
ExpiresByType application/vnd.ms-fontobject A31557600
ExpiresByType font/ttf A31557600
ExpiresByType font/otf A31557600
ExpiresByType font/woff A31557600
ExpiresByType font/woff2 A31557600
</IfModule>
### marker BROWSER CACHE end ###
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# BEGIN ClassicPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END ClassicPress
# BEGIN 301 Redirects
RedirectMatch 301 ^/press-and-branding/?$ https://www.classicpress.net/brand-guidelines/
# END 301 Redirects
# BEGIN 302 Redirects
RedirectMatch 302 ^/browser-support/?$ /user-guides/browser-support/
RedirectMatch 302 ^/installing-classicpress/installing-with-composer/?$ /developer-guides/installing-with-composer/
RedirectMatch 302 ^/installing-classicpress/?$ /user-guides/installing-classicpress/
RedirectMatch 302 ^/updating-classicpress/?$ /user-guides/updating-classicpress/
RedirectMatch 302 ^/faq-and-support/?$ /user-guides/faq-and-support/
RedirectMatch 302 ^/using-classicpress/custom-login-image/?$ /user-guides/custom-login-image/