Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Config File and Parameter for URL Change/Redirect

    Greetings!

    I just installed the latest release of Zen Cart. I have about 15 domains on a server with a shared hosting plan through GoDaddy. GoDaddy requires a domain be identified as the "primary", so I set up a domain called site-root.com and don't have any Website associated with it. Rather, all my Websites are associated with other domains and are in their own respective subfolders. I do this because I don't want a domain/Website to be tagged as primary and then be stuck if I have to move it. It also allows me to do multiple Zen Cart installs to support different sites. I just install Zen Cart in a subfolder of the corresponding Website/domain.

    I was required to name the "primary" domain (stie-root.com) during the Zen Cart install, but the cart is intended for a Website associated with goaces.com. The install went fine but the Zen Cart URL reflects the "primary" domain, not goaces.com. Because I installed Zen Cart subordinate to the folder associated with goaces.com domain, I can substitute that domain for site-root.com in the URL and the Zen Cart homepage displays. However, whenever I click a link on the page, the URL goes back to the site-root.com domain.

    Hoping someone can let me know what config file and parameter(s) I need to change so the URL will always reflect the domain for which the shopping site is intended...goaces.com.

    Hope I explained that well enough. Thanks for your help!

    Scott

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Config File and Parameter for URL Change/Redirect

    You will need to check both the includes/configure.php and the admin/includes/configure.php to be sure the domain name is correctly reflected.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Config File and Parameter for URL Change/Redirect

    Thanks so much for your input!

    I updated the URLs in the admin/include/configure.php file, and than in itself didn't remedy the problem.

    I noted the include/configure.php file is empty. Should it contain URL/domain info too?

    Appreciate your assistance!

    Scott

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Config File and Parameter for URL Change/Redirect

    the site shouldn't work at all if the includes/configure.php is empty
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Config File and Parameter for URL Change/Redirect

    Hum...interesting. As it turns out, in the admin/include/configure file, when I edited the four lines to replace "site-root.com" with "goaces.com", both configure files turned up empty. But, the Zen Cart pages did pull up okay. Also, I couldn't login as system administrator....said I had an incorrect username and/or password.

    I uninstalled and reinstalled again, keeping in mind GoDaddy actually runs these...I just request them and provide data (e.g., primary domain, Admin account, etc. In any case, the same problem occurred.

    At this stage, I have to wonder if this issue is GoDaddy centric...I've called it in and will let you know what I find out.

    One other thought...I'm editing the php files via DreamWeaver version 10.0. That shouldn't be a problem should it?

    Thanks again.

    Scott

  6. #6
    Join Date
    Apr 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Config File and Parameter for URL Change/Redirect

    All the problems stemmed from a Windows platform. During install, Zen Cart only allowed me to name/use the primary domain on the shared hosting (as described in an earlier post). I tried 3 separate installs and was never able to login as Admin.

    I changed platforms/OS...to Linux. The install went much smoother and I was able to select among all my domains. That said, I opted to purchased a separate hosing plan strictly for the goaces domain...to avoid problems implementing a secure certificate (can only be applied to the primary domain) and to dedicate all alloted transfer rate to the site (vs. sharing it with other Websites).

    All that said, I don't know if the Zen Cart install problems I encountered are universal to a Windows platoform (IIS 7 + PHP 5), or maybe limited to the GoDaddy shared hosting.

    Scott

 

 

Similar Threads

  1. Where to Change the config.php file to point to new downloads folder?
    By jackibar in forum Templates, Stylesheets, Page Layout
    Replies: 73
    Last Post: 22 Dec 2011, 07:17 AM
  2. Replies: 3
    Last Post: 11 Apr 2010, 07:57 AM
  3. How to change expresscart redirect URL
    By eddyboy in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 5 Mar 2009, 02:41 PM
  4. Replies: 2
    Last Post: 18 Jul 2007, 09:01 PM
  5. Replies: 1
    Last Post: 16 Aug 2006, 11:31 PM

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