# The reason is trailing slash ? how can i do?

**URL:** <https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656>\
**Category:** Developer help\
**Created:** [June 6, 2019, 2:03am UTC](https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656 "2019-06-06T02:03:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![txtidea](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/txtidea/32/4310_2.png) [@txtidea](https://forum.ghost.org/u/txtidea)\
**Post date:** [June 6, 2019, 2:03am UTC](https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656/1 "2019-06-06T02:03:29Z")

</div>

i had upload a.txt to my root folder /var/www/ghost/, but when i visit [https://aptfund.com/a.txt](https://aptfund.com/a.txt), the url redirects to [https://aptfund.com/a.txt/](https://aptfund.com/a.txt/), and page is 404 , the reason is **trailing slash**? how can i do? i need use a.txt Verify my site.

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [June 6, 2019, 7:56am UTC](https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656/2 "2019-06-06T07:56:35Z")

</div>

If it’s just a temporary file needed for verification, think the best way around would be adding a static route on http server level (in apache on nginx) What do you think @txtidea?

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [June 6, 2019, 8:37am UTC](https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656/3 "2019-06-06T08:37:31Z")

</div>

Also, putting the `a.txt` file into the root of the theme as suggested here:

> [@How can I host a plain text file at the root of my site?](https://forum.ghost.org/t/how-can-i-host-a-plain-text-file-at-the-root-of-my-site/6003/4):
>
> This sounds way to complex. You can drop the .txt file in your theme root and that will simply work.

should work as well ;)

---

<div class="post-metadata">

**Author:** ![txtidea](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/txtidea/32/4310_2.png) [@txtidea](https://forum.ghost.org/u/txtidea)\
**Post date:** [June 8, 2019, 12:21am UTC](https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656/4 "2019-06-08T00:21:42Z")

</div>

thank you,i had tried put a.txt into root of theme , it’s not work.  
may, i will try the first way, thank you again

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [June 22, 2019, 12:22am UTC](https://forum.ghost.org/t/the-reason-is-trailing-slash-how-can-i-do/7656/5 "2019-06-22T00:22:57Z")

</div>

Closed on June 22, 2019, 12:22am UTC

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