|
Joined: Sep 2006
Posts: 165
Member
|
Member
Joined: Sep 2006
Posts: 165 |
Ok, so How do I make it so that UBBthreads is my home page? In other words. I want to have it so that when people go to www.backofthenet.com it is UBBthreads they see WITHOUT a redirect page. Can this be done?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I'd create an index.php file containing: <?php
header('Location: http://www.yoursite.tld/ubbthreadsdir/ubbthreads.php');
?>
|
|
|
|
Joined: Jun 2006
Posts: 464 Likes: 1
Addict
|
Addict
Joined: Jun 2006
Posts: 464 Likes: 1 |
OR make ubbthreads.php your start page. Very similar to Default or index.html when administering your website if you own your own server.
Happy Customer !!!
|
|
|
|
Joined: Jun 2006
Posts: 75
journeyman
|
journeyman
Joined: Jun 2006
Posts: 75 |
Seems like there should be a way to do this in the UBB.t Control Panel.
Stilgar Are you ready for v8? "Yes, ladies and gentlemen, this is occasionally a fly-by-the-seat-of-your-pants operation. That is the designed behavior." - CC
|
|
|
|
Joined: Jan 2004
Posts: 2,474 Likes: 3
Pooh-Bah
|
Pooh-Bah
Joined: Jan 2004
Posts: 2,474 Likes: 3 |
You could use .htaccess
Using .htaccess, you can define additional index filenames and/or change the order of precedence. To define your index page as ubbthreads.php add the following line to your .htaccess file:
DirectoryIndex ubbthreads.php
|
|
|
|
Joined: Jun 2006
Posts: 196
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 196 |
I'd create an index.php file containing: <?php
header('Location: http://www.yoursite.tld/ubbthreadsdir/ubbthreads.php');
?> Oh just do <?php
include('./ubbthreadsdir/ubbthreads.php');
?>
|
|
|
|
Joined: Jun 2006
Posts: 75
journeyman
|
journeyman
Joined: Jun 2006
Posts: 75 |
Oh just do <?php
include('./ubbthreadsdir/ubbthreads.php');
?> That right there works bestest.
Stilgar Are you ready for v8? "Yes, ladies and gentlemen, this is occasionally a fly-by-the-seat-of-your-pants operation. That is the designed behavior." - CC
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
DirectoryIndex ubbthreads.php I do this Oh just do <?php
include('./ubbthreadsdir/ubbthreads.php');
?> That right there works bestest. You COULD do this
|
|
|
|
Joined: Jun 2006
Posts: 75
journeyman
|
journeyman
Joined: Jun 2006
Posts: 75 |
yours worked too, Gizzy! *waves*
Stilgar Are you ready for v8? "Yes, ladies and gentlemen, this is occasionally a fly-by-the-seat-of-your-pants operation. That is the designed behavior." - CC
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
yours worked too, Gizzy! *waves* :yey:
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Always more than one way to skin a cat
|
|
|
|
Joined: Jun 2006
Posts: 75
journeyman
|
journeyman
Joined: Jun 2006
Posts: 75 |
Eeeeew!
Stilgar Are you ready for v8? "Yes, ladies and gentlemen, this is occasionally a fly-by-the-seat-of-your-pants operation. That is the designed behavior." - CC
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Nightcrawler, Ruben),
694
guests, and
214
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|