Antti K. Koskela 11/11/2025

How to make Blazor Static support trailing slashes in URLs?

Read Original

This technical article explains a common issue with Blazor Static, a static site generator for Blazor, where URLs don't support trailing slashes. It details why this happens (lack of server-side routing) and provides a configuration-based solution to generate both file and directory-style URLs, fixing routing and improving SEO for static Blazor sites.

How to make Blazor Static support trailing slashes in URLs?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week