一つのドメインから別のドメインへのリクエストをリダイレクトする
異なるドメインへのリダイレクトルールを作成し、すべての機能を維持しますが、廃止されたHTTPサービス(ポート80)は除きます。
この例では、元のドメインが異なるドメインに置き換えられました。すべての機能は維持されましたが、廃止されたHTTPサービス(ポート80)は除外されました。
- 次のURLリダイレクトを使用してバルクリダイレクトリストを作成します:
- Source URL:
example.com/ - Target URL:
https://example.net/ - Subpath matching: 有効
- Preserve query string: 有効
- このリストを有効にするバルクリダイレクトルールを作成します。
この設定は、次のリダイレクトを実行します:
| Request URL | URL after redirect |
|---|---|
http://example.com/ | https://example.net/ |
https://example.com/ | https://example.net/ |
https://example.com/my/path/to/page.htm | https://example.net/my/path/to/page.htm |
https://example.com/search?q=term | https://example.net/search?q=term |