Htaccess File

shieldsdesignstudio/drupal-test/master/.htaccess

DOCUMENT_ROOT, HTTP_HOST, REQUEST_FILENAME, REQUEST_URI
Options -Indexes
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^www.test.com$ [NC]
RewriteRule .* http://www.test.com/ [L,R=301]
RewriteRule ^$ dev/index.php [L]
RewriteCond %{DOCUMENT_ROOT}/dev%{REQUEST_URI} -f
RewriteRule .* dev/$0 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* dev/index.php?q=$0 [QSA]
Exit mobile version