seo: hreflang, robotstxt

This commit is contained in:
Bachir Soussi Chiadmi 2022-11-01 16:11:48 +01:00
parent 2c527fc578
commit 596b0138b9
6 changed files with 132 additions and 3 deletions

View File

@ -25,6 +25,7 @@
"drupal/core-recommended": "^9.3", "drupal/core-recommended": "^9.3",
"drupal/geocoder": "^3.20", "drupal/geocoder": "^3.20",
"drupal/geofield": "^1.22", "drupal/geofield": "^1.22",
"drupal/hreflang": "^1.9",
"drupal/image_field_caption": "^1.1", "drupal/image_field_caption": "^1.1",
"drupal/imce": "^2.4", "drupal/imce": "^2.4",
"drupal/leaflet": "^2.1", "drupal/leaflet": "^2.1",
@ -37,6 +38,7 @@
"drupal/panels": "^4.6", "drupal/panels": "^4.6",
"drupal/paragraphs": "1.x-dev@dev", "drupal/paragraphs": "1.x-dev@dev",
"drupal/perimeter": "2.0.x-dev@dev", "drupal/perimeter": "2.0.x-dev@dev",
"drupal/robotstxt": "^1.4",
"drupal/role_delegation": "^1.1", "drupal/role_delegation": "^1.1",
"drupal/selective_better_exposed_filters": "2.x-dev@dev", "drupal/selective_better_exposed_filters": "2.x-dev@dev",
"drupal/seo_checklist": "^5.1", "drupal/seo_checklist": "^5.1",

