Configure PDA Gold Rewrite Rules on CentOS Web Panel (CWP)

This is how to configure PDA Gold Rewrite Rules on CentOS Web Panel:

  1. Click on “WebServers Conf Editor”
  2. Select the correct configuration file of your website, e.g.
    • Please note port 443 is used for https while port 80, for the http version of your website
  3. Put our PDA rewrite rules as follows
    #Put our rewrite rules here, i.e.
       rewrite wp-content/uploads(/_pda/.*\.\w+)$ "/index.php?pda_v3_pf=$1" last;
       rewrite private/([a-zA-Z0-9-_]+)$ "/index.php?pda_v3_pf=$1&pdav3_rexypo=ymerexy" last;
  4. Once done, click on “Reboot” under Server Settings to restart your server under


Lasted updated on August 19, 2020