...
Make sure metatag is setup for views especially if you are using page displays on the site.
Install using composer
Code Block |
---|
composer require drupal/metatag |
Google Tag
It is preferable to install Google Tag module vs Google Analytics since this module provides more control and flexibility in terms of installation not only Analytics tag but also any additional trackers that might be required for SEO.
Install using composer
Code Block |
---|
composer require drupal/google_tag |
Make sure to adjust configuration to exclude any undesired tracking paths and to not track administrators and editors.
If you don’t redirect between hosting provided and custom domains, exclude tracking for hosting provided domains.
Depending on the client needs, exclude tracking on dev and stage environments domains.
Redirect
Setup and install redirect module.
Install using composer
Code Block |
---|
composer require drupal/redirect |
Setup default settings (admin/config/search/redirect/settings). For the first launch of the site make sure that the settings are set to 302 not 301 status. Check “Automatically create redirects when URL aliases are changed.” and “Retain query string through redirect.”
Make sure that you are enforcing clean and canonical URLs.
Pathauto
Install using composer
Code Block |
---|
composer require drupal/pathauto |
Update the settings for pathauto (admin/config/search/path/settings)
Make sure that all accessible through browser entities have URL pattern setup.
Work with the client to ensure the patterns strategy works for their business needs and minimizes the redirection effort where possible.
Pre-launch setup that pathauto creates a new alias and deletes the old one.
Make sure that strings that are set to be removed don’t impact existing aliases, contribute to creation of awkward aliases because of the removal of the conjunction word or changes the meaning. Work with client to identify potential risks.
Breadcrumbs modules
Easy Breadcrumb
Provides additional easy customization for breadcrumbs. Useful when breadcrumbs don’t have to match menu active trail.
Install using composer
Code Block |
---|
composer require drupal/easy_breadcrumb |
Adds current page as unlinked crumb. Edit / Hide home link, exclude pages, display unlinked paths.
Menu Breadcrumb
Allows to construct breadcrumb trail based on the active menu trail. Useful when aliases don’t match menu trail and it is important to use menu as a primary reference for the breadcrumb.
Install using composer
Code Block |
---|
composer require drupal/menu_breadcrumb |
Allows for easy exclusion of certain menus.