Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-19 14:53:59

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

I really did it this time.

I have a txp site and the domain has expired. It’s is now in some kind of parked lock down holding place and will take a while to get it renewed.
I’m going to set up a new domain in the meantime. What paths will I need to edit in the database to access the txp admin from the new domain. Will it be risky at all?
thanks in advance.


its a bad hen that wont scratch itself.
photogallery

Offline

#2 2009-05-19 15:11:41

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: I really did it this time.

I think you just need to change the nameservers (DNS) of your new domain to point to your hosting. Which isn’t very risky.
it should be mentioned in the help of your registrar and hosting provider

Last edited by JanDW (2009-05-19 15:12:27)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#3 2009-05-19 16:31:38

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: I really did it this time.

ok thats no problem then . I thought that the old domain or paths to it might be stored in some tables in the txp database.


its a bad hen that wont scratch itself.
photogallery

Offline

#4 2009-05-19 16:42:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: I really did it this time.

kvnmcwebn wrote:

I thought that the old domain or paths to it might be stored in some tables in the txp database.

Paths don’t change (you didn’t move anything I assume?), and you can change the site URL, once you’ve logged in, in admin > preferences.
If you don’t have any hardcoded internal URLs I don’t think there’s anything else you need to do.

Offline

#5 2009-05-19 16:44:09

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: I really did it this time.

Just set your domain in the preferences on the admin side to the new domain.


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#6 2009-05-19 16:50:11

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: I really did it this time.

kvnmcwebn wrote:

ok thats no problem then . I thought that the old domain or paths to it might be stored in some tables in the txp database.

They are.
In your config.php file which resides in the textpattern folder are the paths, that will eventually need to be changed to point to your new database at your new host.


I think, therefore I AM, … … er … I think :-?

Offline

#7 2009-05-19 17:31:25

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: I really did it this time.

Timid&friendly wrote:

They are.
In your config.php file which resides in the textpattern folder are the paths, that will eventually need to be changed to point to your new database at your new host.

No. $txpcfg['txpath'] is deprecated, so you will not need to change it, if you aren’t using any old plugins which invalidly use it instead of txpath. Currently, from 4.0.7 onvards the txpath is autogenerated with PHP. Changing the path does nothing, it’s there just for old (and invalid) plugin compatiblity.

Only DB credentials require updating if changed. But that is not the case here.

Offline

#8 2009-05-20 15:56:25

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: I really did it this time.

thx for correcting that one Gocom


I think, therefore I AM, … … er … I think :-?

Offline

#9 2009-05-20 23:30:14

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: I really did it this time.

thanks for the replies,
I was wondering about the stuff that was brought up.
The site is only on 4.4 so I will have to update it.
Will try tonight and see how it goes.


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB