Results 1 to 4 of 4

Hybrid View

  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
    324
    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. backup mysite mod -- is it working?
    By colemanpa in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 27 Feb 2010, 03:04 PM
  2. Http 500
    By CnTGifts in forum General Questions
    Replies: 10
    Last Post: 19 Jul 2008, 11:33 PM
  3. Replies: 0
    Last Post: 17 Jan 2008, 04:44 PM
  4. How to load mysite.com
    By batteryman in forum General Questions
    Replies: 7
    Last Post: 5 Sep 2007, 08:17 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
  •