Custom URL Dash App

Hello Dash Community,

I have deployed a multi-page dash app similar to the example shown on the dash website.
It follows a structure:

- app.py
- pages
   |-- analytics.py
   |-- home.py
   |-- archive.py

I am interested to know if there was a way to set custom URLs such that the home page lands ‘/my-multi-page-app/’ rather than ‘/’. Subsequently, the other pages land on ‘/my-multi-page-app/analytics/’ and ‘/my-multi-page-app/archive/’.

Thank you.

Just realised that there is an example code here: https://github.com/ankitario/dash-multi-page-app-demos/tree/main/multi_page_basics_pathname_prefix

Thank you @AnnMarieW

2 Likes