Protect Files on Kinsta Managed WordPress Hosting

Here’s how to make our Prevent Direct Access (PDA) Gold work properly on Kinsta who uses Nginx webserver to power its hosting.

Add PDA Gold Redirect Rules

  1. Log into your Kinsta
  2. Select your domain, then click on “Redirects”
  3. Add these 2 new redirect rules as follows:

Private links

Redirect From: ^/private/([a-zA-Z0-9-_]+)$
Redirect To: /index.php?pda_v3_pf=$1&pdav3_rexypo=ymerex


Protected links:

Redirect From: ^/wp-content/uploads(/_pda/.*\.\w+)$
Redirect To: /index.php?pda_v3_pf=$1


There you go. Now our PDA Gold should work properly on your Kinsta-hosted website.

If you’ve changed Prefix for Private URL on our PDA Gold Settings page, you need to replace the word private accordingly

Lasted updated on April 17, 2020