Announcement

Collapse
No announcement yet.

Removing embedded URLs from database tables (autolink issue)

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Removing embedded URLs from database tables (autolink issue)

    Hello,

    I noticed our forum was using autolink, and now many words across topics (including smilies) are automatically linked to a specific site. I want to remove only those embedded URLs from the database.mp3 juice

    The issue affects over 1500 entries, so manual editing is not practical.

    Is there a way to run a MySQL query to strip or remove only the embedded links pointing to that specific domain, without affecting the rest of the content?

    Thanks in advance.

    #2
    The links are saved as [URL} BBCode in the node and text tables. The BBCode may have these variations:

    [url="https://www.example.com"]text[/url]
    [url]https://www.example.com[/url]

    For the first example, the text part will be preserved and the link removed.
    For the second example, the link text is the same as the URL. In that case, should the link be totally removed? The sentence containing the link may not make sense if the link is removed.
    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    Comment

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"