0

I have a multi site install using sub directories and Im using domain mapping.

The second site is like such domain.com/site2 and thats mapped to mywebsite.com

I can visit domain.com/site2 or mywebsite.com and both sites are being indexed by google - how can I make domain.com/site2 redirect to mywebsite.com so domain.com/site2 is not visible to users or search engines, only mywebsite.com is visible?

1

1 Answer 1

0

Something like this should help you.

Redirect 301 /subfolder http://www.your-url.com/
1
  • Everyone understand it that what is it. But may be good for newbies if you add that what do you mean by something.
    – Sumit
    May 16, 2016 at 18:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.