Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Moving store from one domain to another

    I created my store on one domain while I was setting everything up. Now that the store is ready to launch I wanted to move it to another domain. I copied the folder to the new domain server and the front page loads fine. Any link clicked from the front page is bringing up the old domain links.

    Any thoughts?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving store from one domain to another

    Let us know where to see this??
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    http://dorfab.com/

    You can see the links are trying to bring back the old 'store.delmarvacrawlers' site that the store was created on.


    I followed the tutorial here:
    https://www.zen-cart.com/tutorials/i...hp?article=122

    Changed all the domains back to dorfab.com

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving store from one domain to another

    Post your /includes/configure.php file contents BUT
    X-out the DB user, db name & db pass for security reasons
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    Also everything is being hosted with 1and1 on the same server and all. dorfab is using the same directory that the store was built on.

  6. #6
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://dorfab.com');
    define('HTTPS_SERVER', 'https://dorfab.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs

    folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg:

    /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/homepages/11/d313267184/htdocs/DORFab/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', *********);
    define('DB_SERVER_USERNAME', ************);
    define('DB_SERVER_PASSWORD', ********);
    define('DB_DATABASE', '************);
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your

    apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache"

    folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/homepages/11/d313267184/htdocs/DORFab/cache');

  7. #7
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    whoops, I feel like a dummy now. I looked in the ftp program and saw the update of configure did not load. Loaded it and works great now.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving store from one domain to another

    Great!!

    It is always the little things
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v139d Moving site from one domain/url to another
    By Omar Ramirez in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2016, 11:19 PM
  2. v151 Moving store from one server to another
    By Wasim71 in forum General Questions
    Replies: 5
    Last Post: 16 Jun 2015, 05:27 PM
  3. Moving DB from one domain to another on same server
    By donzi in forum General Questions
    Replies: 10
    Last Post: 23 Mar 2013, 01:31 AM
  4. v150 Transfer current store from one domain to another?
    By gatorbows in forum General Questions
    Replies: 4
    Last Post: 18 Feb 2012, 07:34 AM
  5. Moving from one domain to another
    By FatGuyinAZ in forum General Questions
    Replies: 6
    Last Post: 27 Nov 2007, 06:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg