# Missing trailing slash - redirect not working

**URL:** <https://forum.ghost.org/t/missing-trailing-slash-redirect-not-working/14614>\
**Category:** Developer help\
**Created:** [May 23, 2020, 10:21pm UTC](https://forum.ghost.org/t/missing-trailing-slash-redirect-not-working/14614 "2020-05-23T22:21:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artis-dev](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@artis-dev](https://forum.ghost.org/u/artis-dev)\
**Post date:** [May 23, 2020, 10:21pm UTC](https://forum.ghost.org/t/missing-trailing-slash-redirect-not-working/14614/1 "2020-05-23T22:21:59Z")

</div>

I’m using a splat rewrite to pretend that the app on `artis-dev-2-cms.herokuapp.com/ghost` exists on `new.artis.dev/ghost`.

With the Netlify splat rewrite below everything works **perfectly** as long as the URL contains the trailing slash exactly like `new.artis.dev/ghost/`.

The problem is when you don’t have the trailing slash in `new.artis.dev/ghost`. It looks like Ghost no longer automatically appends the trailing slash as it is supposed to.

I have tried countless combinations in the \_reddirects file of `/ghost /ghost/` before and after and variations of these I could think of but I only ever get an infinite redirect loop or this error with the missing segment.

I’ve also tried redirects.json uploaded via Ghost admin redirecting from `/ghost` to `/ghost/` but nothing changed.

- Netlify URL: `new-artis-dev.netlify.app`
- Custom domain URL: `new.artis.dev`
- Contents of **\_redirects** file: `/ghost/* https://artis-dev-2-cms.herokuapp.com/ghost/:splat 200!`

 ![57fa409792e5bdfa9fd12f818a715069afcea444](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/5/57fa409792e5bdfa9fd12f818a715069afcea444.png)
