# Drupal CMS SEO Basic

## Description

The Drupal CMS SEO Basic recipe applies basic SEO best practices to your Drupal site. It configures automatic URL alias generation, breadcrumb navigation, and redirect management to improve search engine visibility and user navigation.

## Recipe Dependencies

Depends on the following recipes:

| Recipe                                    | Description                                                               |
| ----------------------------------------- | ------------------------------------------------------------------------- |
| **content\_editor\_role** *(Drupal core)* | Creates the content editor role with appropriate SEO-related permissions. |

## Included Modules

Brings in the following core and contributed modules to your site:

| Module                                                                | Purpose                                                                                             |
| --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [**Easy Breadcrumb**](https://www.drupal.org/project/easy_breadcrumb) | Provides configurable path based breadcrumbs.                                                       |
| **Node** *(in Drupal core)*                                           | Manages the creation, configuration, and display of the main site content.                          |
| [**Pathauto**](https://www.drupal.org/project/pathauto)               | Provides a mechanism for modules to automatically generate aliases for the content they manage.     |
| [**Redirect**](https://www.drupal.org/project/redirect)               | Allows users to redirect from old URLs to new URLs.                                                 |
| [**Redirect 404**](https://www.drupal.org/project/redirect)           | Logs 404 errors and allows users to create redirects for often requested but missing pages.         |
| [**Token**](https://www.drupal.org/project/token)                     | Provides a user interface for the Token API and some missing core tokens.                           |
| **Views** *(in Drupal core)*                                          | Provides a framework to fetch information from the database and to display it in different formats. |

## Installation

Apply the recipe using Drush:

```bash
ddev drush recipe ../recipes/drupal_cms_seo_basic
```

## Usage

After installation, new content automatically receives clean URL aliases based on the configured Pathauto patterns (e.g., `/blog/my-article-title`). Breadcrumbs appear on pages to aid navigation. The Redirect module captures old URLs when content paths change, and the 404 tracking feature helps administrators identify and fix broken links across the site.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.varbase.vardot.com/developers/understanding-varbase/drupal-cms-recipes/drupal-cms-seo-basic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
