MyBB Central

Full Version: Redirect main domain directory to sub directory help needed....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am sure it is simple guys, but I want to make sure it is done correctly..

I want to be directed to http://www.mydomain.com/board when I type in http://www.mydomain.org

I redirected with my host through cPanel with my host, doing a http redirect, and I got a "too many redirects" error when I pointed the home directory to http://www.mydomain.org/board

So I guess I am lost. I think it is possible with a 301 redirect, but I need some help with what to put in the htaccess file.

Thanks in advance for any and all help.

-Justin
Solved, I just used a php redirect

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.New-Website.com");
?>

If there is a better way, or a better SE friendly way, please let me know.

Thanks