How to add a static file in /?


#1

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.


#2

@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


#3

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?


#4

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.


#5

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