XML file being blocked | WordPress.org

Wordfence appears to keep blocking an XML file that we use to generate some table data on the site. The file is located in the /ftp/fw_links.xml folder and I am able to navigate to the file via the browser but when I try to access it via the file_get_contents() function I am not able to open the file. This has been working but recently it stopped working again. If I put the firewall into learning mode it starts working again but I can’t just leave it in learning mode and no matter how many people access that page over the learning period Wordfense doesn’t learn not to block it.

I also don’t ever see any messages asking if I would like to block it or if this was a false positive. I would add it to the Allowlisted URLs but I am not sure how to properly do that. The XML is being loaded via a function and the data is being used to generate a table of data. Not sure if that helps but I would love to be able to just manually add it to the Allowlisted URLs if I know what param type and what param name to use.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer