For example, for a page called mysite.com/about can you determine any other pages that link directly to this web page? The goal is to determine all of the webpages that exist in mysite.com that have a link to the about page.

  • Welcome to Drupal Answers! 👋 Everything is possible. Depends how much time you have. Are the links in link fields? Are the links in body fields? What have you tried so far? You could also just dump the database and open it in a text editor and look for the links. Why do you want it? What do you want to do with the information? You need node IDs of the affected pages? Are you looking for external links or internal links? Please edit your question and make this a reproducible issue, relevant to others. Many thanks
    – leymannx
    Mar 25 '21 at 17:59
  • Seems more of a task for some external link checker SEO tool. 🤔
    – leymannx
    Mar 25 '21 at 18:09

You may want to look at the Views module (pretty sure you already have that module enabled ...), which includes a Backlinks view. After you activate this view, a What links here-tab is shown on each node.

So on your about page, it'll list all of the pages that have a link to the about page (as in your question).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.