I've got a bunch of this stuff in my .htaccess folder right now, including a domain that points to my primary vinyldecalsuperstore.com
Code:
RewriteCond %{HTTP_HOST} ^vdsdecal\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.vdsdecal\.com$
RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/" [R=301,L]
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^vinyldecalsuperstore\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.vinyldecalsuperstore\.com$
RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "https\:\/\/vinyldecalsuperstore\.com\/VDSstore\/" [R=301,L]
RewriteBase /
# Rewrites all URLS without VDSstore in them
RewriteCond %{REQUEST_URI} !^/VDSstore/
# Rewrites all URLS [Replace "example" with the actual domain, without the TLD (.com, .net, .biz, etc)]
RewriteCond %{HTTP_HOST} ^(www\.)?vinyldecalsuperstore\.
# Rewrite all those to insert /folder
RewriteRule ^(.*)$ /VDSstore/$1 [L]
Is there a particular order I should have all this and if so, where should I insert the code you gave me?
Thank you so very much!