My website still keeps going to an old mobile version (as in the M. version) even though the rule is not there anymore.
What steps have you taken to resolve the issue?
I have searched my Wordpress website and my Cloudflare account to see if there are redirects there and have (obviously) reset cache everywhere.
What are the steps to reproduce the issue?
When I invoke the website (coulsdoncounselling.co.uk) on desktop it goes to the website as expected but when I try to invoke it on mobile (cell phone) it gets redirected to an old mobile version (M.CACHEPAD.COM)
This redirect originates from your origin and not from Cloudflare. You can confirm this by the presence of the Server: Apache header (instead of Server: cloudflare) and the remote IP address that returned 302 redirect (redacted from my screenshot):
I would suggest to review your Wordpress plugins and origin configuration to narrow down the root cause, it is likely related to User-Agent header and / or page dimensions.
Thank you ncano. Believe me I have practically gone through every line of code in all the Plugins and can’t find anything.
The only thing I came across was a reference to m.cachepad.com in a database field called _transient_string-locator-search-overview but I still can’t see that this is causing the problem. I did change the m.cachepad.com to something else but it did change anything. Below is what is in this field - I’m not actully sure what it does TBH.
O:8:“stdClass”:5:{s:4:“type”;s:3:“sql”;s:6:“search”;s:10:“m.cachepad”;s:9:“directory”;s:3:“sql”;s:6:“chunks”;i:1;s:5:“regex”;b:0;}