Your Portal Version: 1.0.2
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://deviant-mafia.com/forums/index.php
What have you done before the problem was there?
Problem does not exist at this point.
What have you already tryed to solve the problem?
Nothing
Description and Message
I am trying to make the portal show in place of the index of my main site. I am fairly oblivious on how to make this happen.
For example, my portal address is http://www.deviant-mafia.com/portal/index.php
I would like the portal to show when a user types in http://www.deviant-mafia.com
Thanks in advance for any help.
Making it the main page of site
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
Topic author - Active Member
- Posts: 1
- Joined: 2. March 2009 03:13
- phpBB.com User: InternetMafia
Re: Making it the main page of site
I successfully use a refresh command in my index.html page
Refresh eg.
<META HTTP-EQUIV="REFRESH" CONTENT="0;URL= http://www.deviant-mafia.com/portal/index.php">
Specifies a delay in seconds before the browser automatically reloads the document. Optionally, specifies an alternative URL to load, making this command useful for redirecting browsers to other pages.
The 0 in the above example redirects visitors to the forum with no visible delay and your index.html page should not show on their screen. Alternatively you could insert a number of seconds to display your index.html page before redirecting to the forum.
eg.
<META HTTP-EQUIV="REFRESH" CONTENT="15;URL= http://www.deviant-mafia.com/portal/index.php">
Should add a 15 second delay, displaying your sites main page before redirecting to the forum portal
This is sometimes used with a brief "you are being redirected to our site please be patient" in case the page loads slow and often there is also a Link to the portal on the page in case there is a problem with the actual redirect process.
eg.
Please wait while you are redirected to our site. If the page doesn't load automatically please click the link below
http://www.deviant-mafia.com/portal/index.php
Refresh eg.
<META HTTP-EQUIV="REFRESH" CONTENT="0;URL= http://www.deviant-mafia.com/portal/index.php">
Specifies a delay in seconds before the browser automatically reloads the document. Optionally, specifies an alternative URL to load, making this command useful for redirecting browsers to other pages.
The 0 in the above example redirects visitors to the forum with no visible delay and your index.html page should not show on their screen. Alternatively you could insert a number of seconds to display your index.html page before redirecting to the forum.
eg.
<META HTTP-EQUIV="REFRESH" CONTENT="15;URL= http://www.deviant-mafia.com/portal/index.php">
Should add a 15 second delay, displaying your sites main page before redirecting to the forum portal
This is sometimes used with a brief "you are being redirected to our site please be patient" in case the page loads slow and often there is also a Link to the portal on the page in case there is a problem with the actual redirect process.
eg.
Please wait while you are redirected to our site. If the page doesn't load automatically please click the link below
http://www.deviant-mafia.com/portal/index.php
Uh! This is only temporary!
Uh! Unless it works!!!
(Red Green)
Uh! Unless it works!!!
(Red Green)
Re: Making it the main page of site
I put a redirect in my .htaccess, yours would be something like this (use full line)
Redirect 301 /index.html http://www.deviant-mafia.com/portal/index.php
Back up the file first, hope it helps...
Example can be found at link below, compare link below with the link of the page your taken to.
http://www.sadisticoldbastards.com
Redirect 301 /index.html http://www.deviant-mafia.com/portal/index.php
Back up the file first, hope it helps...
Example can be found at link below, compare link below with the link of the page your taken to.
http://www.sadisticoldbastards.com
-
- Active Member
- Posts: 6
- Joined: 13. March 2009 19:10
- phpBB.de User: iamdarren
- phpBB.com User: iamdarren
Re: Making it the main page of site
hi what should the whole htaccess file look like as mine shows this at the moment
my sites address is www.t-365.co.uk
Thanks
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
Thanks
Re: Making it the main page of site
I added the line to the bottom of the file. make sure your adding it to the server root .htaccess, not the one in the phpbb3 folders.
-
- Active Member
- Posts: 6
- Joined: 13. March 2009 19:10
- phpBB.de User: iamdarren
- phpBB.com User: iamdarren
Re: Making it the main page of site
its working,
thanks for your help
now looks like this...
thanks for your help
now looks like this...
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
Redirect 301 /index.html http://www.t-365.co.uk/portal.php