# Traefik: services can no longer access assets when stripping first prefix (how to set base url)

**URL:** https://community.traefik.io/t/traefik-services-can-no-longer-access-assets-when-stripping-first-prefix-how-to-set-base-url/27187
**Category:** Traefik v3 (latest)
**Tags:** kubernetes-ingress
**Created:** [April 13, 2025, 9:33pm UTC](https://community.traefik.io/t/traefik-services-can-no-longer-access-assets-when-stripping-first-prefix-how-to-set-base-url/27187 "2025-04-13T21:33:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)
#### Post date: [April 14, 2025, 5:21am UTC](https://community.traefik.io/t/traefik-services-can-no-longer-access-assets-when-stripping-first-prefix-how-to-set-base-url/27187/2 "2025-04-14T05:21:18Z")

</div>

That’s why sub-domains are best practice. Not every web application supports a custom path.

It’s [discussed like here](https://community.traefik.io/t/docmost-pathprefix/27164/2) about every other week.

---

_[View the full topic](https://community.traefik.io/t/traefik-services-can-no-longer-access-assets-when-stripping-first-prefix-how-to-set-base-url/27187)._
