How do I redirect example.com to example.com/subdirectory?

Posted by Frode on Stack Overflow See other posts from Stack Overflow or by Frode
Published on 2010-06-07T21:49:51Z Indexed on 2010/06/07 21:52 UTC
Read the original article Hit count: 260

Filed under:

Hey, I’m trying to redirect example.com (and example.com/, www.example.com and www.example.com/) to example.com/subdirectory. I could do this easily using HTML but from what I read, it’s better to make a 301 redirect using Apache. However, I’m having a hard time finding documentation on how to do this.

© Stack Overflow or respective owner

Related posts about apache