0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

YouTube概要欄に「@」を含むURLを貼るとエラーになる問題の対処法はない

Last updated at Posted at 2025-09-28

はじめに

サービスやSNSのプロフィールページへの導線として、YouTubeの概要欄にURLを記載することがよくあります。

しかし、https://example.com/@username のように「@」記号を含むURLを記載したところ、「Something went wrong」というエラーが表示され、URL先のページに遷移することができませんでした。

発生する問題

image.png

YouTubeのチャンネル設定や、動画の概要欄に「@」を含むURL(例えば https://example.com/@hogehoge)を記載して遷移しようとすると、Youtubeのエラーページに飛ばされてしまいます。

エラー発生時のURLは下記のようになっており、YouTube側がURLを正しく解釈できずにリダイレクト処理で失敗していることが推測できます。

https://www.youtube.com/redirect?event=video_description&redir_token=...(長いトークン)...&q=https%3A%2F%2Fexample.com%40hogehoge&v=...

対処法

現状最適な対処法はなく、URLに@を載せないように、URL短縮サービスなどを使用する他ないようです。

URLに@を含める場合は、開発するサービスの特性的に、Youtubeに記載される可能性を考慮し、意思決定することをおすすめします。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?