Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、今すぐ自分のページからユーザー ページにリダイレクトしたいのですが、WordPress ページ内にコードを書きます。example.com/*userid*
example.com/*userid*
<meta http-equiv="refresh" content="0;URL=http://www.example.com/members/<?php $id = bbp_get_user_id(); ?>/?user='.$id/">
私は実際にどこで間違いを犯していますか
デフォルトでは、セキュリティ上の理由から、WordPress の投稿/ページのコンテンツに PHP を入力することはできません。さらに、<meta>タグは投稿の本文ではなくヘッダーに属します。
<meta>