Match
In switchhoster
, the match is the core unit in the collection that defines the target URI that the current collection can use for switching. By creating multiple matches, you can quickly switch to the specified URI
to suit different work scenarios.
Describe
- Name: Provide a concise name for the match to help you quickly identify the role of each match. For example, you can use subdomains for naming.
- Target URI: Define the target URI after the switch
TIP
Target URI
, which is not sensitive to sheme
, for example: http://www.example.com
will be parsed as www.example.com
Example
Suppose your current URI
is https://www.example.com/page?source=google, and two matches are created:
Name | Target URI |
---|---|
www | www.domain.com |
sub | sub.domian.com |
When you press the shortcut key Ctrl / Option ⌥ + Tab
, it will switch to https://sub.domain.com/page?source=google page.
TIP
MacOS
users can switch through the shortcut key Option ⌥ + Tab
.
Windows
and other operating system users will use the Ctrl + Tab
key to complete the switch.
Operations
You can perform the following operations on matches to manage and modify matches:
- Create: Create a new match item to the current collection, specifying the match item name and target URI.
- Delete: Deletes the current matching item. This operation cannot be undone. Please confirm before you proceed.
- Save: Saves the changes made to the current matching item to ensure that the changes are updated.
- Discards: Discards all current edits to the matches and returns to the matches list page.