You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was first described in #80 but I am moving this here since it has a more complex set of details.
The core Drupal option to use friendly URLs should be turned on for our asu_repository_items as well as for several taxonomies.
The new pathauto patterns for these should use the tokens:
Collections | /collections/[node:title]
Items | /items/[node:title]
Corporate bodies | /corporate bodies/[term:name]
Events (Conference) | /events/[term:name]
Persons (Family, Person) | /people/[term:name]
While the previous patterns should stay intact:
Collections nids | /collections/[node:nid]
Items nids | /items/[node:nid]
The canonical link for Items and Collections should be changed over to use the friendly URLs as well.
Either adjust the routes for "full metadata", "members", and "view" or convert the links that point to these to use the previous pattern /items/[node:nid].
NOTE: after this is installed and running on the production sites, the sitemaps should be regenerated (even though this would eventually happen when the item expiry passes - but I believe that is a month by default). For Simple XML Sitemap this can be done with some drush commands: https://www.drupal.org/docs/contributed-modules/simple-xml-sitemap/configuration-usage-debugging#s-usage (else, drush sql-query "truncate table simple_sitemap;" will empty the table and clicking the [Run cron] button on the Status report of the site will regenerate it).
The text was updated successfully, but these errors were encountered:
This issue was first described in #80 but I am moving this here since it has a more complex set of details.
The core Drupal option to use friendly URLs should be turned on for our asu_repository_items as well as for several taxonomies.
The new pathauto patterns for these should use the tokens:
While the previous patterns should stay intact:
The canonical link for Items and Collections should be changed over to use the friendly URLs as well.
Either adjust the routes for "full metadata", "members", and "view" or convert the links that point to these to use the previous pattern
/items/[node:nid]
.NOTE: after this is installed and running on the production sites, the sitemaps should be regenerated (even though this would eventually happen when the item expiry passes - but I believe that is a month by default). For Simple XML Sitemap this can be done with some drush commands: https://www.drupal.org/docs/contributed-modules/simple-xml-sitemap/configuration-usage-debugging#s-usage (else,
drush sql-query "truncate table simple_sitemap;"
will empty the table and clicking the [Run cron] button on the Status report of the site will regenerate it).The text was updated successfully, but these errors were encountered: