Edit on val.town ↗

Redirecting val.run URLs

If you'd like your val.run URLs to continue working, you can add redirects to their new locations. You can manually add redirects in your val settings, account settings, or org settings pages, use the plugin / MCP server, or ask Townie to set it up.

Redirects default to keeping the path and query string, so https://bloggy.val.run/hello-world?ref=home goes to https://example.com/hello-world?ref=home. You can turn this off to send every request to the exact URL you set instead.

As soon as a redirect is set up, the val stops receiving requests. We recommend adding redirects after you have completely migrated the val off of Val Town. If your val is a webhook, many webhooks will not follow redirects. Instead, we recommend updating the URLs with each webhook provider that you are using.

Note that this only covers URLs that end in .val.run. If you're using a custom domain on Val Town, you'll need to update your DNS settings with your domain provider to point to the new location.

Open Townie and start a new thread to ask Townie to add redirects for any val.run URLs you have on Val Town. Townie can list out your existing HTTP endpoints and keep track of any redirects you have set up. Once a redirect is set, you can see where it points to in your val settings page or in your account settings or org settings under Custom Domains.

You can also manage redirects from our MCP server or with the Val Town plugin. Once your MCP client is connected to the MCP server, ask your agent to add redirects for any val.run URLs you have on Val Town. The MCP server provides tools to view and manage redirects across all your accounts.

Redirects can be managed in your val settings, account settings, or org settings.

Scroll to the HTTP section of your val's settings to see a list of HTTP endpoints. Click the arrow button next to an endpoint to add or edit its redirect location.

In your account or org settings, navigate to the Custom Domains section. Scroll to the section named Val.run redirects to add or edit any HTTP endpoint's redirect location.

You can add and edit your redirects until December 10, 2026, when code on Val Town becomes read-only. Redirects stay temporary until then. On December 10, 2026, any redirects that you have set will become permanent.

Last updated