Change a metatag dynamicly
Add meta tag from controller
Example: Add <meta http-equiv="refresh" content="30">
$data = [
'#tag' => 'meta',
'#attributes' => [
Example: Add <meta http-equiv="refresh" content="30">
$data = [
'#tag' => 'meta',
'#attributes' => [
Option 1.
Use the drupal 8 native URL Field option.
Option 2. Module PathAuto
- Configure the path settings and Path pattern
-> NOTE : Do not change the path