WEBFI-WordPress-How to Redirect Users to a Random Post in WordPress

Do you want to show random posts on your WordPress site? Displaying the random posts gives your users a chance to view more of your content on your site that they normally may not have. In this video, we’ll show you how you can easily redirect your users to a random post in WordPress.

For this tutorial we will be using the plugin ‘Redirect URL to Post’ found here:

With that plugin installed and activated you will see information about the shortcode and other URL parameters, you can use to set up links to random posts on your site. You can use any of the parameters you like or there is also a shortcode that we use in the video. The shortcode is below and will create a button that redirects for you.


The shortcode can be added to the end of your posts or pages so users have the option to use it when they reach the end of your article. Another method would be to use your widgets and add the shortcode into a text widget. That way it will appear on every page your widget displays on and you don’t need to manually add it to every post and page on your site.

Text version of this tutorial

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.

Check us out on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials
#WordPress #WordPressTutorial #WPBeginner



  • Mindset Nuggets on October 31, 2018

    When I publish new posts, mr subscribers receive the full post in their emails. I want to change this do that they receive excerpts of the post and click on read more which takes them to my website.

    If they can read all the post in their email, they won't have any reason to visit my website to read more. How do I change this.? Fo you have a video that will show me how? Thank you.

  • JK on April 10, 2020

    great tip ! i've been following your great website for a while now. quick question : is there a way to insert this Random button in our menu bar ?

  • Nayeem Ahmed on April 14, 2020

    Can you please let me know How can I change the button text?

  • Blogspot Theme Free on October 20, 2020

    my hosting 100% cpu load when use this plugin, how fix it?. my site over 6000 post.

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy