Flywheel Hosting Support

Flywheel uses Nginx webserver to serve up static files. Nginx also acts as a reverse proxy to PHP processes as well as handles all of the rewrite rules that serve your WordPress sites up.

There are 2 ways to make our Prevent Direct Access Gold (PDA) work perfectly with Flywheel hosting:

Implement Our Nginx Rewrite Rules

This is a recommended method to keep pretty permalinks for your file URL. You need to contact Flywheel customer support. They will translate our original .htaccess rewrite rules into Ngnix and implement them for you.

Use Raw URLs

Using our Raw URLs provides a quick and dirty solution.

  1. Enable our Raw URLs option
  2. Access to your website server using SSH or SFTP
    • Go to our _pda folder located under wp-content/uploads/
    • Create a .htaccess file inside the _pda folder with the following rules
    Order deny, allow
    Deny from all

That’s all you have to do. Now, all your files should be protected correctly with our PDA Gold.

Lasted updated on July 26, 2019