Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 04:30 pm EST

Geeklog Forums

Changing Domain Names


Del Dhanoa

Anonymous
angelic
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.
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
FAQ , anyone?

Read this.

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?).
 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
 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
 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?) Mr. Green

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.
 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