I have WordPress Blog. Recently I have changed my hosting. So I downloaded all my blog files from old server with filezilla. On new server I made directory blog & under that I uploaded all files. I made new database on new server exactly as same as old one and uploaded that. Now my blog is active properly on my new hosting but whenever I try to login www.sitename.in/blog/wp-admin then it redirects me to the old domain i.e www.sitename.com/blog/wp-admin . How can I change this? My old hosting will expire soon & soon on old domain as well. How can I completely switch over to my new server?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
Open your database and change the URL of wp-option check screenshot
http://awesomescreenshot.com/0d160xve67 If not work then open your database with notpad ++ editor then find your blog url something like "localhost/example"
In notpad++ ctrl+f and click to replace tab in first tab put your blog url something localhost/example in 2nd tab put your orginal website url something like example.com
now hit the replace all tab from right side then ctrl+s . make zip and reinstall your database it will fix all url like images , admin, site and pages sulgs etc hope it will work
Verify, if you have followed below steps carefully.You might have missed 5th step
According to this step 4