0

On my menu, i want to be a a link called"Random" that when clicked it will open a random article, just like on stumbleupon. I made the template thinkink i may go from there and achieve this. But i couldn't. I m asking you how to open the only link that exists on the page and wich its generated ramdomly by the template, on itself(with the help of that php code). Kind of a redirect i want (but fast).I thought this might work in a 2 stept action: 1st, the user click on Random from my menu, then the /randompage opens,with a random link(one of my article link) on it. 2nd i want that link to open direcly(auto), no other loadind of the page needed. Can it be done this way ? or is there something else to it ? The page is completely empty. (My website is now offline due to dns change. It will be up and running in a few hours). Hope i made my self understood, i dont know how else to explain this. I m really sory if i cannot explain this better.

Captain Obvlious
  • 19,754
  • 5
  • 44
  • 74
  • Sorry, add new information to the Question itself ([edit]). Don't forget to read the [faq] ;) – brasofilo Jan 26 '13 at 16:05