Thread: setup problem

Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    Default setup problem

    hi

    I have a problem after installation that I found all the hyperlinks in my zen cart format as http://mydomain.com/xxxx.php but I want all the links in my zen cart formated as http://www.mydomain.com/xxxx.php instead of http://mydomain.com/xxxx.php. what can I do that?

    (my zen cart version is 1.38a )

    thanks

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: setup problem

    Edit your file includes/configure.php

    Change this:
    PHP Code:
    define('HTTP_SERVER''http://mydomain.com');
    define('HTTPS_SERVER''https://mydomain.com'); 
    to this:
    PHP Code:
    define('HTTP_SERVER''http://www.mydomain.com');
    define('HTTPS_SERVER''https://www.mydomain.com'); 
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Aug 2007
    Posts
    43
    Plugin Contributions
    0

    Default Re: setup problem

    This information is all in your includes/configure.php files and admin/includes/configure.php file

    The key information that needs to contain www.yoursite.com is
    Code:
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      define('HTTP_SERVER', 'http://www.yoursite.com');
      define('HTTPS_SERVER', 'https://www.yoursite.com');
    You are probably missing the "www" in those files, since all the links are generated from this information.

  4. #4
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: setup problem

    it works! thanks!

 

 

Similar Threads

  1. SSL Setup Problem
    By matthewrossser in forum Basic Configuration
    Replies: 2
    Last Post: 29 Apr 2010, 03:28 AM
  2. shipping setup problem
    By maxus in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 May 2006, 11:21 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