79770165

Date: 2025-09-20 07:32:52
Score: 5
Natty:
Report link

built a site manually, without the help of any framework. Each page is a html file, so the routes end with html, such as https://example.com/location.html

I am currently migrating it to Astro. But the routes are now different, as they do not end with html, being https://example.com/location instead. But I need to keep legacy route name.

Is there any way to configure astro so that a page location.mdx is mapped on the route https://example.com/location.html (ending with html)?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tyrik Douglas