View Full Version : I think this is an html thing.
06-28-2007, 09:13 AM
I can't remember what it's called so bear with me.
How do you make a page so when you enter the page it sends you to another page?
06-28-2007, 09:32 AM
You are trying to redirect to another page. You can do this with the following code entered into the head:
<meta http-equiv="Refresh" content="5; url=NewUrl.html">
The content is how many seconds it takes to redirect and url is the page you want to send the user to. Hope this helps.
06-28-2007, 03:57 PM
It should be noted that meta refresh is kind of a bad practice and can have negative impact on search engine ranking as there has been a lot of misuse of that feature in the past. A better way would be a 301 redirect via a server side script (e.g. PHP) or .htaccess. Use these keywords for a search and you’ll get a lot of results that might help you.
06-28-2007, 04:04 PM
The PHP Redirect is:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: /NEW_LOCATION TO REDIRECT_TO" );
This should be at the top of the page and nothing else should be echoed out by the page or PHP scripts otherwise you will get an error on the page.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.