-
Notifications
You must be signed in to change notification settings - Fork 7
/
htaccess.txt
27 lines (20 loc) · 885 Bytes
/
htaccess.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
<IfModule headers_module>
Header always append X-Frame-Options SAMEORIGIN
SetEnvIfNoCase User-Agent "^TurnitinBot" badbot
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^search/(.*)$ /off-page/search.php?s=$1 [L]
RewriteRule ^landing/(.*)/(.*)$ /off-page/landing.php?category=$1&filter=$2 [L]
RewriteRule ^landing/(.*)$ /off-page/landing.php?category=$1 [L]
RewriteRule ^external/(.*)$ /off-page/external.php?url=$1 [L]
RewriteRule ^helpful-vote/(.*)/(.*)/(.*)$ /off-page/helpful-vote.php?comment_id=$1&comment_vote=$2&action_type=$3 [L]
RewriteRule ^dashboard-login /wp-login.php [L]
RewriteRule ^dashboard-login/ /wp-login.php [L]
RewriteRule ^company/special-thanks /off-page/special-thanks.php [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>