- Use the policy editor below to add rules to 1 policy.
- Use Quick Editor to add the same rules to 1 or more policies.
- Use a CSV import to add a large set of rules to 1 policy.
Understand URL Rule Basics
Before adding rules, review how GoGuardian Admin interprets URL entries. No protocol or prefix needed. Enter a domain in plain format:youtube.com, not https://www.youtube.com. The www prefix and the http:// or https:// scheme are not required and should be omitted.
A trailing slash scopes a rule to an exact domain. GoGuardian Admin adds a trailing slash to a domain-only rule automatically when Auto-Format Domains is on, which is the default. youtube.com/ matches youtube.com and its paths, but not a lookalike domain such as youtube.com.evil-site.net. See Use Auto-Format Domains for Website URL Rules for the full behavior and how to turn it off.
Paths are included, but subdomains are not. A rule for google.com also covers google.com/search, google.com/maps, and any other path under that domain. It does not cover shopping.google.com or mail.google.com. Those subdomains must be added as separate rules.
Subdomains require their own rules. To block or allow a subdomain, add it directly: sites.google.com, help.goguardian.com.
Top-level domains are supported. To block or allow every website that uses a specific top-level domain (TLD), add a TLD wildcard rule, such as *.edu. Auto-Format Domains automatically scopes the rule to the exact TLD by adding a trailing slash (*.edu/), so the rule doesn’t also match unrelated domains that merely contain .edu. Review the match preview before saving a TLD rule because it can affect many websites.
Allow rules override block rules at the same URL. If a URL is blocked by a rule or a category, adding an allow rule for a specific path creates an exception. For example, if youtube.com is blocked, adding youtube.com/kids as an allow rule permits access to that path while keeping the rest of the domain blocked.
All URL rules have an implicit wildcard at the end. Blocking
website.com is equivalent to blocking website.com*, which means the rule also covers all paths and query strings under that domain. To restrict a rule to an exact URL, use a wildcard pattern that does not extend past the intended endpoint.Add a Website URL Rule
- In GoGuardian Admin, select Filtering > Policies, then open the policy you want to edit.
- In the policy, select the Website URLs section.
-
Enter the domain, subdomain, top-level domain, or path you want to filter, for example,
instagram.com,sites.google.com, or*.edu. - Choose Block to prevent access or Allow to permit it.
- Click Save to add the rule to the policy.
- Verify the result: The new rule appears in the Website URLs list. The rule takes effect immediately for all users assigned to that policy.
Wildcard rules use asterisks to match patterns across multiple URLs, for example,
*.mlb.com to block all team subdomains. For full wildcard syntax and examples, see Use Wildcard Rules in Policies.Filter Search Results
To block search results for a specific term on Google or YouTube, add a block rule using this pattern:term with the keyword you want to filter. For example, *search*guns blocks searches for that term across both Google and YouTube.
google.com is not blocked by GoGuardian Admin’s category filtering, so you do not need to add it as an allow rule in most policies. Adding google.com as an allow rule is appropriate only when the policy uses Restrictive Mode, where all sites are blocked by default and specific domains must be explicitly allowed. In any other policy, adding a direct allow for google.com disables search filtering, including *search*term rules and Google Images blocks.Block Google Images
To block Google Image searches without blocking all of Google, add both of the following as block rules in the Website URLs section:Block Categories of Websites
In the Website Categories section of a policy, block a category or subcategory to restrict its websites without adding each URL individually. See Review Website Categories for category details. An allowed Website URL rule creates an exception to a category block. If a site is blocked by its category, add an allow rule for that site to permit it. For example,instagram.com belongs to two categories, Social Networking and Photography. If your organization blocks the Social Networking category but wants to allow Instagram, add instagram.com as an allowed Website URL rule. The allow rule creates an exception and permits Instagram despite its blocked category.
To block any site that GoGuardian has not yet categorized, such as new proxy, gaming, or inappropriate sites, block the Uncategorized category. For setup steps and permission requirements, see Block Uncategorized Websites.
Understand Policy Priority
When two or more policies apply to a user’s org unit, the policy type affects the filtering outcome:- Assigned (locally applied) policies outrank Inherited policies. This is the one exception to the rule that an allow rule always beats a block rule. If an Assigned policy blocks a site that an Inherited policy allows, the site is blocked.
- Policies at the same OU level fall back to allow-beats-block. When policies assigned at the same OU level conflict, an allow rule supersedes a block rule. Policies inherited from different OUs are not tied: the policy from the OU closer to the user’s OU takes precedence.
If a policy appears greyed out, your account does not have org unit access to the org unit the policy is assigned to. A GoGuardian Super User can adjust account permissions and OU access.
Import Rules via CSV
To add a large number of URL rules at once, import a CSV file directly into the policy.- In the policy, click the 3-dot menu in the top-right corner.
- Select Import CSV of URLs from the menu.
- Select a CSV file or drag and drop it into the upload area. To download a CSV template or review formatting requirements, click the Need help? dropdown.
- Verify the result: The imported rules appear in the Website URLs list. Confirm that the list includes all rules from the file.
CSV requirements:
- Required columns:
actionandurl - Use
blockorallowin theactioncolumn - The optional
typecolumn is required when importing YouTube video rules. Without it, every entry is treated as a website URL rule and YouTube video-specific entries will not behave as intended. - Maximum file size: 3 MB
- Maximum URL length: 255 characters per entry
- Maximum rules per import: 10,000
google.com and http://www.google.com are treated the same.


Resources
Use Wildcard Rules
Block or allow URLs by pattern using asterisk wildcards.
Use Auto-Format Domains
Scope a domain-only rule to an exact domain boundary and prevent lookalike matches.
Create a Filtering Policy
Set up a new policy and apply it to an org unit or custom group.
Configure YouTube Filtering
Set up filtering rules specifically for YouTube content and categories.
Understand Filtering Contexts
See how GoGuardian Admin applies filtering across different network environments.