Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 04:30 pm EST
Geeklog Forums
Changing Domain Names
Del Dhanoa
Anonymous
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.
how do I change the domain name in Geeklog so that everything points to www.newdomain.com?
I am using Geeklog 1.3.9sr2.
14
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
bye, Dirk
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
bye, Dirk
27
8
Quote
Del Dhanoa
Anonymous
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
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
9
11
Quote
Status: offline
digitalfiasco
Forum User
Chatty
Registered: 10/20/04
Posts: 42
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
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.
10
8
Quote
All times are EST. The time is now 04:30 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content