TODOROKI MOTION ブログは以下に移動しました。

3秒後に新しいページへ移動します。
自動的に移動しない場合は、お手数ですが以下をクリックしてください。

ブログ(トドロキモーション公式サイト内)

The TODOROKI MOTION blog has moved to a new location.

he page will redirect in 3 seconds.
If it doesn't, please click the link below.

Blog (on the official TODOROKI MOTION website)

Redirection problem of vercel

I noticed that although astrojs itself has a redirect feature, it wasn’t working as expected on the Vercel side. I had listed all the URLs for the old site using this feature, but crucially, they were not being redirected on the Vercel side.

astro.config.mjs:

    ...
    adapter: vercel(),
    redirects: {
        "/blik": "/blik/blik-0/",
        "/posts": "/blog/first",
        "/detail/7953ce2a-2703-4ae0-a279-f19427805aad": "/blik/blik-0/",
        ...
    },
    ...

However, as soon as I noticed, it was fixed. It has been resolved in @astrojs/vercel 6.1.0, so:

https://www.blender-ikkinomi.com/detail/ec1982ce-9825-42dd-ad87-d194bdf3c066

is now correctly redirected to:

https://www.blender-ikkinomi.com/blik/blik-21/

However, there is still an issue reported for cases where there is a trailing ’/’ in the URL.

https://github.com/withastro/astro/issues/9259

The following example is still not redirecting.

https://www.blender-ikkinomi.com/detail/ec1982ce-9825-42dd-ad87-d194bdf3c066/