Allow explicitly permits the matching crawler to request a path. It is most useful as a narrow exception inside a broader Disallow rule. The longest matching path wins; if equally specific Allow and Disallow rules conflict, Allow is preferred.
Allow is a robots.txt rule that identifies URL paths a matching crawler may access. Most sites do not need Allow: / to make public content crawlable because access is unrestricted when no matching Disallow rule applies. Allow becomes valuable when a specific resource must remain open inside a directory or pattern that is otherwise blocked.
How Allow overrides a broader block
Robots.txt evaluates every matching Allow and Disallow path in the selected user-agent group. The most specific match wins. Specificity is based on the number of matched path bytes, not on which rule appears first in the file. A longer Allow path can therefore reopen a file or subdirectory inside a shorter Disallow path.
In the example below, /downloads/ is broadly excluded, but the longer /downloads/manuals/ path remains crawlable. Reversing the line order would not change the result because path specificity—not file order—determines the applicable rule.
Equal matches and empty rules
If an Allow and a Disallow rule match the same path with equal specificity, the Robots Exclusion Protocol says Allow should be used. Avoid designing a policy around ties when a clearer, more specific path can express the same intent.
An empty Allow: line is ignored. It does not reopen the site and is not a shorthand for allowing everything. Either omit unnecessary rules or use a real path such as Allow: / when an explicit statement improves readability.
When Allow is useful
Keeping a public guide accessible inside an otherwise blocked private directory.
Allowing a render-critical asset while a broad asset pattern is excluded.
Reopening one product feed or document under a restricted download area.
Creating a narrow exception to a wildcard Disallow pattern.
Before using an exception, ask whether the broad Disallow rule is itself too aggressive. A simpler set of narrow blocks is often easier to maintain than a large blocked area followed by many Allow repairs.
Path matching details
Allow paths are relative to the host root and are case-sensitive. The standard supports * as a multi-character wildcard and $ as an end marker. A trailing slash distinguishes a directory prefix from similarly named paths. Test representative URLs, including query strings and capitalization variants, before publishing a pattern.
Allow does not grant authorization
The directive means “this compliant crawler may request this path under the robots policy.” It does not grant a user account permission, bypass a firewall, or make private content public. Server-side authentication and authorization always decide whether a request can actually access protected content.
Verification checklist
Keep the exception more specific than the surrounding Disallow rule.
Do not rely on rule order.
Check case, slashes, wildcards, and end markers.
Test both the allowed exception and a neighboring blocked URL.
We use essential storage for security and core features. With your permission, we may also use analytics and advertising technologies. Rejecting optional technologies does not block access to the site.
Non-essential categories are off unless you choose to enable them. You can return to these settings at any time from the footer.
Global Privacy Control is active.Your browser has requested an opt-out from sale, sharing, and targeted advertising. Advertising remains disabled.
Strictly necessary
Supports security, server sessions, form protection, administrator sign-in, and remembering your privacy choice.
Analytics
Allows Google Analytics to measure visits and interactions so the site can be improved. It is not loaded before permission.
Advertising and cross-site measurement
Allows advertising technologies when they are configured. This may involve ad delivery, fraud prevention, measurement, personalization, or cross-context advertising.
Your choice is stored for 180 days using a first-party preference cookie. A material policy change can ask you to choose again.