Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changed my Domain Name


Guest

Recommended Posts

Hello,

I changed my domain name frm aaa.com to bbb.com. Somehow I fond the config file for the catalog where I just changed the name. But I did not find the file for the admin section where to change the url of webserver.

 

Any ideas?

 

Thanks!

Link to comment
Share on other sites

ti just had this same problem,

the catalog part should already be known from the installation

/catalog/includes/configure.php

 

 

theres 5 lines to edit, or 3 if you dont have a secure connection

 

the first 2 lines

 

define('HTTP_SERVER',
define('HTTPS_SERVER',

 

then the 4th and 5th lines;

define('HTTP_COOKIE_DOMAIN',
define('HTTPS_COOKIE_DOMAIN'

 

 

then if you have moved server too, like i did (but same database server)

then scroll down to

 

define('DIR_FS_CATALOG',

and then put in the new absolute path to the catalog directory.

 

the tough part is then the admin pages, as i didnt know they went off their own config file

 

it can be found in;

/catalog/admin/includes/configure.php

 

similiar kind of editing, just go through and make sure it mnakes sense to your new domain/server or both.

 

i found i had to edit lines

1,2,3, 5,6 and 7

 

i hope this helps

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...