# Pretty urls return 404 on /about instead of 301 to /about/

**URL:** <https://answers.netlify.com/t/pretty-urls-return-404-on-about-instead-of-301-to-about/135980>\
**Category:** Support\
**Tags:** redirects, netlify-newbie\
**Created:** [January 2, 2025, 9:42pm UTC](https://answers.netlify.com/t/pretty-urls-return-404-on-about-instead-of-301-to-about/135980 "2025-01-02T21:42:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![my-astro](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/my-astro/32/66518_2.png) [@my-astro](https://answers.netlify.com/u/my-astro)\
**Post date:** [January 3, 2025, 12:59pm UTC](https://answers.netlify.com/t/pretty-urls-return-404-on-about-instead-of-301-to-about/135980/5 "2025-01-03T12:59:41Z")

</div>

**Step 1 result**  
Deploy file browser contains 2 files:

- favicon.svg
- netlify.toml

**Step 2A (Static Site)**  
Deploy file browser contains 4 files:

- about/index.html
- favicon.svg
- index.html
- netlify.toml

demo: [https://prettystatic.netlify.app/about/](https://prettystatic.netlify.app/about/)  
repo: [GitHub - my-astro/prettystatic](https://github.com/my-astro/prettystatic)

I’ve tested `pretty_urls` on a static variant and it works as expected: both `/about.html` and `/about` redirect to `/about/`.

So now we know on practice, that pretty\_urls work on static websites and do not apply to Astro SSR (output: ‘server’). For people who will search for such topic – I first thought that this [thread](https://answers.netlify.com/t/pretty-urls-trailing-slash-not-working-correct/93997) is unrelated, but seems it is since Astro Netlify adapter is a function.

The thing I want to clarify is URLs normalization, I can’t wrap my head over it and if you have any ideas how can I test if normalization kicks in will be much appreciated!

---

_[View the full topic](https://answers.netlify.com/t/pretty-urls-return-404-on-about-instead-of-301-to-about/135980)._
