Log in

View Full Version : Homepage Link Issue


HeWatchesOverUs
08-03-2010, 01:55 PM
My issue at hand is that when you type http://www.christianforumcafe.com it goes to my hosting site instead of my homepage.

Now if you go to http://www.christianforumcafe.com/forums you will get to my site. Now I believe the reason is because I loaded my files to the directory..... /public_html/forums and not the root.

Now what I'm trying to do is have it so if someone types www.christianforumcafe.com that it will go directly to my site and not the hosting site. Now would there be a way to route that link to lets say www.christianforumcafe.com/forums or is there another way possible that I don't know about.

Thanks for any help on this issue!

borbole
08-03-2010, 02:11 PM
My issue at hand is that when you type http://www.christianforumcafe.com it goes to my hosting site instead of my homepage.

Now if you go to http://www.christianforumcafe.com/forums you will get to my site. Now I believe the reason is because I loaded my files to the directory..... /public_html/forums and not the root.

Now what I'm trying to do is have it so if someone types www.christianforumcafe.com that it will go directly to my site and not the hosting site. Now would there be a way to route that link to lets say www.christianforumcafe.com/forums or is there another way possible that I don't know about.

Thanks for any help on this issue!

Create a php file and name it index.php and place the following code in it

<?php
header('Location: http://www.christianforumcafe.com/forums' ) ;
?>

And upload it int he root of your /public_html/ folder.

HeWatchesOverUs
08-03-2010, 03:27 PM
Awesome worked like a charm. Thank you!

borbole
08-03-2010, 03:47 PM
Awesome worked like a charm. Thank you!

You are welcome. Glad to have been of hep.