Is it possible to configure the ‘Back to site’ url in the dashboard to return to a different url, for example to xyz.com/admin/home

I’ve successfully integrated Hangfire into my ASP.NET application, and I need some help configuring the “Back to site” URL in the dashboard. I want to customize this link so that it redirects users to a different URL than the default one.

Could anyone guide me on how to achieve this?

I haven’t tried this, but I believe it’s possible. See the page Using Dashboard UI — Hangfire Documentation (the “Change Back to site Link” section in this page).

This uses an option like ‘DashboardOptions { AppPath = “https://your-app.net” }’.

1 Like