| Current Path : /var/www/html/softlogicxwebsite/ |
| Current File : /var/www/html/softlogicxwebsite/__.htaccess |
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?softlogicx\.com
RewriteRule ^(.*)$ https://www.softlogicx.com/$1 [R,L]
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/softlogicxwebsite/
# Don't change the following two lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /softlogicxwebsite/$1
# Change example.com to be your main domain again.
# Change 'subdirectory' to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?softlogicx.com$
RewriteRule ^(/)?$ softlogicxwebsite/index.html