Title: Cache Files Redirect?
Last modified: April 8, 2025

---

# Cache Files Redirect?

 *  Resolved [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cache-files-redirect/)
 * Hi, Aaron,
 * I’m getting lots of files turning up in my ‘Suggest a Redirect’ options, ALL 
   of whick look like cached files:
 * /z0f76a1d14fd21a8fb5fd0d03e0fdc3d3cedae52f?id=7fa3b767c460b54a2be4d49030b349c7&
   pdata=mywebsite.com/post name/&ts=1744119450&wsidchk=6778465
 * I’ve tried excluding everything from the beginning of the file name by adding
   a wildcard *mywebsite.com and also by adding a wildcard at the end – mywebsite.
   com/post name*
 * What would I add in the ‘Options’ Panel to get rid of these rogue files?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18406070)
 * Hey.
 * So to be clear, when the list of suggested pages comes up after a 404, that type
   of link is appearing as a possible match and that type of link is appearing in
   the list of suggested pages?
 * Honestly I’m not really sure how that would happen because the suggestions functionality
   seems to pull in the posts from the wp_posts table. I guess if there are some
   posts stored there that have a post_status of “publish” then that would happen.
   In that case though the posts would also have to have the correct “post type,”
   which is configurable in the setting named “Recognized Post Types”. I believe
   the default value is 
   `pagepostproduct
 * Can you tell me the “Recognized Post Types” settings that you have? Do you know
   which plugin might be causing posts like that? Do you know how to distinguish
   them from normal posts in the database by any chance?
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18406285)
 * Hi [@aaron13100](https://wordpress.org/support/users/aaron13100/)
 * The ‘Recognised Post Types’ that I have are:
 * page
   postproductportfoliostaffescortsareas
 * The only cache plugin that I use is ‘Litespeed Cache’, which does tend to add
   it’s own intricacies to ‘posts’
 * My 404 page is a custom one and has the official 404 solution ‘tag’ (abj404_solution_page_suggestions].
   to add a maximum of seven page suggestions.
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18409050)
 * Hey. I’ve been kind of busy lately. I’ll try to get to this by Sunday maybe.
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18410535)
 * Hey [@deeveearr](https://wordpress.org/support/users/deeveearr/),
 * Thanks for the extra details and confirming your settings.
 * Right, so digging into this, the suggestion feature in the plugin works exactly
   as I thought: it queries your site’s wp_posts database table. It specifically
   looks for entries that have post_status = ‘publish’ and a post_type matching 
   one from your “Recognized Post Types” list (page, post, product, portfolio, staff,
   escorts, areas).
 * Because you’re seeing those weird URLs (like /z0f76a1d…) appear in the suggestions
   list, it really means they must exist as actual rows in your wp_posts table, 
   marked as ‘publish’ and having one of those post types.
 * Regarding LiteSpeed Cache, I installed it but I didn’t get any extra entries 
   in the wp_posts table. It seems unlikely that LiteSpeed itself is creating the
   entries inside the wp_posts table.
 * I guess it could be another plugin, theme, or some custom code creating the entries
   in the wp_posts table. It’s possible they are somehow related to cached resources
   or identifiers, but what would insert them as published posts/pages?
 * Can you look at the content of the posts to maybe see where they might be coming
   from? If they’re cached pages, how do they differ from the actual current pages?
 * In the admin page on wordpress under Posts -> All Posts, do you see the pages
   there? If so who is listed as the Author? What is their Publish Date?
 * Cheers,
 * Aaron
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18410977)
 * Hi [@aaron13100](https://wordpress.org/support/users/aaron13100/)
 * I’d suggest leaving Litespeed Cache (set to an advanced preset) enabled for a
   couple of weeks or so, as the strange url’s take a while to appear.
 * In the WordPress Admin, Posts>>All Posts just leads to a list of my already published
   posts with no extra weird url’s in there.
 * At present, any posts with weird (cached?) url’s are now getting ‘Moved To Trash’
   rather than finding the post that they originated from.
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18411122)
 * Hi [@deeveearr](https://wordpress.org/support/users/deeveearr/),
 * Are you able to query your database directly, eg using phpMyAdmin or similar?
 * If so please query the wp_posts table with something like
 *     ```wp-block-code
       SELECT *FROM wp_posts -- (Replace wp_posts with your actual table name)WHERE post_name LIKE 'z0f%' -- (Use the start of an actual example URL you still see)  AND post_status = 'publish'  AND post_type IN ('page', 'post', 'product', 'portfolio', 'staff', 'escorts', 'areas')
       ```
   
 * Can you post the results of that query here?
 * Actually I don’t know what you mean by “Moved To Trash”. I guess you mean there
   are automatic redirects showing up in 404 Solution on the “Page Redirects” tab
   and you’re manually clicking the “Trash” button to move them to the trash? Can
   you include a screenshot of some of those from the plugin settings page?
 * I’m not sure if it would be helpful, but we could also turn on debug logging 
   under advanced settings and you could paste the debug log to pastebin.com so 
   we can see if there are any issues noted in the log (don’t paste the log here
   as it’s too big).
 * Let me know what you want to do.
 * thanks
 * Aaron
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18412397)
 * Hi [@aaron13100](https://wordpress.org/support/users/aaron13100/)
 * I’ve got access to phpmyadmin but I haven’t got a clue what’s going off in there
   since my tables names were changed a while ago due to security reasons.
 * It’s ok, moving the cached posts to trash seems like the safest option.
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18418078)
 * Hey [@deeveearr](https://wordpress.org/support/users/deeveearr/),
 * There’s a new version of 404 Solution available and I did two things.
    1. On the custom 404 page with the suggested pages you can click the score on the
       right (only for admins) and see the various page details like the author, post
       date, etc. It might give us more of an idea of where those pages are coming 
       from.
    2. I added a new option to exclude certain URLs based on regular expressions. So
       if you see a pattern for the unwanted pages that are appearing we can come up
       with a regular expression to exclude them.
 * I hope that’s helpful.
 * Aaron
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18435265)
 * I’ll resolve this for now but let me know if it’s still an issue.
 *  Thread Starter [deeveearr](https://wordpress.org/support/users/deeveearr/)
 * (@deeveearr)
 * [1 year ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18464901)
 * Hi, [@aaron13100](https://wordpress.org/support/users/aaron13100/)
 * Just a quick update on this issue:
 * I installed WordPress Jetpack to use their CDN and bypassed Quic Cloud (from 
   Litespeed Cache) and ever since then, there have been no jumbled up word-searches
   as links whatsoever.
 * I’m assuming then that Quic Cloud was the cause of the issue.
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [1 year ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18465550)
 * Hey. Thanks for the update. I’m glad you figured out what it was (probably). 
   If something similar happens again I’ll try to remember to install LiteSpeed 
   Cache and use Quic Cloud together to reproduce the issue.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Cache Files Redirect?’ is closed to new replies.

 * ![](https://ps.w.org/404-solution/assets/icon-256x256.jpg?rev=1610739)
 * [404 Solution](https://wordpress.org/plugins/404-solution/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/404-solution/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/404-solution/)
 * [Active Topics](https://wordpress.org/support/plugin/404-solution/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404-solution/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404-solution/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Aaron](https://wordpress.org/support/users/aaron13100/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/cache-files-redirect/#post-18465550)
 * Status: resolved