How can I host a plain text file at the root of my site?

This sounds way to complex. You can drop the .txt file in your theme root and that will simply work.

2 Likes