Rules for URL Pattern
In the Web Collection there are three important fields in path settings
- Root Path
- Allow Path
- Disallow Path
Root Path
- In the root path, we should provide the exact root URL from where the crawling has to start. We can otherwise call this the start URL.
- URL patterns should not be provided in the root path.
- The root path should have the complete path, including the protocol. On copying and pasting the URL in the address bar, the link should go to the required page where crawling is supposed to start.
- If the root path gets redirected to some other URL, please give the redirected URL in the root path or provide the same in allow path for successful indexing.
- SearchBlox supports only HTTP and HTTPS protocols in the WEB collection. No other protocol would be supported.
Example:
http://www.searchblox.com
https://www.searchblox.com
SearchBlox does not support
googleconnector://
- Regex patterns cannot be provided in the root path. Regex prefixes are not supported.
Allow Path
Allow path ensures that the crawling/indexing includes a particular domain or path based on the path or regex provided
Example | |
---|---|
Provide the complete path to include a domain | https://www.searchblox.com/ |
Provide a subpath or folder to include that subpath in indexing | /blog/ |
to limit indexing to a particular suffix or end of URL string | pdf$ com$ |
Disallow Path
Disallow path ensures that the crawling/indexing excludes a particular domain or path based on the path or regex provided
Example | |
---|---|
Provide the complete path to exclude a domain | https://www.searchblox.com/ |
Provide a subpath or folder to exclude that subpath in indexing | /blog/ |
to exclude indexing to a particular suffix or end of URL string | pdf$ com$ |
comment character: # can be used as a comment character in disallow path | #comment |
Basic regular expressions in GNU regular expression libraries can allow and disallow paths.
https://www.gnu.org/software/gnulib/manual/html_node/Regular-expressions.html
Updated over 1 year ago
What’s Next