954,152 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Generate Random index.htm website hopepage each time

i was wondering how it would be possible to generate a different random homepage for my website each time someone clicks it. Basically so that when they type the domain:

eg www.example.com

it either loads

www.example.com/indexpage1
www.example.com/indexpage2
www.example.com/indexpage3


like here:
http://www.leedsunited.com/page/Welcome

everytime you type www.leedsunited.com into the browser it generates a different start page each time.

Thanks

jameswoodhouse
Light Poster
30 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

Well, thats done with script.
Tehre are multipel ways to do it... I'd say the more "reliable and safe" methods depending on your server (php/asp etc.).

You could do it with JS... but please be careful, as that requires JS to be enabled on the visitors computer, and is ignored by bots.

Further, it could be somewhat damaging to your Search Engine results (not to mention annoying a percentage of visitors, possibly causing higher bounce/abondonment rates etc.).

But in short, you supply multiple "content files".
Then a piece of script that will randomly pick one.
Plenty of examples/scripts aroudn for that (in most languages).

autocrat
Posting Pro in Training
431 posts since Feb 2005
Reputation Points: 63
Solved Threads: 12
 

That would make me click my back button and never return. Websites should be predictable.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You