Author Topic: "yabb" in URLs: rewrite to "forums"  (Read 209 times)

"yabb" in URLs: rewrite to "forums"
« on: 15 Jul 2019, 12:04 »
Hi,

A lot of forum posts contain links that have "/yabb/" in them, e.g. http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29356.0  This even pertains to sticky posts, for instance the post "Quick Links to Forum Tutorials!" in the Critic's Lounge.

These links are all broken. There must have been a site reorganisation that moved all URLs http://www.adventuregamestudio.co.uk/yabb/index.php to the respective URLhttp://www.adventuregamestudio.co.uk/forums/index.php . But contents of existing posts weren't changed, so all links to older posts were left dangling.

Now I'm no website buff but I seem to recall that websites can have a place for "rewriting rules" or some such. Mainly, if some incoming request asks for an URL of a certain form, reply with the content of a changed URL instead. So wouldn't it be possible enter a rule to rewrite all URLs that contain "/yabb/" automatically to use "/forums/" instead?

That would probably be only one line in one place to repair tons of broken links in one fell swoop.

Some information I turned up with a quick search: https://www.smashingmagazine.com/2011/11/introduction-to-url-rewriting/#how-to-rewrite-urls
« Last Edit: 15 Jul 2019, 12:17 by fernewelten »

AGA

  • Adventure Game Aficionado
  • Administrator
  • ¡Qué alí­vio!
    • Lifetime Achievement Award Winner
    • AGA worked on one or more games that won an AGS Award!
    •  
    • AGA worked on one or more games that was nominated for an AGS Award!
Re: "yabb" in URLs: rewrite to "forums"
« Reply #1 on: 08 Aug 2019, 17:47 »
Done.