Attachment preview not working

    • Samuel D’Errico
      Participant
      # 3 weeks, 3 days ago

      When updating a private file to preview an attachment, the link opens on a PAGE NOT FOUND. attachment preview not working

      The path is:

      /customer-area/files/my-files/2025/04/15/2025-04-15-143216/download/8354f89ddf69836e5b5e73e9f4ebdfcb

       

      Please help, thanks.

    • Emmanuel Diop
      Keymaster
      # 2 weeks ago

      Hi Samuel,

      Thanks for the additional info and screenshot.

      From what I can see, the “Preview” button you’re using doesn’t seem to be part of the standard WP Customer Area plugin — it was likely added via custom code or a theme override on your site.

      This might explain why the link is pointing to a “download” URL, but ends in a 404. That type of link is usually protected and may no longer be valid, or not properly initialized during file updates.

      To help you troubleshoot, could you check:
      – If you have any theme override files in “your-theme/customer-area/private-file/”
      – Or if custom code was added to inject the preview button
      – And whether the file still downloads correctly using the Downloadbutton

      Let us know, and we’ll help from there!

      Best regards,

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Viewing 1 reply thread

You must be logged in to reply to this topic.