Hello everybody
I put the following code to my htaccess file on my main domain.
Line number On/Off
Code: Select all
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
My problem is with my sub domain.because it defined as a separate site to my main domain by search engines, am curious to add a htaccess file to that subdomain.but i would like the subdomain.domain.tld to be the visible url for the subdomain only, instead of it rewriting to domain.tld/subdomain. hoping that someone could really understand my situation give necessary advice to resolve the issue..
any help should be brilliant and greatly appreciated.
thanks for reading me
Bookmarks