Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question

1 Answer 1

up vote 0 down vote accepted

What you want may be as simple as

RedirectMatch ^/$ http://example.com/forum
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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