January 2, 2016 in Technical Problems
I searched a little for the answer, but i only found people asking if there is a fee or changing owners. What I want to do is change the URL. I know I could just redirect users, but I'd rather have it be at the new URL. It's easier for people to bookmark and keep the branding.
Yes, of course you can. It will only cost you money of you do this more often than once every 6 months.
Changing everything else over is slightly more tricky, just check my post on moving a 3.4.x board.
You need to change all references to images, internal urls, etc. Depending on your board size, it could take up to a few hors to do all this. It is a method I use to set up a copy of my live board for my test board, and with over 3.5 million posts, I manage to do this in a little over an hour if I do not get interrupted, i.e., complete copy of everything, backups, fixing the database content, etc.
HTH, kind regards, Wim
Are you talking running UPDATE queries in the database?
So my guess on the process, separate from the URL and altering the licensing on my IPS account, I need to:
Is there a step by step procedure printed anywhere?
Right now, I only have 3,000+ posts with just 30 members.
Actually, at that size it should you take well less than an hour :).
I need 10 minutes to back up a database, and another 10 to restore it. At 3000 posts that only should take seconds to do.
If you are still on 3.4.x, here is the set of steps I posted a while ago:
The principle for 4.x is the same, just that you are still on your own currently, establishing which tables and fields have to be changed.
Tell me more about the reference to images. Can I just copy over the folders from my Old_URL?
Everything is working except the images.
With 4.x I used this which seemed to work fine.
I uploaded constants.php with the secret and encryption keys. All that did was allow avatars to show up. Images posted by Users in posts aren't showing up.
Is there a Update query I can run on my database?
Yes, you need to run an update query on the posts table to replace all old image url references to the new url, much like the one I posted in the referenced topic.
UPDATE `ibf_posts` SET post=REPLACE(post, 'http://www.old-domain.com', 'http://www.new-domain.com');
where 'old-domain.com' includes the old path you used, say 'old-path' (which often is 'forums'), so 'old-domain-com/old-path', and the new one has the new path as derived from the url, f.e., 'new-path', and hence 'new-domain/new-path'. Personally I would also add the slashes at the end, just in case. The update statement would then become something along these lines:
UPDATE `ibf_posts` SET post=REPLACE(post, 'http://www.old-domain.com/old-path/', 'http://www.new-domain.com/new-path/');
Of course, you also have to replace 'ibf_posts' with the actual name of the posts table.
This topic is now archived and is closed to further replies.
Started August 15
Started September 4
Started July 29