Random posts are not random

Posted in: Newspaper
Post count: 35

Hi

I am displaying some posts on my top page and i have the filter set to random. However the same top 3 posts always appear. I have cleared browser cache, its happened with no caching plug in as well. I have just installed WP Super cache and set up as per the instructions in your guide (which is a little out of date as it looks different.) But still its not randoom.

Any ideas?
Thanks

Post count: 20688

Hi,

There are plans to update the guide, sorry for that. The settings would be the same, only renamed.
The non-logged users will be served a cached page, so the random sorting will not work. You could set a timeout before the cache is automatically cleared
https://www.screencast.com/t/2QGTDvOOU
When the time runs out the cache will be cleared and the blocks that use a random sorting should display other posts.

Thanks

Post count: 35

Hi Simion

The problem isnt the cache setting as this was happening even before i installed WP super cache. I have a block on this page https://myokotourism.com/ half way down titled “amazing things to do this summer”

On all my browsers the same 3 posts always display. I have clearred browser cache and no change. It is set to random but will never display random.

Thanks
Dave

Post count: 20688

Hi,

I have tested the solution I mentioned and it seems to work. After the timer runs out, the cache will be cleared automatically and the posts randomized.

If you have tested this without the caching plugin and deleted the cache, but random posts are not displayed, then the issue could be another one. There could be another cache active, maybe server provided. With no caching the posts will always be randomized.

As long as the cache is not cleared regularly manually or automatically, the block will not display random posts.
Test on a new page with the cache plugin deactivated and cache deleted, place a block with random sorting, see if it displays random posts.

Post count: 35

Hi Simion

I have no other cache plug-in installed. I even check files on the server to make sure nothing was there. There is no server cache. As mentioned this has been like this since i made the site. Here is the test site before i moved it to the live area https://myokotourism.com/newtourismsite/
this has no cache plug in at all yet the summer activities area still doesnt change.

Dave

Post count: 20688

Hi,

Please send us an email at contact@tagdiv.com and provide admin login access. We will make some tests. We may need to deactivate your plugins for testing. Please also include a link to this topic in the email.

Post count: 35

Hi Simion

I just sent an e-mail. Im sure its just something really dumb on my end but it would be great to know what im doing wrong.

Thanks for the help.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.