Tech Support Guy banner

Redirector Must go But how?

1504 Views 13 Replies 3 Participants Last post by  gutlypig
I am trying to get rid of the annoying redirector on my site and well i just dont have the brain capacity to work it out i have found some code but im not sure if i can alter it to make the redirect instant..

Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="rating" content="general">
<meta http-equiv="refresh" content="5;url=portal.php">
<title>Bodybuilding forum worldofmuscle.co.uk! - Redirecting....</title>
<style type="text/css">
<!--
body {
	background-color: #003366;
}
.style1 {color: #FFFFFF}
-->
</style></head>

<body>
<div style="position:absolute; left: 225px; top: 158px; width: 563px; height: 262px; background-color: #CCCCCC; layer-background-color: #CCCCCC; border: 1px none #000000; z-index: 2;" id="redirect">
  <div align="center">
    <p><strong>Bodybuilding Forum World Of Muscle </strong></p>
    <p><strong>You will be automatically redirected to the homepage in 5 seconds... </strong></p>
    <p><img src="templates/Cobalt/images/logo_phpBB.gif" alt="worldofmuscle.co.uk" border="0"/></p>
    <p><strong>Redirecting........</strong></p>
    <p><a href="portal.php"><strong>Click here if you do not wish to wait....</strong></a></p>
  </div>
</div>
<div style="position:absolute; left: 227px; top: 436px; width: 559px; z-index: 3;" id="info"><span class="style1"><strong>Note:</strong> To enter The Bodybuilding Forum now, click the link above </span></div>
<div style="position:absolute; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; left: 216px; width: 582px; top: 148px; height: 283px; z-index: 1;" id="border"></div>
</body>
See less See more
Status
Not open for further replies.
1 - 5 of 14 Posts
change the 5 to a 0 to make the redirect instant.
I'm not exactly sure what you mean, but if you want portal.php to be the home page for your site, you can do this in your htaccess file and it should be even faster. If that's what you want, let me know.
ok, do you use a .htaccess file? if you do, simply add this line, if you don't, then create a text file, rename it htaccess.txt and open it up.

Add this line:

DirectoryIndex portal.php

upload the txt file to your server, and now rename it to .htaccess

now try it, it should automatically redirect without any messages. :)
did you upload it in the main directory for your website (public_html)?

and what exactly is the screen shot showing?
So I'm assuming your host doesn't allow you to use .htaccess. I have no idea why.

Why don't you try renaming portal.php to index.php, and rename index.html to backup.html or anything like that.

then browse around your forum and see if your forum is still working correctly.
1 - 5 of 14 Posts
Status
Not open for further replies.
Top