Redirects

Create and manage Redirects
20/10/2023Igor Brasileiro

Today, we're excited to introduce a new feature that allows our users to manage redirects on their websites directly on deco.cx's Admin. Now, users can create, edit and delete redirects without any extra effort.

You can test this feature right now by accessing the admin panel at https://admin.deco.cx.

Creating a new redirect

Types of Redirect

When it comes to creating redirects, you have two options: temporary or permanent.

- Temporary: not indexed, stored or cached by crawlers (e.g: Google) and browsers. They provide a short-term solution and are ideal for situations where you might want to reroute traffic temporarily.

- Permanent: stored by search engines and crawlers. They permanently update the path for the current page, and they are hard to undo. If you're unsure about which type of redirect to choose, we strongly recommend using temporary redirects.

Enabling this Feature for Your Site

For websites created after the date of this blog post (Oct 23 2023), this feature will be enabled by default.

If your site was created before this blog post, you can enable this feature by updating your site dependencies to [email protected] and [email protected]. (Run deno task update) Next, update your app's site by adding a new Site Map entry named Redirects. Once this is done, all managed redirects will function seamlessly on your site.

Editing a redirect

If you have any questions, feel free to reach us at deco.cx Discord Server.

That's all for today. Stay tuned for our next release!