REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect main domain directory to sub directory help needed....
#1
Exclamation 
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
Reply
#2
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
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  support needed for editing the code colour creators 1 934 Mar 06, 2017, 06:32 AM
Last Post: Jodirhanna
Sad Tabbed menu not working, help needed urgently. Identity 6 3,659 Mar 02, 2017, 05:51 AM
Last Post: sova174
  Directory Exposure TheArmyKid 1 767 Aug 29, 2013, 07:10 PM
Last Post: mathewscott
  Remove Redirect? Kaleb 5 3,904 Jun 15, 2013, 11:59 AM
Last Post: meethere
  Help needed! Skaffa 0 564 Mar 11, 2013, 09:37 PM
Last Post: Skaffa

Forum Jump:


Users browsing this thread: 1 Guest(s)