Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO Friendly URLs #519

Open
wgilling opened this issue Oct 4, 2021 · 0 comments
Open

SEO Friendly URLs #519

wgilling opened this issue Oct 4, 2021 · 0 comments
Labels
AirTable enhancement New feature or request SEO
Milestone

Comments

@wgilling
Copy link
Contributor

wgilling commented Oct 4, 2021

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).

@wgilling wgilling added the SEO label Oct 4, 2021
@wgilling wgilling added this to the Q4 2021 milestone Oct 4, 2021
@wgilling wgilling self-assigned this Oct 4, 2021
wgilling added a commit that referenced this issue Oct 4, 2021
@elizoller elizoller modified the milestones: Q4 2021, Q1 2022 Jan 4, 2022
@seth-shaw-asu seth-shaw-asu added the enhancement New feature or request label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AirTable enhancement New feature or request SEO
Projects
None yet
Development

No branches or pull requests

4 participants