product icon

Manage URL Rules for users in the new Admin Console

    Specify how you want LastPass to handle specific URLs that your users visit if they are using more than one set of credentials for a website.

    About this task:

    There are three types of URL matching behaviors you can control - path, host, and port - and you can choose to add more than one of these rules to be used to display fewer login entries for your users.

    Path matching
    If your users have more than one set of credentials for a website (e.g., Website.com/path1 and Website.com/path2), you can specify a rule of “/path1” to only supply their credentials to Website.com/path1 and not Website.com/path2.
    Host matching
    If your users have one set of credentials for "Website.com" and another set of credentials for one of its subdomains, "Help.website.com", you can control LastPass behavior by specifying a host matching rule. For instance, you could specify a rule for LastPass to only supply your users' credentials to "Website.com", not "Help.website.com".
    Port matching
    Your users may have different credentials for different ports on the same website (a port is specified at the end of a URL and is directly preceded by a colon; in https://Website.com:7634, the port is 7634). For instance, your users could have one set of credentials for https://Amazon.com:7634 and another set of credentials for https://Website.com:8547.
    1. Log in with your email address and master password to access the new Admin Console at https://admin.lastpass.com.
    2. If prompted, complete steps for multifactor authentication (if it is enabled for your account).
    3. Go to Advanced > Enterprise options > URL Rules.
    4. Select Add URL Rule.
    5. Choose from the following:
      Action in LastPass Instructions
      Create a Path matching rule
      1. Enter the Domain or host and Path information.
      2. Specify whether you want an Exact Host Match and/or an Exact Port Match.
      3. Select Add.
      Create a Host matching rule
      1. Enter the Domain or Host.
      2. Select Yes for Exact Host Match.
      3. Select Add.
      Create a Port matching rule
      1. Enter the Domain or Host.
      2. Select Yes for Exact Port Match.
      3. Select Add.
    6. Optional: To treat all URL rules as case-insensitive, do the following:
      1. Select Options.
      2. Select the check box for Treat all URL rules as case-insensitive.
      3. Select Save changes.
    Results: The URL rule has been applied to all users.

    Delete a URL rule

    1. Select a checkbox next to a URL Rule.
    2. Select Delete selected URL rules.
    Results: The selected URL rules are deleted.