aadilholy on "Restored site from backup redirecting to main site without A record update"

ساخت وبلاگ

I backed up the DB on my site and restored it on the following AMI "AWS Marketplace based WordPress powered by Bitnami (HVM) version 4.5.2-0 on Ubuntu 14.04.3 provided by BitRock Inc"

I followed these steps (taken from wordpress forum)

I then did the following to reflect the new blog location being on the destination IP:
1) UPDATE wp_options SET option_value = replace(option_value, 'http://www.mywebsite.com', 'http://myipaddress') WHERE option_name = 'home' OR option_name = 'siteurl'

To fix the urls of posts and pages. I ran the following SQL:
2) UPDATE wp_posts SET guid = replace(guid, 'http://www.mywebsite.com','http://myipaddress');

If I had any inteally linked within blog posts or pages with absolute URLs, these links will point to wrong locations after moving the blog location. So I run the following SQL to fix this issue:
3) UPDATE wp_posts SET post_content = replace(post_content, 'http://www.mywebsite.com', 'http://myipaddress');

4) Then renamed the wp-config.php file on destination server.

5) Then visited http://myipaddress and clicked 'Create a Configuration File' button.

6) Filled in all the following details
Database Name:
Useame:
Password:
Database Host:
Database Prefix:

7) It presented me the contents and asked me to copy and paste these contents in a file and name it as wp-config.php as it was not able to create the file directly.

8) After creating the file I proceeded with the setup and it redirected me to http://myipaddress, however the page was completely blank (no errors, no content or anything. Just plain white blank page)

9) I tried to go to http://myipaddress/wp-admin and it gives the following message:

No Update Required
Your WordPress database is already up-to-date!

And the only option I get is a continue button

Also at this point I noted that the URL changes to

http://www.mywebsite.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

AS soon as i click on continue, I am redirected to original website... that's

http://www.mywebsite.com

I am not sure how to display the contents of my restored site. Nor I know how to login to admin panel now.

Please help!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 260 تاريخ : شنبه 29 خرداد 1395 ساعت: 13:57