FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


dumb dumb question about redirecting





endless
how do your redirect, lets say

if they type in atlanta-aa.frihost.net, that you get redirected to rubiks-cube-tips.frihost.net/atlanta-aa.html

how do oyu do that :\
fadirocks
Code:
<meta http-equiv="refresh" content="0;URL=http://rubiks-cube-tips.frihost.net/atlanta-aa.html">


put that in index.html
the value 0 stands for 0 seconds wait for redirecting so you can change that to whatever value you want
Peterssidan
If you can use php:
Code:
<?
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: http://rubiks-cube-tips.frihost.net/atlanta-aa.html" );
?>

In this way you make it SEO-friendly too.
fadirocks
Peterssidan wrote:
If you can use php:
Code:
<?
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: http://rubiks-cube-tips.frihost.net/atlanta-aa.html" );
?>

In this way you make it SEO-friendly too.


hehe professional grade Smile I like Smile
I got to know 301 and 302 just yesterday!
Related topics
Kinda dumb question regarding DNS
A use for Ajax?
Batman Begins
Which is better, DS or PSP?
My personal website!
Do you like being grounded..
php.ini
SQL Disk usage?
how much i s your house?
Absence
dumb nu-b question on phpmyadmin
Another dumb question <.<
Probably a dumb question but..
phpBB 3 RC5 very basic/n00b question
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.