|
|
Joined: Oct 2006
Posts: 66
journeyman
|
journeyman
Joined: Oct 2006
Posts: 66 |
Is it possible to have portal page on diff folder? for my site I have installed forums on http://forums.mysite.com which points to directory "home/www/dir2" I want portal page to be displayed on "mysite.com" which points to "home/www/dir1" is it possible?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
you could use a php or html redirect to have the default page in your web root forward to the forum subdomain. PHP Redirect (index.php): <?php
header('Location: http://forum.yoursite.com/');
exit;
?> HTML Redirect (index.html/index.htm/index.shtml): <html>
<head>
<title>Redirecting</title>
<meta http-equiv="Refresh" content="5; url=http://forum.yoursite.com/" />
</head>
<body>
<center><h1>We're now redirecting you to the portal</h1></center>
</body>
Last edited by Gizmo; 11/18/2006 7:48 PM.
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
I think he means to have the portal displayed on www.mysite.com - in otherwords on a different site, whilst also having it on the forums web site.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I figured as much, and asis the onlyway i can think of doing anything remotely capable of doing that would be to do what i said above and forward to the portal page; the portal itself is tied into the forum, by using just the ubbthreads.php script in the web root would cause non functioning links, so a redirect to the working forum directory was what i figured could work like how he'd want.
Also, if you're planning on traffic from search engines, it's not recommended to seperate elements of your site by subdomains, as search engines treat subdomains as differant sites, so the ammount of pages on your site total will be drastically decreased from your forum not being on your web root.
|
|
|
|
Joined: Oct 2006
Posts: 66
journeyman
|
journeyman
Joined: Oct 2006
Posts: 66 |
Thanks guys For now, I am just creating a simple HTML to point to forums
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
875
guests, and
141
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|