> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/password-manager/knowledge-base/browser-extension-knowledge-base/urls-comparing-types.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# URLs comparing types

Understand URL comparing types in Devolutions Password Manager, such as Host, Base domain, Exact, and Regex, that control autofill entry matching.

Each URL in a ***Website*** entry has a comparing type associated to it. The comparing type determines if the Devolutions Password Manager browser extension should offer the entry as an available entry to perform autofill. The browser extension compares the URL of the entry with the full URL of the current browser tab.

These comparisons are made by the browser extension for the Devolutions Server and Devolutions Cloud workspaces. For a Remote Desktop Manager workspace, Remote Desktop Manager finds the matching entries.

{% hint style="warning" %}
***Host*** is the default comparing type on all platforms.
{% endhint %}

### Default

Comparing type set to ***Default*** uses the ***Default comparison type*** of the workspace, set in the browser extension under ***Settings*** – ***Workspaces*** – ***Advanced***. Its default value is ***Host***. See [Settings](https://docs.devolutions.net/password-manager/browser-extension/settings.md).

### Base domain

Comparing type set to ***Base domain*** compares the registrable domain of the URLs, which is the second-level domain plus the top-level domain, or plus the public suffix such as `co.uk`. The URL <https://www.devolutions.net> would have the base domain value devolutions.net. For `localhost` and IP addresses, the full host name is compared. The protocol, the port, and the path are not compared. Example:

* URL entry value: <https://www.devolutions.net>
* Comparing: <https://devolutions.net>, <https://forum.devolutions.net>, <https://exemple.forum.devolutions.net>, <https://forum.devolutions.net/#CLOUD>
* Not comparing: <https://devolutions.com>, <https://google.com>

### Compare Regex with url domain

Comparing type set to ***Compare regex with URL domain*** is handled like ***Compare regex with full URL*** by the browser extension: the regular expression is tested against the full URL of the current browser tab.

### Compare Regex with full url

Comparing type set to ***Compare regex with full URL*** compares the current browser URL to match with a regular expression. The URL entry value must be a valid JavaScript regular expression. The comparison is case-sensitive, and the expression can match any part of the URL unless it uses the `^` and `$` anchors. Example:

* URL entry value: `^https://([a-z0-9-]+\.)*devolutions\.(com|net)/`
* Comparing: <https://devolutions.com>, <https://forum.devolutions.net>, <https://login.devolutions.com>, <https://server.devolutions.net>
* Not comparing: <http://devolutions.ca>, <https://sysadminotaur.com/>

### Exact

Comparing type set to ***Exact*** requires that the current browser URL exactly match the URL entry value, including the protocol, the path, and the query string. Example:

* URL entry value: <https://www.domain.com/index.html>
* Comparing: <https://www.domain.com/index.html>
* Not comparing: <https://www.domain.com> <http://www.domain.com/page.html> (not https) <https://www.domain.com/index.html?query=abc>

### Host

Comparing type set to ***Host*** compares the URLs with the hostname plus an optional port. The URL <https://sub1.domain.net:5000> would have the host value sub1.domain.net:5000. A leading `www.` is ignored, and the protocol and the path are not compared. Example:

* URL entry value: <https://sub1.domain.net:5000>
* Comparing: <https://sub1.domain.net:5000>, <https://sub1.domain.net:5000/index.html>
* Not comparing: <https://domain.net>, <https://sub2.domain.net>, <https://sub1.domain.net>, <https://sub1.domain.com:6000>

### Never

Comparing type set to ***Never*** will never match the URL entry value. Example:

* URL entry value: <https://www.devolutions.net>
* Comparing: none
* Not comparing: <https://www.devolutions.net>, <https://devolutions.net>, <https://forum.devolutions.net/#CLOUD>

### Starts with

Comparing type set to ***Starts with*** requires that the current browser URL must start with the URL entry value. The comparison is case-sensitive. Example:

* URI starts with value: <https://sub.domain.com/path/>
* Comparing: <https://sub.domain.com/path/>, <https://sub.domain.com/path/page.html>
* Not comparing: <https://sub.domain.com/path> (missing trailing slash), <https://sub.domain.com>, <https://sub.domain.com:4000/path/page.html> (has a port)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/password-manager/knowledge-base/browser-extension-knowledge-base/urls-comparing-types.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
