All Collections
Policies
Policies: Titles
Policies: Titles

How to set up a policy for titles

Updated over a week ago

This article gives instructions on how to add a title policy using the pre-made policies in Monsido.

Article Navigation


Instructions

To set up a title policy that searches the title tags of your HTML pages.

  1. Click Select Domain on the main page header on the top left. The Domain Overview page opens.

    The location of the Select Domain button in the upper left corner of the page..

  2. Click Open on the same row as the domain name.

    The location of the Open button, on the same row as the domain.

    The Dashboard for the domain opens.

    The full dashboard view.

  3. Click the Global Policies Overview button (mallet icon) on the top menu bar.

    Alternatively, click on the header of the Content Policies section.

    Image of the Policies page.

    The Global Policies page opens.

  4. Click Add new policy.

    Image showing the location of the Add Policy button on the top right-hand corner of the page.

    The New Policy page opens.

    Image of the New Policy creation pane with policies.

  5. Select a pre-programmed Title policy from the list. The following titles policies are available pre-programmed within Monsido:

    • Page titles that contain Lorem ipsum

      This policy finds any page titles that include “Lorem ipsum” (the placeholder text). Helps to spot any overlooked areas where the actual content has not yet been inserted.

      Most likely policy type: Unwanted

      Subject: HTML pages

  6. Assign Rules.

  7. Click Save to save the changes. A dialog box opens.

    • Enter the policy Name (required) and Note if needed into the dialog box and then click Save.

    • Select +Add rule to the policy.from the options at the top of the page. Repeat the steps above to add as many rules as needed.

    • Click Save. The Policy List is open and the new policy is present. A Policy scan begins automatically.


Rule Operators

  • Starts with: Policy will search for any snippet starting with the inserted text.

  • Contains: Policy searches for any instances of the inserted text (single word).

  • Contains words: Policy searches for multiple words. Use commas to separate the words.

  • Contains sentence: Policy searches for any instances of the inserted sentence or text.

  • Ends with: Policy will search for any snippet ending with the inserted text.

  • Equal: Policy searches for an exact match for the inserted text or value. Example: “Monsido” - match. “About Monsido” - no match.

  • Regex: Use regular expressions to define what should be searched for.

    Note: Regular Expressions in source-code exclusions are not 100% compatible with Monsido Policies. The languages are different (Java and Ruby).

  • Conforms with: Use regular expressions to define the correct structure or form of the inserted value.

  • Less than: Find any results less than the inserted value.

  • Less than or equal: Find any results less than or equal to the inserted value.

  • Greater than: Find any results greater than the inserted value.

  • Greater than or equal: Find any results greater than or equal to the inserted value.

  • (Meta header) Date age greater than: Find meta tags older than the inserted value. Choose the time interval that matches the way your meta tag dates are written.

  • (Meta header) Date age less than: Find meta tags younger than the inserted value. Choose the time interval that matches the way your meta tag dates are written.

  • CSS selector: Policy will search for the inserted CSS selector.


Rules

  • Page HTML: Search for text in the entire domains html.

  • Page URL: Set a rule for internal page URLs.

  • Text: Search for text excluding CSS and HTML tags.

  • Page title: Search for text in the page title (title is not the header).

  • Page title length: Define when the rule should apply for the title.

  • Heading text: Search for text in headers (h1,h2,h3,h4,h5,h6).

  • Heading text length: Define when the rule should apply header texts.

  • Meta header: Search for meta header tags, that matches query.

  • Meta header length: Define when the rule should apply for meta headers.

  • Link text length: Define when the rule should apply for link texts.

  • External link count: Define when the rule should apply for external links.

  • File size: Search files across selected domains.

  • Image size: Search for images across selected domains.

  • Image text: Search for images with this name.

  • Image text length: Define when the rule should apply for image texts.

  • Readability level: Search for text that is in compliance with a school degree.


Custom Examples

To create this policy, check the RegEx, clear the case sensitive box, and then enter the following in the Query field:

<title>.*SEARCH.*<\/title>

Replace the word SEARCH in the above line with what you want to find inside the title tag.

Example:

<title>.*test.*<\/title>

would match:

<title>This is a test title</title>

For instructions on how to build a custom policy, see the User Guide chapter: Create your own Policy. If the policy you need is difficult to create, contact Support for assistance.


Additional Resources

For more information, see the User Guide chapters:

See Monsido for Developers for documentation and advanced help files including SDK information for developers.

For definitions and explanations of acronyms and abbreviations used in the Monsido User Guide, see:

For further assistance, contact the Monsido support team at support@monsido.com or use the Monsido chat and help features inside the application.

Image of the toolbar with the Help Center buttons highlighted.

Did this answer your question?