diff --git a/CHANGELOG b/CHANGELOG
index f3c480dc25004dd360b745b960eca3dacbdb55fe..770eb87d67eb48e86ce72232d866fb8c5d02aad9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,8 +4,9 @@ smasch (1.3.1-1) stable; urgency=medium
     deprectation warnings
   * dependencies: updated python related dependencies
   * dependencies: updated npm packages and removed unused packages
-  * breaking change: dropped support for python < 3.9
+  * breaking change: dropped support for python < 3.9 (now supports python 3.11)
   * docker: upgraded docker file and docker compose yml
+  * small improvement: allow the definition of a prefix to access as /smasch/*
 
   -- Carlos Vega <carlos.vega@lih.lu> Tue, 7 Nov 2023 10:35:00 +0200
 
diff --git a/smash/smash/local_settings.py.template b/smash/smash/local_settings.py.template
index 46a88dce4ec47d48f71ad6d3c6e8b833be445dcc..a735625364024c29a3ac1f036ec52fba1c3f0c02 100644
--- a/smash/smash/local_settings.py.template
+++ b/smash/smash/local_settings.py.template
@@ -89,3 +89,8 @@ NPM_ROOT_PATH = '/path/to/smasch/'
 
 AUTH_LDAP_SERVER_URI = "ldap://lcsb-cdc-lums-01.uni.lu"
 AUTH_LDAP_BASE_DN = "cn=users,cn=accounts,dc=uni,dc=lu"
+
+# In order to support a prefix in the path, we should define the following variable SMASCH_PATH_PREFIX and override the STATIC_URL and MEDIA_URL
+# SMASCH_PATH_PREFIX = "smasch/"
+# STATIC_URL = "/smasch/static/"
+# MEDIA_URL = "/smasch/media/"
\ No newline at end of file
diff --git a/smash/smash/settings.py b/smash/smash/settings.py
index 1b5fad3e1760989ca075f5000352d5f591eaa47d..f5793ad60ff9ec3a632004538ef051aeab03dd08 100644
--- a/smash/smash/settings.py
+++ b/smash/smash/settings.py
@@ -183,6 +183,9 @@ USE_TZ = True
 # Static files (CSS, JavaScript, Images)
 # https://docs.djangoproject.com/en/1.10/howto/static-files/
 
+# In order to support a prefix in the path, we should define the following variable SMASCH_PATH_PREFIX and override the STATIC_URL and MEDIA_URL
+# this can be overriden in the local_settings.py file
+SMASCH_PATH_PREFIX = ""
 STATIC_URL = "/static/"
 MEDIA_URL = "/media/"
 
diff --git a/smash/smash/urls.py b/smash/smash/urls.py
index 90d29f279cc60bd981e8f4508fb58f8a6b097072..1832048c716735b26be8a055d2160ceee776a7f6 100644
--- a/smash/smash/urls.py
+++ b/smash/smash/urls.py
@@ -30,12 +30,16 @@ handler500 = "web.views.e500_error"
 handler403 = "web.views.e403_permission_denied"
 handler400 = "web.views.e400_bad_request"
 
+if settings.SMASCH_PATH_PREFIX != "":
+    url_prefix = settings.SMASCH_PATH_PREFIX.lstrip("/").rstrip("/") + "/"
+else:
+    url_prefix = ""
 
 urlpatterns = [
-    re_path(r"^admin/", admin.site.urls),
-    re_path(r"", include(urls)),
-    re_path(r"^api/", include(api_urls)),
-    re_path(r"", include(tf_urls)),
+    re_path(rf"^{url_prefix}admin/", admin.site.urls),
+    re_path(rf"{url_prefix}", include(urls)),
+    re_path(rf"^{url_prefix}api/", include(api_urls)),
+    re_path(rf"{url_prefix}", include(tf_urls)),
 ]
 
 if settings.SERVE_STATIC or settings.DEBUG: