LoginSignup
0
0

拡張ドメイン設定後のリダイレクトのまとめ

Last updated at Posted at 2024-01-10

どうやって、URLを変えるか

in the re-direct logs you downloaded you would be knowing which users are still hitting old url.. you can plan for a communication to those users.

have a plan to

  1. Download the logs on bi-weekly basis.
  2. Find the actors or users who are repeated offenders and reach to those users via email educating them about new link

ダウンロードしたリダイレクト ログを見ると、どのユーザーがまだ古い URL にアクセスしているかがわかります。それらのユーザーへの通信を計画できます。

計画

  1. 隔週ベースでログをダウンロードします。
  2. 犯罪を繰り返している行為者またはユーザーを見つけ、電子メールでそれらのユーザーに連絡し、新しいリンクについて説明します。

リダイレクト ログの確認についてサポートが必要です。

It's best to look at the metadata in the org to see if any references to that *.na166.content.force.com URL exist. This may be within an email template, and email templates unfortunately use hardcoded URLs for the most part.

組織内のメタデータを調べて、その * への参照があるかどうかを確認することをお勧めします。na166.content.force.com URL が存在します。これは電子メール テンプレート内にある可能性がありますが、残念ながら電子メール テンプレートではほとんどの部分でハードコードされた URL が使用されます。

パラメータを使用したドメイン リダイレクト

For all redirections, parameters passed via a URL follow these rules.

  • The redirection includes query-string parameters up to the first hash (#), if present.
  • The redirection doesn’t include any hash fragments. A hash fragment is the part of the URL that includes a hash (#) and the text that follows it.
  • For entity-containing requests, such as POST, the redirect includes a Temporary Redirect (307) HTTP response status code. That status code instructs the browser to retry the request at the new location via the original request method.[^13]

すべてのリダイレクトで、URL 経由で渡されるパラメーターは次の規則に従います。

  • リダイレクトには、存在する場合、最初のハッシュ (#) までのクエリ文字列パラメーターが含まれます。
  • リダイレクトにはハッシュ フラグメントは含まれません。ハッシュ フラグメントは、ハッシュ (#) とそれに続くテキストを含む URL の一部です。
  • POST などのエンティティを含む要求の場合、リダイレクトには一時リダイレクト (307) HTTP 応答ステータス コードが含まれます。そのステータス コードは、元のリクエスト メソッドを介して新しい場所でリクエストを再試行するようブラウザに指示します。

インスタンスの記載があるURL

これは、「マイ ドメイン」として知られる Salesforce 機能が原因である可能性があります。Salesforce 組織で [私のドメイン] が有効になっている場合、標準の Salesforce ドメイン (例: na1.salesforce.com ) をカスタム ドメイン (例: test--c.my.salesforce.com ) に置き換えることができます。

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