Join the Webstudio community

Updated 4 months ago

Page Settings --> Redirect... Documentation???

At a glance

The community member is trying to have dynamic pages like "example.com/planes/PLANE_NAME" load "example.com/planes/PLANE_NAME.html" instead, without using a bunch of 301 redirects. Another community member suggests that this is an older pattern, and that the 301 redirect is the best option, which can be set up using Cloudflare page rules or Workers. The community member's attempt to achieve this did not work.

I'm trying to have a dynamic page like "example.com/planes/PLANE_NAME" load "example.com/planes/PLANE_NAME.html" instead. In other words I always want ".html" appended to each dynamic page and load that instead. I would prefer not us use a bunch of 301 redirects. Please see image for my attempt which did not work.
Attachment
problem.png
J
1 comment
This is an older pattern. Why would you prefer .htm, only so you don't need to redirect?

I believe Webstudio pages are dynamic, .html is typically on static pages.

The 301 is your best option. You can just set a rule in Cloudflare page rules or Workers. AI can help you write it if you need help.
Add a reply
Sign up and join the conversation on Discord