Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant archive_postsperpage - assumed 'archive_postsperpage' (this will throw an Error in a future version of PHP) in ..../archive/index.php on line 456
Fix broken forum links [Archive] - Forums

PDA

View Full Version : Fix broken forum links



Soul4Soul
05-08-2020, 06:48 PM
Hey Jo3,

I was browsing around the forum and ran into a few instances of broken links from one thread to another. The format of the URL changed at some point. Any chance that you could perform some magic on the DB to try and fix the broken links? I understand if you don't want to spend the time to do it.

Old URL format


https://tpforums.org/forum/threads/<THREAD_ID>-<THREAD_NAME>
https://tpforums.org/forum/threads/6188-Concerning-the-new-login-packet-of-update-10-61-Bot-detection


New URL format


https://tpforums.org/forum/showthread.php?<THREAD_ID>-<THREAD_NAME>
https://tpforums.org/forum/showthread.php?6211-Changes-to-Outgoing-Login-Packet-10-7x


Thanks for continuing to host tpforums.