This module allows you to set a static root page for your website, improving SEO and avoiding redirects. It is particularly useful for multilingual sites that do not have a preferred language.
This module provides a static root page for multilingual websites with no
prefered language. No redirection for better SEO. No .htaccess changes needed.
Does not interfere with other language selection methods apart from / url.
Installation
- Provide HTML file named static-root-page.html.twig in the template folder of your theme
- Go to Configuration > Languages > Detection and selection
- Move Static Root Page to the top and enable it
- Clear all caches
Read README.txt for more information.
Ask your assistant about Static Root Page
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- content_translation Drupal core
- locale Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.4 | Stable | 9–10 | Jan 23, 2023 |