How to redirect
something.domain.com or www.something.domain.com
to
something.domain.com/<content of "something folder"> and www.something.domain.com/<content of "something folder">
Thank you very much.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Users browsing this forum: No registered users and 3 guests