• fatherb

    (@fatherb)


    hi,

    I hope you can help. We have pda lite in place (gold was active but expired two years ago).

    Our files have been protected quite happily for the last two years but have started not being connected to their links over the last few days. The troubleshooting page suggests this is a server rule error, and as we have NGINX, I checked with our host, but they say the rules are still in place. The only thing I can think of that has happened is WordPress updated on July 24th. Is the plugin still working with the latest version of WP?

    We have the site set up to show documents only to logged-in users. The list of documents is hidden unless you are logged in – each document in the list has a connected PDF file-protected link to it. However, all now show pda_404 when clicked.

    Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author BWPS Team

    (@buildwps)

    Hi fatherb,

    Thank you for reaching out to us.

    It seems you’re using the rule of PDA Gold version instead of the rule of PDA Free version and it’s still working for some reason.

    Could you help to provide the rule you’re using for us to take a look please?

    If you’re using PDA Free version, please help to check if you’re using this rule:

    rewrite wp-content/uploads/_pda(\/[A-Za-z0-9_@.\/&+-]+)+\.([A-Za-z0-9_@.\/&+-]+)$ "/index.php?pda_v3_pf=$1&is_direct_access=true&file_type=$2" last;
    rewrite private/([a-zA-Z0-9-_.]+)$ "/index.php?pda_v3_pf=$1" last;

    Awaiting your reply.

    • This reply was modified 3 months, 4 weeks ago by BWPS Team.
    Thread Starter fatherb

    (@fatherb)

    Hi,

    These are the rules.

    https://www.dropbox.com/scl/fi/8mzzg0jcdfj376z1us2yu/nginx-rules.png?rlkey=e18i326nqytbav3cjr51y1b1c&dl=1

    • This reply was modified 3 months, 4 weeks ago by fatherb.
    Plugin Author BWPS Team

    (@buildwps)

    Hi @fatherb,

    Thank you for the information.

    I noticed that you’re using the Rewrite rule of the PDA Gold version.

    Could you please update your rewrite rule to the one below and check if it works?

    rewrite wp-content/uploads/_pda(\/[A-Za-z0-9_@.\/&+-]+)+\.([A-Za-z0-9_@.\/&+-]+)$ "/index.php?pda_v3_pf=$1&is_direct_access=true&file_type=$2" last;
    rewrite private/([a-zA-Z0-9-_.]+)$ "/index.php?pda_v3_pf=$1" last;

    Awaiting your reply.

    Thread Starter fatherb

    (@fatherb)

    Thanks very much. However, changing the rules to these new ones has not changed anything. All the files still go to a pda_404 when clicked.

    Any other ideas?

    Plugin Author BWPS Team

    (@buildwps)

    Hi @fatherb,

    After updating the rewrite rule, have you reset your server yet?

    Could you provide a sample protected URL for us to take a look please?

    Awaiting your reply.

    Thread Starter fatherb

    (@fatherb)

    Thanks for the reply. Yes, the server has been reset. Caches have been emptied.

    Still getting 404 results.

    How would we share a login for the site on this public forum? Is there a way to contact you outside this? To access the documents you need to be logged in.

    Plugin Author BWPS Team

    (@buildwps)

    Hi @fatherb ,

    You can reach us directly at support(at)wpfolio.com or by using our contact form.

    Looking forward to your reply.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.