Magento – Development Site is Redirecting to Live Site, Even After Setting base-url

ce-1.7.0.2debuggingdevelopmentredirect

I have just set up a client live site to my development server and change the config live site URLs to my test server URL under core_config_data table i also have all the cache deleted but when i open my development server URL the site is keep going to live site i have tried opening the admin its going to live site too .htaccess has nothing in it for this redirection site using varnish cache.

Any one having any idea what i am missing.

Best Answer

These are the three reasons I have seen a dev site redirect to production ...

  • Be sure to clear and flush your cache
  • Make sure your URLs are set in the admin for your development site
  • We dump our production db, use sed to replace the production urls with dev urls, then import the dump to a dev db
  • Make sure apache is listening for requests for your development urls
Related Topic