How to delete local storage information from a website that is in production?

Created on 31 January 2024, about 1 year ago
Updated 3 February 2024, about 1 year ago

Problem/Motivation

Hi guys. I use this module and I am facing the following problem: the site previously ran on D7 and was updated to D10 through a local installation.

During the update, we sought to maintain all existing modules in the old version for the new version. It turns out that, on the site, there are almost 1,500 nodes. All of these nodes have links to internal and external content.

Internal links have the following structure: <a href="/contenttype/area/title">Node Title</a>.

Recently version D10 was put into production and when checking the broken links report, we observed that the links are stored as follows in the report: <a href="http://localhost/sitename/contenttype/area/title ">.

Although the links are correct and functional on the site, the linkchecker cannot understand that the site is no longer on localhost and is running at a new address and, because of this, it generated a report with approximately 10,000 links broken (the report has 195 pages with 50 URLs on each).

We did some tests and observed that the error disappears from the report when a node highlighted in the report is edited, which leads us to believe that after the node is saved, the system sees that the node is at another URL, that the URL with the error was edited and queues it to be checked again. We don't yet know if these links are removed after rechecking.

It turns out that it is humanly impossible to edit each of these URLs and we would like to find a way to at least delete the local storage information. It is possible?

Currently using Drupal 10.2.2, Link Checker 2.0.0-alpha2. Running with PHP 8.2.14, MariaDB 10.11.6-MariaDB-cll-lve and LiteSpeed Server.

Steps to reproduce

I don't know if this problem can be reproduced on a new installation, but I believe so.

Proposed resolution

Delete information from links directed to localhost, starting a new link check.

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Documentation

Created by

🇧🇷Brazil astutonet Sao Paulo, SP

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024