Redirecting pages from the root folder to a subfolder

Posted by MarcoPRT on Server Fault See other posts from Server Fault or by MarcoPRT
Published on 2010-06-03T16:45:39Z Indexed on 2010/06/03 16:56 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

I have a Joomla site in the root directory of my domain, and I have a forum at /forum subdirectory.

How can I redirect visitors from the main site to the forum, continuing to have the possibility to access the site from a link at the forum?

Example:

http://example.com 

redirected to

http://example.com/forum  

, but I can access the main site by the link

http://example.com/index.php

© Server Fault or respective owner

Related posts about redirect

Related posts about url-rewriting