In Progress

Simple .htaccess redirct script needed to random subdomain

I need a .htaccess script, that will automatically redirect people to a random subdomain.

For example:

Lets say that domain [url removed, login to view] has 10 subdomains ([url removed, login to view], [url removed, login to view], [url removed, login to view], etc.):

1) Person 1 goes to [url removed, login to view], and is immediately redirected to random subdomain: [url removed, login to view] (a random choice)

2) Person 2 goes to [url removed, login to view], and is immediately redirected to random subdomain: [url removed, login to view] (a random choice)

3) Person 3 goes to [url removed, login to view], and is immediately redirected to random subdomain: [url removed, login to view] (a random choice)

etc.

As we add new subdomains, the .htaccess redirect script should automatically detect that there is another directory added to the host, and will include this in the random list selection dynamically, without having to type in the new url.

I already have an .htaccess script that will automatically redirect to a random picture in a folder. You can see it here:

[url removed, login to view]

Just refresh the screen a few times to see it work.

This should only be an .htaccess script about 10 or 12 lines long. Should be simple for the experienced programmer.

Skills: HTML

See more: htaccess redirct, htaccess random, htaccess random redirect, random subdomain, htaccess random subdomain, random subdomain htaccess, random subdomain script, abc 11, html add picture, subdomain, htaccess, html host, refresh script, html redirect, html url redirect, simple url script, simple picture, directory script needed, script list subdomains, html person needed, html simple refresh, add detect, simple programmer needed, programmer needed simple script, html picture

About the Employer:
( 10 reviews ) Niagara falls, United States

Project ID: #1274178

Awarded to:

dracco

htaccess experienced coder/server admin ready to help you right away. Waiting your choice to start. Best regards. Dracco.

$30 USD in 1 day
(63 Reviews)
5.2

6 freelancers are bidding on average $33 for this job

toinnisfree

quick pro help. ftp and escrow required.

$50 USD in 1 day
(55 Reviews)
5.9
hvtuananh

Please tell me more details about your sample .htaccess and your site structure in PMB.

$30 USD in 1 day
(42 Reviews)
5.0
eelance

why not use header ?

$30 USD in 0 days
(43 Reviews)
4.9
sourabgupta01

We are able to do this .It is very simple thing .Give us chance to serve.

$30 USD in 1 day
(1 Review)
3.7
TechOnWrox

hi sir, I can work for you

$30 USD in 1 day
(3 Reviews)
2.5
goraduryan

no problem!!!!

$30 USD in 1 day
(0 Reviews)
0.0