Author Topic: Link updates  (Read 722 times)

0 Members and 1 Guest are viewing this topic.


  • Neophyte
  • *
  • Posts: 34
  • Karma: 0
on: May 19, 2018, 02:11:55 am
Noticed that all of the older messages which link to other forum discussions are all still linked via the old website address, and therefore don't work...

Not expecting anyone to go through and update them all (!) but was wondering if there's a trick I can use, as and when, to follow those links to their targets?

So much RE knowledge still to learn, and following those discussion tangents would be great!



  • Just some guy
  • Grease Monkey
  • ****
  • Posts: 357
  • Karma: 0
  • 2005 Bullet 500ES in "Mean Green" Military Trim
Reply #1 on: May 19, 2018, 11:12:01 am
If you could identify a few examples of such moribund forum links, there is a consistency to their URL changes such as you seem to be describing, AND the older postings still exist under consistent new URLs, then the Admins could do something called a "Global Search and Replace" to update all of them.

For example, using the phpMyAdmin tool often used to administer SMF forums like this, the coding would look something like this:

Code: [Select]

UPDATE smf_messages set body = REPLACE(body, 'www.oldURL.com', 'www.newURL.com')

Naturally, a wise Admin would do well to make full backups before leaping into the forum tables with a machete and some superglue.

« Last Edit: May 19, 2018, 11:15:35 am by Bilgemaster »
So badass my Enfield's actually illegal in India.