vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Homepage Link Issue (https://vborg.vbsupport.ru/showthread.php?t=247880)

HeWatchesOverUs 08-03-2010 01:55 PM

Homepage Link Issue
 
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

Quote:

Originally Posted by HeWatchesOverUs (Post 2078579)
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 Code:

<?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

Quote:

Originally Posted by HeWatchesOverUs (Post 2078615)
Awesome worked like a charm. Thank you!

You are welcome. Glad to have been of hep.


All times are GMT. The time now is 03:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01898 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete