Moving Bludit to new domain

Post Reply
alex611
Ssr. Bludit
Posts: 13
Joined: Fri Jun 02, 2023 6:07 pm
Has thanked: 6 times
Been thanked: 2 times

I have read all posts regarding 'moving Bludit to new domain'
Everywhere there is this 'domain migrator' tool mentioned.
There is NO documentation how to do that manually.

Not because of the money, but because (obviously) some people would like to know how this is done manually, which files to consider etc.
That would help to understand the CMS better.

The domain migrator tool, all it does is to enter a new value into /databases/site.php and to search/replace URL's in pages .txt's.
Yes, it also clones the bl-content structure

I downloaded the plugin and since it is 3 years old, i was afraid, it won't work.
And it doesn't.
I followed instructions here:
https://docs.bludit.com/en/bludit-pro/domain-migrator
After clean install of Bludit, and after uploading the bl-content (from migrator) the install.php kicks in again and asks for re-intallation... which fails.

Searching again for solution, i came across this post
viewtopic.php?p=5612#p5612
It only says: Download Bludit v3.0
So one could assume that the installation should be after migrating the content.

Now i am more confused than before

A few questions though:

a) why the standard recommendation is 'make fresh install' of Bludit, instead moving the whole existing app to new domain (and adjust files necessary)? What's the catch?

b) Why is there no concrete and clear documentation about migration process and files which need adjustment?

c) what do i do now, to debug, since the migration (with the plugin) failed?
Bludit 3.14.1 / Default admin theme / Theme docs-x-3.2 / PHP 8.1.7 / Ngnix
berend
Jr. Bludit
Posts: 1
Joined: Thu May 22, 2025 10:52 am

Did you manage to find a reliable method for migrating? I'm facing a similar issue.

Thanks 8-)
Bluefish
Ssr. Bludit
Posts: 29
Joined: Fri Feb 26, 2021 10:02 am
Been thanked: 1 time

It is possible to just copy all files to a new subdir and change file /bl-content/databases/site.php with the new domain. Unfortunately there are loads of hard coded links to your old domain if you uploaded a lot of images.
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

I am not that sharp when digging into the -kernel but my problems with moving hosts generally involved paths - with most being absolute.
Yes, the general recommend is 'fresh install'. And then a manual upload of content/db's/etc. - allowing that you have changed all paths to the new host.
  • I guess you have a full copy of the old site on the new host?
  • What are the problematic symptoms? Images not showing, admin not loading, nothing at all...
As long as you have a good backup stored.

cheers - Kusalo
Bluefish
Ssr. Bludit
Posts: 29
Joined: Fri Feb 26, 2021 10:02 am
Been thanked: 1 time

Last night I just changed the IP address of my site in a VirtualBox to verify. Yes, images simply don`t load unless both URLs / IPs / domains exist parallel. Parallel would mean that your domain is www.exampleA.com and a test site might be test.exampleA.com. In this case the hard coded links would be o.k., images will show up. You will only notice problems if you change to www.exampleB.com and deleting everything on www.exampleA.com.

Anyway, if it is just a small homepage or a onepager then it may be easy to move domains with manual changes. Then you download everything with FTP or SFTP , change hard links and upload it again to the new domain.
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

Have you tried the plugin: Easy Text Replace ?

I haven't tested it a lot but it seems to well replace page content - and this should include replacing URL's

I am not sure how it could be implemented but having a global variable that represents the URL would really help. There are several at admin level but to have something that would not be auto-changed by tinyMCE in page content would be good.

best - Kusalo
wjar
Ssr. Bludit
Posts: 11
Joined: Fri Dec 16, 2022 6:58 pm
Been thanked: 2 times

arfa wrote: Mon May 26, 2025 12:30 am Have you tried the plugin: Easy Text Replace ?
In case you have downloaded all files to your computer, this can easily be done by searching and replacing (yourolddomain.tld) with (yournewdomain.tld) in every txt-file recursivly in the sub-directories of bl-content/pages. Every "advanced" editor should offer this feature (Windows e.g. Notepad++, Linux e.g. Kate, Notepadqq).
Post Reply