Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a problem with google indexing several paths with the following structure on my site:
/node/123/edit
/node/123/revisions
I tried to use path based meta tags and have the robots show up on those pages with the noindex tag. I tried using the following paths in meta tags quick settings:
node/* which didn't work and
node/*/* to see if maybe that would work but it does not.
I do know the path based settings can work since I do have them working under glossary/*
Any suggestions?
Comments
Comment #1
DamienMcKennaAre you using Metatag or Metatag Quick? Did you try using Metatag Context? Also, Google shouldn't be able to access node/x/edit or node/x/revisions unless your site's permissions are really messed up.
Comment #2
xbrianx CreditAttribution: xbrianx commentedIt is a wiki based site, so anyone can edit certain nodes for review. However, I just blocked /node completely in robots since I realized none of my paths are using node.
Comment #2.0
xbrianx CreditAttribution: xbrianx commentedSome edits
Comment #3
DamienMcKennaNot sure what's going on here, but it's outside of Metatag's control.