In Webflow, you can change the URL corresponding to each page by using the "URL Routing" feature. This allows you to customize your page URLs without relying on hashtags or appending a static "appendix". Instead, you can dynamically generate and append the desired URL components based on your content or data.
Here's how you can achieve this:
1. Open the Webflow Designer and select the page you want to modify the URL for.
2. In the Page Settings panel, click on the "Settings" tab.
3. Under the "URL Routing" section, enable the "Enable URL Routing" toggle.
4. By default, Webflow will generate a URL based on the page's name. However, you can customize it further by clicking the "Add" button next to "Custom URL" to define your own routing structure.
For example, let's say you have a blog section on your website, and you want the URL to include the blog post's title. You can define a custom URL structure like "/blog/{title}". The "{title}" is a dynamic "slug" that will be replaced with the actual blog post title.
5. To dynamically populate the slug for each blog post, you will need to use CMS Collections. Set up a collection for your blog posts and add a field for the title. Then, create a template page for your blog posts and connect it to the collection.
6. On the template page, navigate to the Page Settings panel > Settings tab > URL Routing section. Click on the "Add" button next to "Custom URL" and choose the field that represents your blog post's title. In this case, select the "Title" field.
7. Publish your site to see the changes take effect.
Now, when you create a new blog post in your CMS collection, Webflow will automatically generate the URL based on the blog post's title. For instance, if the blog post title is "Top 10 Web Design Trends", the URL will be "https://www.yourwebsite.com/blog/top-10-web-design-trends".
By using URL routing and CMS Collections, you can create dynamic and SEO-friendly URLs without relying on hashtags or static appendices. This approach gives you the flexibility to structure your URLs based on your content and improve your website's usability and search engine optimization.