Configuring Wordfence Security Firewall with Siteground Hosting

In Tutorial, Website Development by Robb FahrionLeave a Comment

Reading Time: 2 minutes

In this Flying V Group training video, we walk users through how they can install and set up the Wordfence Security Plugin and configure the firewall settings with a Siteground Hosting account.

Here are the steps taken in the video:

  1. After attempting the Wordfence installation, click the “Click here to configure” button again.
  2. Look at the line that says something like: auto_prepend_file = ‘/home/username/public_html/wordfence-waf.php’.
  3. Copy the “path” that appears between the quotes – yours will be different. In this example: /home/username/public_html/wordfence-waf.php
  4. Go to your site’s cPanel, and click the PHP Variables Manager icon.
  5. Click the link that says “public_html” or the location where your site files are located.
  6. Enter “auto_prepend_file” as the variable name, click the “Add” button, and then paste the path that you copied.
  7. Turn on the checkbox “Apply changes to all sub-directories” and click Save

Thanks for watching and please leave a comment if you have any questions or trouble.

Share this Post


Awesome Marketing Tools for Powerful Business Growth

Discover the Best Digital Business Growth Strategies!


Join 10,000+ Other Digital Marketers, Consultants, and SEO Experts Now:

"If you use the advice given in the emails, your business will grow, guaranteed."

-Mark Davidson, KeenVision Financial

Robb Fahrion
Robb Fahrion, Partner
Flying V Group