Loopia Boost platform does not support rewrites via standard htaccess files by default. Therefore, when activating our PDA Gold, you might receive the warning message that requires you to update the rewrite rules manually.
Simply follow 3 steps below to make Prevent Direct Access (PDA) Gold plugin work on the Loopia Boost platform.
Step 1: Find the “Boost settings” option from your account dashboard.
Step 2: Select the directory that will be the base under Directories/Redirects. Usually, this is “root” which is the same as “rewrite base /” in htaccess.
Step 3: Create 2 redirect rules as described below:
Rule for original links
Regex | ^/wp-content/uploads(/_pda/.*\.\w+)$ |
Replacement | /index.php?pda_v3_pf=$1 |
Redirect type | 301 Permanent |
Rule for private links
Regex | ^/private/([a-zA-Z0-9-_]+)$ |
Replacement | /index.php?pda_v3_pf=$1&pdav3_rexypo=ymerexy |
Redirect type | 301 Permanent |
Then click on “Add custom rewrite” and save your new rules.
Our PDA Gold should work on your site as expected now.