103
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "ea1dbde34526235dcac0bf3703c742c4", "content-hash": "8ce19b9b3d6c361bfc8cd8ceac3ad67f",
"packages": [ "packages": [
{ {
"name": "ajgl/breakpoint-twig-extension", "name": "ajgl/breakpoint-twig-extension",
@ -5852,6 +5852,50 @@
"issues": "https://www.drupal.org/project/issues/honeypot" "issues": "https://www.drupal.org/project/issues/honeypot"
} }
}, },
{
"name": "drupal/hreflang",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/hreflang.git",
"reference": "8.x-1.9"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/hreflang-8.x-1.9.zip",
"reference": "8.x-1.9",
"shasum": "c322c730442efd8760893729163373ff9bbacb25"
},
"require": {
"drupal/core": "^8 || ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.9",
"datestamp": "1646083444",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "mfb",
"homepage": "https://www.drupal.org/user/12302"
}
],
"description": "Automatically adds an hreflang tag to the page for each enabled language.",
"homepage": "https://www.drupal.org/project/hreflang",
"support": {
"source": "https://git.drupalcode.org/project/hreflang"
}
},
{ {
"name": "drupal/image_field_caption", "name": "drupal/image_field_caption",
"version": "1.2.0", "version": "1.2.0",
@ -8453,6 +8497,63 @@
"source": "https://git.drupalcode.org/project/redis" "source": "https://git.drupalcode.org/project/redis"
} }
}, },
{
"name": "drupal/robotstxt",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/robotstxt.git",
"reference": "8.x-1.4"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/robotstxt-8.x-1.4.zip",
"reference": "8.x-1.4",
"shasum": "8793121a58d2897c0523f3cf13c31f7d80f90154"
},
"require": {
"drupal/core": "^8.0 || ^9.0"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.4",
"datestamp": "1585290535",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "hass",
"homepage": "https://www.drupal.org/u/hass"
},
{
"name": "See other contributors",
"homepage": "https://www.drupal.org/node/53579/committers"
},
{
"name": "ccjjmartin",
"homepage": "https://www.drupal.org/user/3210801"
},
{
"name": "mikeegoulding",
"homepage": "https://www.drupal.org/user/2867877"
}
],
"description": "Generates the robots.txt file dynamically and gives you the chance to edit it, on a per-site basis, from the web UI.",
"homepage": "https://www.drupal.org/project/robotstxt",
"support": {
"source": "https://git.drupal.org/project/robotstxt.git",
"issues": "https://www.drupal.org/project/issues/robotstxt"
}
},
{ {
"name": "drupal/role_delegation", "name": "drupal/role_delegation",
"version": "1.2.0", "version": "1.2.0",

View File

@ -1,7 +1,7 @@
progress: progress:
'#changed': 1667315015 '#changed': 1667315393
'#changed_by': '1' '#changed_by': '1'
'#completed_items': 14 '#completed_items': 19
'#items': '#items':
install_and_enable_seo_checklist_module: install_and_enable_seo_checklist_module:
'#completed': 1667314961 '#completed': 1667314961
@ -39,9 +39,24 @@ progress:
install_and_enable_metatag_module: install_and_enable_metatag_module:
'#completed': 1667314961 '#completed': 1667314961
'#uid': '1' '#uid': '1'
install_and_enable_alternate_hreflang_module:
'#completed': 1667315248
'#uid': '1'
install_and_enable_xml_sitemap_module: install_and_enable_xml_sitemap_module:
'#completed': 1667314961 '#completed': 1667314961
'#uid': '1' '#uid': '1'
configure_xml_sitemap_module:
'#completed': 1667315314
'#uid': '1'
install_and_enable_robotstxt_module:
'#completed': 1667315393
'#uid': '1'
set_up_cron:
'#completed': 1667315393
'#uid': '1'
google_accounts_sign_ups:
'#completed': 1667315393
'#uid': '1'
install_and_enable_honeypot_module: install_and_enable_honeypot_module:
'#completed': 1667314961 '#completed': 1667314961
'#uid': '1' '#uid': '1'

View File

@ -64,6 +64,7 @@ module:
geofield: 0 geofield: 0
help: 0 help: 0
honeypot: 0 honeypot: 0
hreflang: 0
image: 0 image: 0
image_field_caption: 0 image_field_caption: 0
imce: 0 imce: 0
@ -119,6 +120,7 @@ module:
redirect: 0 redirect: 0
redis: 0 redis: 0
responsive_image: 0 responsive_image: 0
robotstxt: 0
role_delegation: 0 role_delegation: 0
search_api: 0 search_api: 0
search_api_db: 0 search_api_db: 0

View File

@ -0,0 +1,5 @@
_core:
default_config_hash: AP0rUkD9J76UrK28UKE15IsUXCzjSfCwJKBujS7ox1M
langcode: fr
x_default: true
defer_to_content_translation: false

View File

@ -0,0 +1,4 @@
_core:
default_config_hash: ceCx5XZ_ay1Mxcv-sB95U_fBKoVkpvo8RaQiwutSZLI
langcode: fr
content: "#\r\n# robots.txt\r\n#\r\n# This file is to prevent the crawling and indexing of certain parts\r\n# of your site by web crawlers and spiders run by sites like Yahoo!\r\n# and Google. By telling these \"robots\" where not to go on your site,\r\n# you save bandwidth and server resources.\r\n#\r\n# This file will be ignored unless it is at the root of your host:\r\n# Used: http://example.com/robots.txt\r\n# Ignored: http://example.com/site/robots.txt\r\n#\r\n# For more information about the robots.txt standard, see:\r\n# http://www.robotstxt.org/robotstxt.html\r\n\r\nUser-agent: *\r\n# CSS, JS, Images\r\nAllow: /core/*.css$\r\nAllow: /core/*.css?\r\nAllow: /core/*.js$\r\nAllow: /core/*.js?\r\nAllow: /core/*.gif\r\nAllow: /core/*.jpg\r\nAllow: /core/*.jpeg\r\nAllow: /core/*.png\r\nAllow: /core/*.svg\r\nAllow: /profiles/*.css$\r\nAllow: /profiles/*.css?\r\nAllow: /profiles/*.js$\r\nAllow: /profiles/*.js?\r\nAllow: /profiles/*.gif\r\nAllow: /profiles/*.jpg\r\nAllow: /profiles/*.jpeg\r\nAllow: /profiles/*.png\r\nAllow: /profiles/*.svg\r\n# Directories\r\nDisallow: /core/\r\nDisallow: /profiles/\r\n# Files\r\nDisallow: /README.txt\r\nDisallow: /web.config\r\n# Paths (clean URLs)\r\nDisallow: /admin/\r\nDisallow: /comment/reply/\r\nDisallow: /filter/tips\r\nDisallow: /node/add/\r\nDisallow: /search/\r\nDisallow: /user/register\r\nDisallow: /user/password\r\nDisallow: /user/login\r\nDisallow: /user/logout\r\nAllow:/sitemap.xml\r\n# Paths (no clean URLs)\r\nDisallow: /index.php/admin/\r\nDisallow: /index.php/comment/reply/\r\nDisallow: /index.php/filter/tips\r\nDisallow: /index.php/node/add/\r\nDisallow: /index.php/search/\r\nDisallow: /index.php/user/password\r\nDisallow: /index.php/user/register\r\nDisallow: /index.php/user/login\r\nDisallow: /index.php/user/logout\r\n"