PDA

View Full Version : index.html


gullystation
12-25-2006, 03:04 PM
How do I make my forum homepage (www.gullystation.com) to go straight to my vbadvanced CMPS. Currently, the CMPS is on www.gullystation.com/forum/index.php. I want to take out the /forum/index.php and make that my forum homepage.

Can anyone help me? Also, can you contact me via MSN : fizsparky@gullystation.com

thanks

RS_Jelle
12-25-2006, 04:58 PM
You can place the CMPS index file where you want if the forum path in it is filled in correctly, so you can make it the default site home :)
Also replace the normal image paths of your styles with full url paths.

You can also redirect people directly to the current CMPS file using a redirect page:

<?php
header("Location: http://www.gullystation.com/forum/index.php");
?>

gullystation
12-26-2006, 07:35 AM
You can place the CMPS index file where you want if the forum path in it is filled in correctly, so you can make it the default site home :)
Also replace the normal image paths of your styles with full url paths.

You can also redirect people directly to the current CMPS file using a redirect page:

<?php
header("Location: http://www.gullystation.com/forum/index.php");
?>

Where do I place this php code into?

RS_Jelle
12-26-2006, 08:25 AM
In an index.php file that you place in the site root, it will auto redirect the user immediately to your vBadvanced forum home ;)

gullystation
12-26-2006, 09:17 AM
Where abouts do I place that php code in the index.php file? Also, I dont have a index.php file in the site root but instead in the forum directory. I have index.php and index2.php (the index.php is the CMPS page and the index2.php is the actual forum page).

Any other information you need to know? Where abouts in the index.php file do i place that code, I put it at the top of the file but it made no difference.

RS_Jelle
12-26-2006, 10:33 AM
I meant you create a new index.php to place in your site root. It will redirect the user to the /forum/index.php (vBadvanced CMPS) :)

gullystation
12-26-2006, 12:28 PM
great stuff...but one thing...some of the images are missing? Why does that happen and how do i change the text in between the navbar (where there is a pic of a folder and then site name) to index2.php ?