Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Cannot display or log into localhost. (1 reply)

$
0
0
Hello,

I want to transfer my website to a localhost on a Windows 10 laptop and cancel the website. What I did was this:

1. I created a folder under C:\wamp64\www and called it oww. and copied all the filed I backed up from the webhost excluding the database backup.
2. Using Filezilla, I copied all the wordpress files from the webhost to the oww folder on my computer.
3. Backed-up the database that was on the webhost onto my computer.
4. Using the Wampserver => phpMyAdmin I created an empty database and imported the SQL file I backed-up from the webhost.
5. I then changed the DB_NAME to oww_db, DB_USER to 'root' and DB_PASSWORD to '' in the wp_config file.
6. I then ran the following SQL updates:

A: UPDATE wp_options SET option_value = replace(option_value, 'http://onlineworkwizard.com', 'http://localhost/oww') WHERE option_name = 'home' OR option_name = 'siteurl';

B: UPDATE wp_posts SET post_content = replace(post_content, 'http://onlineworkwizard.com', 'http://localhost/oww');

C: UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://onlineworkwizard.com', 'http://localhost/oww');

After I did all of this, I went into internet explorer and typed localhost/oww and pressed Enter. All I got back was a message saying:

Do you want to open or save oww (435 bytes) from localhost?

What is wrong?

Did I miss something or is Wampserver corrupted?

Thanks for the help,

Bob Gatto

Viewing all articles
Browse latest Browse all 3177

Trending Articles