Author |
Message |
tommyb
Hangin' Around

Joined: May 31, 2006
Posts: 49
|
Posted:
Mon Jul 10, 2006 1:44 am |
|
I created a new nuke site which I want to overwrite an existing one with. When I trialed this and tried to log into admin it would redirect me to the old sites admin panel. My question is what values do I need to change in the database in config etc. to alter the paths so it all works with the new address?
e.g. www.mysite.com/admin redirects to www.mysite2.com/admin.
but i don't want it to
Thanks |
|
|
|
 |
gregexp
The Mouse Is Extension Of Arm

Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Mon Jul 10, 2006 5:55 am |
|
The way nuke defines which site its in is by calling the server and asking it for the info of where its at, makes no sense for it to be relinking you to the old admin.php.
A link to show us may help. |
_________________ For those who stand shall NEVER fall and those who fall shall RISE once more!! |
|
 |
 |
jaded
Theme Guru

Joined: Nov 01, 2003
Posts: 1006
|
Posted:
Mon Jul 10, 2006 6:03 am |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Mon Jul 10, 2006 6:48 am |
|
You could also check your .htaccess file to see if there are any redirects in there. But the most likely solution is to change your config.php to point to the new database. There are fields for the database name, the database user name, and the password and those have to be pointing to your new database. |
|
|
|
 |
tommyb

|
Posted:
Mon Jul 10, 2006 6:52 am |
|
I've changed the values in config.php etc. Sentinal was installed with http auth on so i'm wondering if this could be the cause. Thanks for the replies so far. Unfortunately now i'm having major problems with my hosting company so trying various solutions may now take some time. I'm pretty sure its not to do with cookies or cache though as I tried clearing all that data when I first had the problem.
thanks |
|
|
|
 |
tommyb

|
Posted:
Mon Jul 10, 2006 7:44 am |
|
Ok every link points to the old site for some reason. As i said i have changed config.php to reflect the new database name etc yet every module seems to be grabbing data from the old site. I must be missing a simple value somewhere but I can't think where I edited the config table in the mysql database to change the siteurl to the new url as well.  |
|
|
|
 |
gregexp

|
Posted:
Mon Jul 10, 2006 7:54 am |
|
what is the REAL url and the old url? |
|
|
|
 |
tommyb

|
Posted:
Mon Jul 10, 2006 8:06 am |
|
argh it doesn't matter now all my databases have stopped working due to a fault server end...... thanks for offering though darklord |
|
|
|
 |
tommyb

|
Posted:
Tue Jul 11, 2006 10:01 am |
|
I found out my problem now my hosts servers a working. I'd set the base url in the header fil and forgot about it s copying the site it thought it should still go to this base url instead. Maybe one day i'll not my changes. |
|
|
|
 |
|