'I want to redirect my url to a new url every-time randomly from my selected urls
I want to redirect the domain to the number of selected URLs from my list
Take a look at this Click Here
every time you click on the link it will take you to another post in that domain
I want to do the same but I don't know how to do that
please help me out here thanks
i tried to redirect the domain to multiple URLS but i cant figure out how it works
Solution 1:[1]
hey Uzair memon you can use js for something like this
let myArray = ["https://firstLink","https://secondLink","https://thirdLink"]
let randomValue = myArray[Math.floor(Math.random() * myArray.length)];
and refrence the randomValue in you html
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Prajwal Raju P |
