Forum Moderators: Robert Charlton & goodroi
rewriteCond %{http_host} xyz\.example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/xyz/$1 [R=301,L]
Now problem is both files are indexed by SEs..
xyz.example.com/file1.htm
www.exampe.com/xyz/file1.htm
Using URL removal tool i removed all xyz.example.com files from Google (temporarly deleted the subdomain)..
Problem is still I am getting some traffic to xyz.example.com so i cannot delete it permanently..
Is there any way to remove urls from yahoo and msn?
If I put a robots.txts with Disallow / on my xyz.example.com will it work?.. since it is redirected when i put a robots file it is coming like
www.example.com/xyz/robots.txt...
Is there any other way to solve this problem?