View difference between Paste ID: qgAyd1Nq and 3EA7xBWG
SHOW: | | - or go back to the newest paste.
1
# BEGIN WordPress
2
<IfModule mod_rewrite.c>
3
RewriteEngine On
4
RewriteBase /
5
RewriteRule ^index\.php$ - [L]
6
RewriteCond %{REQUEST_FILENAME} !-f
7
RewriteCond %{REQUEST_FILENAME} !-d
8
RewriteRule . /index.php [L]
9
</IfModule>
10
# END WordPress
11
RewriteEngine On
12
RewriteCond %{HTTP_HOST} ^(www.)?the-tech-exchange.com$
13-
RewriteRule ^(/)?$ wp [L]
13+
RewriteRule ^(/)?$ wp [L]
14
RewriteCond %{SERVER_PORT} 80
15
RewriteRule ^(.*)$ https://the-tech-exchange.com/$1 [R,L]