Random News - Creates a link that, when clicked the visitor, will be postponed to a random news.
An Example: www.youwebsite.com/random/ - takes you to a random news from all categories
An Example: www.youwebsite.com/random/1/ - takes you to a random news from a particular category
*www.youwebsite.com/random/1/ - Category ID
1.Loading random.php file to the root directory
2.open the .htaccess and find:
#Random new [L]
RewriteRule ^random/([^/]*)(/?)+$ random.php?cat=$1 [L]