Kinsta Managed WordPress Hosting

Here’s how you can make our Prevent Direct Access (PDA) Gold works 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

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

Protected links:

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

^/wp-content/uploads(/_pda/.*\.\w+)$
/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 August 21, 2019