Posted by jtfunky on January 11, 2013 at 8:02am
Can someone help me out? I installed drupal 6 on my wamp server and copy the sites folder of my live site and imported the db to my local site. Now, when I go visit my local site I am being redirected to my live site. I already cleared all cache, truncated the tables on the db that has cache name on it, Nothing unusual on the settings.php also. Why am I being redirected to the live site? Can someone help me out? Thanks!
Comments
Check the .htaccess
Check the .htaccess file.
There might be some rules to redirect on live site.
-Imran
You can also do a search of
You can also do a search of your entire database for the live site URL, and see if it's in the DB somewhere.
Jaypan We build websites
Already did the search but
Already did the search but couldn't find any.
Is your site multi-lingual?
Is your site multi-lingual? Do you have language domains set?
Jaypan We build websites
Its a fresh install, so i did
Its a fresh install, so i did not change anything on the .htaccess file. All i did was copy the sites folder from the live site, overwrite my local sites folder, then imported the DB.
.
Check your settings.php file - is there a path set to your live site?
-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More
Did that already, no such
Did that already, no such path is declared there just the db connection.
I am not really sure what is
I am not really sure what is the issue. but i can tell you few ways. May be you can find out the solution.
1. Search the live site url in your complete sites folder.
2. Check If you are using any Drupal redirect module. If yes than disable that module than try.
3. Disable contributed and custom (if you have) modules one by one and try to figure out from where this problem is coming or you can do the reverse also.
Install fresh new instance of Drupal and enabble modules one by one and keep checking weather the same issue is coming or not.
4. Uninstall and install the wamp server again in your local machine.
Thanks
And one more thing is that
And one more thing is that don't forget to check your host file.