Hello, I just updated our staging site to the latest Metatag version of 2.2.3. After doing so and completing the steps at /update.php, I was presented with the following message:

metatag module
Update v2_06_error_page_defaults

The Metatag configuration for 403, 404 page(s) has been updated. Make sure to export the configuration to avoid losing the changes.

So I compared the /admin/config/search/metatag page (and settings in 'Edit' mode) for "403 access denied" and "404 page not found" on the live site (w/ Metatag still at 2.2.2) against the newly updated staging site.

And in most cases, I was able to update settings on the staging site in these areas to match the live site. However, surprisingly, I do not see a 'Shortlink URL' field now.

In comparison, on the live site, I do see 'Shortlink URL' with the value of [site:url] populated (which I believe was a default setting part of the module's initial configuration settings) ...

And to make matters a little more confusing, at /admin/config/search/metatag for both the "403 access denied" and "404 page not found" sections, on the staging site I see this:

canonical_url: [site:url]
robots: noindex
shortlink:

So on that page, the current module seems to be expecting me to set something for this field, while in the 'Edit' mode I'm not able to do so since that field is missing.

Not sure if this is a bug or somehow expected behavior, but I wanted to raise it since it seems there is something amiss here

Thanks for your help,
Jim

Issue fork metatag-3633988

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jimmb created an issue. See original summary.

jimmb’s picture

Title: Shortlink Field Missing Now for 403 & 404 Pages Settings » 'Shortlink URL' Field Now Missing in 403 & 404 Pages Settings
damienmckenna’s picture

Title: 'Shortlink URL' Field Now Missing in 403 & 404 Pages Settings » 'Shortlink URL' tag missing
Assigned: Unassigned » damienmckenna
Category: Support request » Bug report
Parent issue: » #3633976: Plan for Metatag 2.2.4

The problem here is that the Shortlink tag was accidentally renamed. I'll fix that.

damienmckenna’s picture

Status: Active » Needs review

  • damienmckenna committed a59403ef on 2.2.x
    Issue #3633988 by jimmb, DamienMcKenna: Fixed Shortlink URL meta tag...
damienmckenna’s picture

Status: Needs review » Fixed

Committed, and will be in the new 2.2.4 release shortly. Thank you.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

damienmckenna’s picture

Assigned: damienmckenna » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.