MyBB Community Forums

Full Version: How do I make my portal....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I don't think you can achieve this.

What what I understand, right now your forums is on:
forums.mysite.com/index.php

The portal page should be on forums.mysite.com/portal.php

As AJS asked, is your forum in a subfolder?
If it is like
/forums/
This might work... try copying out the portal.php
And pasting it into the root folder / folder before "forums".
You can even rename it to index.php

Test that out.
And ensure mysite.com is pointed to that folder.
It's on a subdomain which is in a sub folder yes.
Um, just for the record, a subdomain is a subdirectory made into the subdomain. ^^;
I don't know of any way to make the portal actually be at mysite.com instead of forum.mysite.com, but you can redirect to it. I'm not a genius with .htaccess though (most of the time mine is edited automatically not by me), but you can do it with a index file (such as index.html) on yoursite.com/

create a file named index.html
Add the following to it:
<meta http-equiv="refresh" content="0; url=http://forums.YOURSITE.COM/portal.php">
0 is the time it waits (in seconds) so you can set that to anything, then the replace YOURSITE.COM with your site domain (notice the subdomain is already listed).

Example file:
<HTML>
<HEAD>
<TITLE>Redirect Page</TITLE>
<meta http-equiv="refresh" content="0; url=http://forums.YOURSITE.COM/portal.php">
</HEAD>
<BODY>
Redirecting...
</BODY>
</HTML>
(2010-03-19, 08:48 PM)ladyunicornejg Wrote: [ -> ]I don't know of any way to make the portal actually be at mysite.com instead of forum.mysite.com, but you can redirect to it. I'm not a genius with .htaccess though (most of the time mine is edited automatically not by me), but you can do it with a index file (such as index.html) on yoursite.com/

create a file named index.html
Add the following to it:
<meta http-equiv="refresh" content="0; url=http://forums.YOURSITE.COM/portal.php">
0 is the time it waits (in seconds) so you can set that to anything, then the replace YOURSITE.COM with your site domain (notice the subdomain is already listed).

Example file:
<HTML>
<HEAD>
<TITLE>Redirect Page</TITLE>
<meta http-equiv="refresh" content="0; url=http://forums.YOURSITE.COM/portal.php">
</HEAD>
<BODY>
Redirecting...
</BODY>
</HTML>


That works thanks but it would look alot better if I could just have it go straight to portal.php and have no redirecting message thanks heaps.
That should be instant though...
Pages: 1 2