dfadmin Posted April 11, 2010 Share Posted April 11, 2010 Hello! I am currently running a forum with gallery setup like this: http://foobar.us/forum/index.php The .us TLD was just a preliminary solution until we could get the domain transfer to the desired TLD sorted out. I would now like to move the forum to a setup like: http://foobar.net/index.php Both domains exist, on the same server, so the actual moving is just a matter of simple copy command on the server, a short edit in the conf_global and then reconfiguring the server environment and paths in the ACP. I expect no problems there. Once the move is done I want a simple 301 redirect on the old (.us) TLD to redirect to the new presence. However I am not sure of the implications that arise from the change of the TLD and the omission of the "/forum" structure. I expect all the "in-site" links, that is links made in posts that link to other posts on this forum to be broken after this. Links like http://www.foobar.us/forum/index.php?/topic/3763-blahfoo I am not too versed in SQL, but I assume that this might be possible to fix by running a few simple queries through the database? Something that looks for "http://foobar.us/forum/" and replaces it with "http://foobar.net/" ? Is that possible, and could anyone give me pointers or advice on how to work out those queries? What else is there I need to have an eye on? Thanks for your help, much appreciated! Link to comment Share on other sites More sharing options...
SuJay Posted July 13, 2010 Share Posted July 13, 2010 Hi I don't know if you found a solution yet, but I recently found this script that will automate the whole process. Worked like a charm for me recently. Here is the link http://sewmyheadon.c...h-replace-tool/ Regards john Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.