Results 1 to 8 of 8
  1. #1

    Default help working on test server - hard redirect?

    hi, we are moving our ZC site to a new server

    we are having a very strange issue that hopefully one of the gurus here makes me feel stoopid.

    here is the issue.

    we moved all our files over to our new server, installed DB, connected everthing, but when we goto the index on our test servers link, it gets forwarded to the live site everytime.

    I thought maybe htaccess file, but that has been disabled... other than that I cannot figure it out... there has to be something I am missing, please help!

    thanks so much!
    MonkFunk Music Community
    Free Music Website

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help working on test server - hard redirect?

    Has the domain name changed?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: help working on test server - hard redirect?

    Quote Originally Posted by kuroi View Post
    Has the domain name changed?
    the main domain is the same, but we haven't switched the DNS over, so our test server from Rackspace looks like this:

    http://www.midwestapplianceparts.com.php5-2.dfw1-2.websitetestlink.com

    this goes into the directory of our test server FTP, but once it hits it, it goes to midwest appliance parts.com the main site... I did some tests on some sites and it says it is being redirected...
    MonkFunk Music Community
    Free Music Website

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help working on test server - hard redirect?

    It seems that you haven't changed your configure files to point to the new server, so when links are built on your site, they point to the original domain name which DNS takes back to your original site.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: help working on test server - hard redirect?

    Hi,

    I work on the site too, actually the configure.php file is already changed to reflect the temporary URL, also database already used the copy database in the new server.

    I just couldn't find the redirect in the template files, I switch to default but still get the same result.

    I guess we need to check the whole files thoroughly and find the redirect.

    Or do you have any better idea?

    Thanks!

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help working on test server - hard redirect?

    Ah. I see what you mean, it's redirecting even before the first page gets displayed. I rather suspect that this is something in your hosting arrangement. After all, if you've changed all references to the URL in your configure files, your Zen Cart doesn't even know where your original site was.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: help working on test server - hard redirect?

    thanks for your info.

    yes it was exactly what I have in mind, something in hosting arrangement, but host said no arrangement on their side.

    This leave me clueless now .... I'll check once again and see if anything else we can do. thanks Kuroi

  8. #8
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: help working on test server - hard redirect?

    is it using localhost for database or a hosted database
    could this affect it?
    not sure..just idea's as im a newb with websites lol

    also check
    define('DIR_FS_CATALOG'

 

 

Similar Threads

  1. Download by redirect on a linux server of godaddy won't work, without redirect is ok!
    By popemil in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 Aug 2010, 01:37 PM
  2. How to a ZenCart test server on Windows XP/Server 2003?
    By timstoel in forum Installing on a Windows Server
    Replies: 2
    Last Post: 7 Sep 2009, 04:12 AM
  3. Replies: 0
    Last Post: 8 Oct 2008, 03:58 PM
  4. Working hard on the website
    By mobilecustomsusa in forum General Questions
    Replies: 0
    Last Post: 15 Jun 2007, 01:33 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