Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Help? Move shop to sub-domain

    My shop currently resides on http://mydomain/shop
    I need to move it to subdomain: http://shop.mydomain

    How do I configure such things as:

    DIR_WS_CATALOG -- currently is /shop/

    etc.?

    I just tried and broke my template entirely

  2. #2
    Join Date
    Aug 2005
    Posts
    26,067
    Plugin Contributions
    9

    Default Re: Help? Move shop to sub-domain

    Easiest:
    Create your sub-domain and install ZenCart fresh there
    This will generate the correct configure.php files

    Edit these 2 files and change the DB info to your current /shop DB details and Save these

    Delete the install you just created

    Move or better yet copy all of your current shop files to the sub-domain location
    Replace the 2 configure files with those that you saved

    The shop at the sub domain should be good to go
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Help? Move shop to sub-domain

    well but the way my server is configured, the new subdomain shop.mydomain.com is set up to point to mydomain/shop

    So technically, it all works fine at present.

    The real issue, however, is that mydomain.com is now going to be hosted elsewhere -- though the shop will remain on my server SUBDOMAIN with an A Record set up.

    I'm told that I need to change config so that all works from subdomain rather than primary domain.

    I thought it would be easier to just manually edit the config files -- but am unclear as to how to do it correctly.

  4. #4
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Help? Move shop to sub-domain

    Adding a new post because it is several days later and I could use a little help please

    I've purchased a self-signed ssl cert and changed admin and main config to point to the subdomain shop.mysite.com

    All works fine EXCEPT for one spot that I simply cannot seem to find to fix.

    In the header menu it shows SIGN IN | Shipping Info | Contact Us .... and that SIGN IN link is still pointing to the primary domain NOT to the subdomain. All other links are correct, including the Would you like to log yourself in ... etc.

    Link is here if anyone can advise on how to change this one little glitch? THANKS :)

  5. #5
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Help? Move shop to sub-domain

    SOLVED -- internal link URL had been set on EZ-pages for the sign in page for some reason. All better now :)

 

 

Similar Threads

  1. move zen cart to a different sub-domain
    By marinela in forum General Questions
    Replies: 13
    Last Post: 2 Mar 2011, 04:27 PM
  2. Replies: 1
    Last Post: 21 Mar 2009, 06:57 PM
  3. Move All Images to Other Domain
    By yyudhanto in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 27 Mar 2008, 12:21 PM
  4. 1.301 move to new domain problems
    By marknew in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 31 May 2006, 11:52 PM

Bookmarks

Posting Permissions

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