How to add a static file in /?

url: https://www.example.com/jd_root.txt
response: e95d2f4a675fe6f23f13cfc074102d8e33544f84c7cfcfd3

I add this file only to verify that I am the owner of the website.

Turn this post into a page won’t work because it returns not exactly a string.

@andy1247008998 you can add the jd_root.txt file to your theme, you should then be able to access it at example.com/jd_root.txt

1 Like

cp jd_root.txt /var/www/ghost/content/themes/biron-ghost-theme-master/ still 404 error.

Do I need to add a route or something?

Did you restart Ghost after adding the file? If you make any changes to your theme without using the theme uploader in the admin you have to restart Ghost for it to pick up the changes.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.