How can I remove /app/ in URL handle?

If I remove app.tsx file, the login page will be down.

Hi @Zara

I’m not sure if auth will work correctly without /app in the URL. What exactly are you looking to achieve?

@Liam-Shopify I want to URL handle like this, it does not include ‘/app’
Like them, /store/apps/demo-app/blocks, /discounts…
when I run the app, it will show /store/apps/demo-app/app/blocks..

It’s possible this is achievable as it’s a first-party app - is there examples of this appearing on other third-party apps?

I’m genuinely curious, why do you want to remove it? What benefit will there be?

The same is true for other third-party apps.



Hey, that’s a Remix config (as I understand it).

To remove the “app” section, you must first add an underscore.

It is also important that /app/ is removed everywhere, i.e. in your menu and any redirects.

I hope this helps you.

1 Like