<?php
$random = rand(1,3);
if ($random == 1){
header('Location: http://www.example1.com/');
}elseif ($random == 2){
header('Location: http://www.example2.com/');
}else{
header('Location: http://www.example3.com/');
}
?>
Yes its possible, but why are you asking about that in "Introductions"?
Sure, but you'd need a hosting. Im asking only if you have a domain.it's possible to use php script. so on the redirect page, you'll have bunch of if statement that goes to different redirect using php redirect (location![]()
If you seriously can't afford hosting just go with some free one and put domain there with this script i pasted in post above.Oh shit, my bad.
Sure, but you'd need a hosting. Im asking only if you have a domain.
I can afford a hosting, I just dont require one for what I am doing. And buying a hosting just to redirect domains, nah.If you seriously can't afford hosting just go with some free one and put domain there with this script i pasted in post above.
No you can't do that. That is why I gave you php script, if you could I would have pointed out that right away.I can afford a hosting, I just dont require one for what I am doing. And buying a hosting just to redirect domains, nah.
I am aware I can redirect a domain to another site directly from the registar, I just need to know if I can do that multiple times
Thats all I needed to know.No you can't do that. That is why I gave you php script, if you could I would have pointed out that right away.
What the hell are you talking, he wanted random multiple redirection, which is exactly php script for.The " thing " you are trying to do won't work unless you get the domain indexed again in googleand also won't work if you do multiple domain redirects.
you can get yourself a host for a month, search for some trial hostings .. get the domain indexed and make sure google know that your domain is back live again. once you start seeing newly indexed pages.. go for the " thing "
anyway, the "thing" requires a 303 permenant redirectnot a php redirect.
Your script work fine, but not for SEOWhat the hell are you talking, he wanted random multiple redirection, which is exactly php script for.
Where did he mention SEO? he obviously wanted it for a different reason.Your script work fine, but not for SEO![]()