Guiid’s prefix is “/files”

  • Unknown's avatar

    Hi, my recent uploaded photos are not available. I can see it stored in ws_posts table, but guiid’s prefix is “/files” instead of “/contents/uploads”. the photo file is not uploaded to the “/contents/uploads” folder. how can I fix the issue?

    thanks

    max

  • Hi Max,

    The fact that your photo files are being stored with the /files prefix instead of /contents/uploads is a good clue as to what’s going wrong. It’s possible that a plugin or some custom functionality is modifying the default upload path, which would explain why your files aren’t being saved in the expected directory.

    You should check for filters or hooks like upload_dir that can change the upload path. If there’s a plugin or custom code that’s affecting the upload path, you should be able to find and adjust it.

    To troubleshoot:

    1. Check Active Plugins: Temporarily deactivate any plugins related to media or uploads to see if that resolves the issue.
    2. Inspect Filters: Search your code or theme files for filters like upload_dir that might be altering the upload path.

    If you find a plugin or code snippet that’s affecting the upload directory, updating it to point to /contents/uploads may fix the issue.

  • The topic ‘Guiid’s prefix is “/files”’ is closed to new replies.