I need a random redirect button just like 9gag.com I know that i need a add a rewrite rule but i dont know how to do this
I tried to use plugins and other codes, but none worked.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
you can use this code
ANd then use this for random redirect