Custom endpoints for WordPress files

[ad_1]

Hi all!
I have a website and need to “upload” 2 files at specific “endpoints” so that they can be available/accessed by an external application.
Let’s say the site is “example.com” and we have 2 files “versions.xml” and “blacklist.txt”.
The files need to be available at:
example.com/ml/versions.xml

example.com/blacklist.txt
Any ideas if this is possible and how to achieve it?
I have read about the custom WP endpoints but not sure if that’s what I’m looking for, or how to implement it.

[ad_2]

 

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