Jump to content
xisto Community
Sign in to follow this  
keifer

C-panel Redirects

Recommended Posts

Im not sure if this is the correct palce to post this but anyway. I was wondering if there was a way to control the time your original page is displayed before it redirects to the site. eg. Like say i want site1.html to redirect to site2.html but i want site1.html to display 5 seconds instead of going directly to site2.htmlIf C-Panel cant do that does anyone know how i can do this? I know javascript can do it but i dont know how to write javascipt.Thanx in advancekeifer

Share this post


Link to post
Share on other sites

well... i use the meta tag refresh. you can try that. sample code below is set for a 10

second delay before redirection to another page. just change tag settings accordingly. ;)

just remember to place the meta tag refresh anywhere BETWEEN the <head></head> tags.

 

example: SITE1.HTML

<html>

<head>

<meta http-equiv="Refresh" Content="10;URL=http://forums.xisto.com/no_longer_exists/;

<title>your site title goes here</title>

</head>

<body>

....etcetera

 

Share this post


Link to post
Share on other sites

well... i use the meta tag refresh. you can try that. sample code below is set for a 10

second delay before redirection to another page. just change tag settings accordingly. ;)

just remember to place the meta tag refresh anywhere BETWEEN the <head></head> tags.

 

 


That didnt work. It redirected it ok but there was no delay. I set it for 30 to make sure and still didnt work.

Share this post


Link to post
Share on other sites

post your code and we'll see if there is any error. my code works fine on my end.

Share this post


Link to post
Share on other sites

Here is the code of the whole page.


<html>[br][/br]<head>[br]<meta http-equiv="Content-Language" content="en-us">
[/br]<meta name="GENERATOR" content="Microsoft FrontPage 5.0">[br]<meta name="ProgId" content="FrontPage.Editor.Document">[/br]<meta http-equiv="Refresh" Content="30;URL=http:///www.yahoo.com/ you work</title>[/br]</head>[br][/br]<body>[br][/br]<p align="center"><font size="7"><b>Do you work?</b></font></p>[br][/br]</body>[br][/br]</html>


Share this post


Link to post
Share on other sites

well, the code you posted works just fine as well. it stays for 30 seconds showing "Do you work?", then gets redirected to yahoo.com the html and the meta tag works as you've set it based on the redirect code i posted earlier. ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.