Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default change address from http://mysite.com to http://www.mysite.com

    Fresh install from my ISP HostGator. The store loads up to http://mysite.com not http://www.mysite.com. I edited both the includes/configure.php and admin/includes/configure.php and added the WWW. Site now comes up with http://www.mysite.com but know users can not login and there is no myaccount link in the header. I had to put both configure.php files back to default to get it working again. So what am I missing here? How to get the "WWW" back ?

    Elise

  2. #2
    Join Date
    Oct 2007
    Location
    Safford, AZ
    Posts
    323
    Plugin Contributions
    0

    Default Re: change address from http://mysite.com to http://www.mysite.com

    Where exactly did you make the change in your configure.php file?

    To my knowledge it must be changed in 2 files.

    /includes/configure.php (around lines 17-18)
    define('HTTP_SERVER', 'http://www.yoursite.com');
    define('HTTPS_SERVER', 'https://www.yoursite.com');


    /admin/includes/configure.php (around lines 29-32)
    define('HTTP_SERVER', 'http://www.yoursite.com');
    define('HTTPS_SERVER', 'https://www.yoursite.com');
    define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.yoursite.com');

    I believe that is all that needs to be done. I could be wrong, I have been before and I am sure I will be again.
    Steve
    Zen cart version: 1.3.9h

  3. #3
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: change address from http://mysite.com to http://www.mysite.com

    Yes those were the lines I changed. But when I do, users can no longer log in.

  4. #4
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: change address from http://mysite.com to http://www.mysite.com

    Never mind, I had a typo in the configure.php file. I have to learn to have coffee first in the morning before working on my site. :)

 

 

Similar Threads

  1. installing zen to www.mysite.com
    By sunshine123 in forum General Questions
    Replies: 1
    Last Post: 28 Mar 2011, 07:38 AM
  2. Why my domain name is not WWW.MYSITE.COM but is MYSITE.COM
    By Carl85 in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2011, 04:00 PM
  3. Replies: 7
    Last Post: 8 Dec 2010, 12:53 PM
  4. Replies: 6
    Last Post: 18 Aug 2010, 10:32 PM
  5. Replies: 5
    Last Post: 27 Apr 2010, 07:56 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR