Htaccess File

7nbsp/theclsc/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]

RewriteCond %{HTTP_HOST} ^*.theclsc.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.*.theclsc.com$
RewriteRule ^/?$ "http://theclsc.com/wp-content/blogs.dir" [R=301,L]

# BEGIN WordPress
<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 WordPress
Exit mobile version