Make WordPress Core

Ticket #49452: .htaccess

File .htaccess, 817 bytes (added by Lauriate, 5 years ago)

.htaccess file of site

Line 
1
2
3Redirect permanent /the-tds/ https://6teamconditions.com/team-diagnostic-survey/
4Redirect permanent /6tc-podcasts/ https://6teamconditions.com/6tc-newpodcasts
5Redirect permanent /regeneron/ https://6teamconditions.com/checkout/order-pay/14720/?pay_for_order=true&key=wc_order_sSqBJPp4a2SNk
6
7RewriteEngine On
8RewriteRule ^(/ICS)($|/) – [L]
9RewriteCond %{HTTPS} off
10RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
11
12# BEGIN WordPress
13RewriteEngine On
14RewriteBase /
15RewriteRule ^index\.php$ - [L]
16
17# add a trailing slash to /wp-admin
18RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
19
20RewriteCond %{REQUEST_FILENAME} -f [OR]
21RewriteCond %{REQUEST_FILENAME} -d
22RewriteRule ^ - [L]
23RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
24RewriteRule ^(.*\.php)$ $1 [L]
25RewriteRule . index.php [L]
26
27# END WordPress