Skip to main content
All CollectionsAdvanced GuidesWebsite management
How to specify which pages to test
How to specify which pages to test
Daniel Towers avatar
Written by Daniel Towers
Updated over 6 months ago

When you add a website, you are asked to specify the homepage of that website.

If you want to test all of example.com, you would simply ask to test example.com. If you wanted to test part of that website, you would enter the homepage for that part – say example.com/products – and Silktide will automatically find just pages beginning with that address, like example.com/products/widgets or example.com/products/example.

For most websites, this is all you need to find all of your pages.

What we test screen

You can control the pages and PDFs included in your website from the What we test screen. To access this screen, navigate to your website in Silktide and select the Settings link from the top-right corner of the screen. A link to the What we test screen can be found in the navigation within your website settings. There are three types of rules you can set on this page to define what pages are included in your website.

  • Allowed rules: set the URL parameters that must be met in order for a webpage to be tested

  • Denied rules: set the URL parameters that will prevent a webpage from being tested. We have another help article that can help you exclude pages or PDFs from a website.

  • Forced pages: a list of webpages that will be tested and included in the report, regardless of any prior allowed or denied rules

Note that denied rules are applied before allowed rules. If a page meets both a denied rule and an allowed rule, the page will not be scanned by Silktide. These rules also have no impact on which links are tested as part of Silktide's broken link check.

Rule creation

The rules here are focused on an item's URL. The rules can target the text of the URL, the URL's length, or even a regular expression to apply against the URL. After selecting the comparison type, you will enter the text, number, or regular expression to make the rule complete. Below is a list of the comparisons you can do with these rules:

  • URL Equals

  • URL Starting with

  • URL Contains

  • URL Shorter than

  • URL Longer than

  • Regular expressions

As an example, if you wrote an "Denied rule" to exclude any URLs that begin with "http://example.com/archive", the following URLs would not be included in your website:

https://example.com/archive
https://example.com/archives
https://example.com/archive/another https://example.com/archive/and/another/example

Some websites may not test properly without additional configuration. If you need further assistance please reach out to support via chat or at support@silktide.com.

Did this answer your question?