News: September 21st, 2019, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.4! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 22, 2019, 09:08:01 PM

Login with username, password and session length


  • Total Posts: 188947
  • Total Topics: 20756
  • Online Today: 113
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 64
Total: 64

Author Topic: How to move all data + TP + SMF to a different domain/server?  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

Offline Wichtlmex

  • Jr. Member
  • **
  • Posts: 88
I am building atest site right now. If everything works, I would like to move to a different domain.
I see there are many absolute links to images etc. Is it anyway possible to manage a relocation without too much extra work?
SMF 2.1 RC1, TP 1.6.3

Offline @rjen

  • Support Team
  • *
  • Posts: 1831
    • FJR-club Nederland
Re: How to move all data + TP + SMF to a different domain/server?
« Reply #1 on: May 31, 2019, 07:08:18 AM »
Fist of all, try to stay away from absolute links as much as possible:
in articles this code works just as well as the complete path:

Relative: <img src="/Documenten/Images/Illustraties/Techniekdag_2009.JPG>

Absolute: <img src=">

Links in menu options etc in TP will work: they are relative to the ID's of the article linked too..
Running TP1.6.4 on SMF2.0 at:

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline Oldiesmann

  • Jr. Member
  • **
  • Posts: 27
    • Cincy Space
Re: How to move all data + TP + SMF to a different domain/server?
« Reply #2 on: June 15, 2019, 12:02:01 AM »
Depending on how different the URLs will be you could also use MySQL's REPLACE() function to update things via phpMyAdmin...

Code: [Select]
UPDATE table SET column=REPLACE(column, 'oldtext', 'newtext');
Note that you should back up your database before trying this and it may take a while on larger forums or forums with a lot of large posts.