Posted on: 12/17/04 04:20pm
By: Anonymous (Del Dhanoa)
I changed my website doman name from www.domain1.com to www.newdomain.com
how do I change the domain name in Geeklog so that everything points to www.newdomain.com?
I am using Geeklog 1.3.9sr2.
Changing Domain Names
Posted on: 12/17/04 04:31pm
By: LWC
FAQ , anyone?
Read this[*1] .
Regarding the images, I still would like to know a way to do this for multiple fields automatically.
And 1.3.10 may have fixed the "older stories" bug (Dirk?).
Changing Domain Names
Posted on: 12/17/04 04:34pm
By: Dirk
The first thing to change, obviously, would be $_CONF['site_url']. That should actually be enough to get your site to work again on the new domain.
If you're using uploaded images in stories, then those have the old domain name in their URL. The same goes for any links that you've used in stories, comments, etc. The easiest here would probably be to grab an SQL dump (use Geeklog's backup function) and do a search and replace on it, then re-import it into the database.
There's also a related FAQ entry:
Migrating a Geeklog site[*2]
bye, Dirk
Changing Domain Names
Posted on: 12/17/04 07:38pm
By: Anonymous (Del Dhanoa)
talk to me like I am an idiot.. because I am an idiot noob when it comes to this Geeklog stuff
You said:
"The first thing to change, obviously, would be $_CONF['site_url']. "
what file is that in? lib-common.php?
and is it on line 101 for the version I am using?
furthermore, what do I change it to? Is it changed to
$_CONF['www.newdomain.com'] ?
- Del
Changing Domain Names
Posted on: 12/18/04 03:50am
By: digitalfiasco
[QUOTE BY= Del Dhanoa] talk to me like I am an idiot.. because I am an idiot noob when it comes to this Geeklog stuff[/QUOTE]
We all were once idiots...(did someone just say speak for yourself?)
Anyway, the statement Dirk is referring to is in the "config.php" file. Inside it should read:
$_CONF['site_url'] = 'http://www.newdomain.com';
Hope this helps your transfer.