SEO setup
Required modules
- ride/lib-cms ^0.30.1
- ride/cli-cms ^0.2.0
- ride/web-cms ^0.30.0
Generating a multilingual sitemap
To generate the sitemap for a whole website, the following command is available via the CLI.
php -d memory_limit=1G application/cli.php cms sitemap
This command will crawl every page. There are a few advanced properties to manipulate the sitemap's output.
Note: make you've set the system's URL using the system.http.url
parameter for the right environment to make sure your sitemap includes the correct urls:
"system.http.url": "http://www.domain.tld"
Detail widget conditions
Most of the time, you want to configure the same overview condition for the corresponding detail widgets. This is done with the condition parameter.
widget.xxx.condition = "{isPublished} = TRUE"
Hide pages
To hide a whole page from the sitemap, the sitemap property is available.
sitemap = "0"
Robots.txt
It's possible to configure the robots.txt via the root node context menu.
meta.fr_BE.robots = "noindex"
meta.fr_FR.robots = "noindex"
meta.nl_BE.robots = "noindex"
meta.nl_NL.robots = "noindex"
Updated over 2 years ago