WP Engine turns of randomization by default. You’ll need to enable it for the plugin to work.
In your WP Engine dashboard in the WP Admin scroll down and make sure the Orderby Rand function is not disabled.
Where do you see this “Orderby Rand function” within WPEngine’s dashboard?
In your WordPress admin, go to WP Engine > General Settings and scroll down to the Allow ORDER BY RAND section.
https://www.evernote.com/l/ABn9DSwh0OxDmKrm0G3QsFFgHI3Z77Uv-5k
In your WordPress admin, go to WP Engine > General Settings and scroll down to the Allow ORDER BY RAND section.
https://www.evernote.com/l/ABn9DSwh0OxDmKrm0G3QsFFgHI3Z77Uv-5k
It works perfectly. I spotted the setting.
Thanks
I am using version 1.3.1 on WPEngine and it does not seem to be randomizing the content anymore. To be honest, I am not sure if it was truly doing it in the first place.
I have enabled the ORDER BY RAND() under the WPEngine settings.
When I am logged into the site and I see the WP Engine Admin Bar across my site, the randomization seems to work.
When I am logged out of my site or incognito mode, the randomization does not work.
Could this be an issue with WPEngine’s caching system?
Do you have any thoughts on what could be causing this?
Can you send me a link to where the random content is on your site?
Here you go: https://www.softwarepromotions.com/about/
The content towards the bottom of the page.
I looked into this and it is due to the caching on WP Engine. That is why when you are logged in the randomization works.
Technically, the content is being loaded randomly. But then that random content is cached by WP Engine and stays the same until the cache is purged.
Do you know if there is any way to get around this issue?
For example, I know that I can ask WPEngine to exclude specific pages from being cached. I don’t want to do that.
Do you think it would make sense to ask them to not cache your plugin? Or would that not make any difference?
Since the Random Content plugin simply outputs HTML to the front end of the site, there is no way to have them selectively not cache the plugin itself. It would have to be the entire page, or nothing at all.
If I can think of another solution, I’ll let you know.