Title: WordPress on localhost
Last modified: August 30, 2016

---

# WordPress on localhost

 *  Resolved [Jessica Santos](https://wordpress.org/support/users/jessica-santos/)
 * (@jessica-santos)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-on-localhost-2/)
 * Hello everyone. I’m new to wordpress. I know html, javascript, css, jquery, mysql
   and a bit of php.
    I’ve installed wordpress on localhost and i’m using WAMP. 
   I have questions about this:
 *  »1 – I’ve made the code to a support form of my website and when i run it, it
   shows this message: this page was not found.
    -> Does that mean that because 
   i’m running the website locally it doesn’t shows the correct page? Or probably
   i need to use an auxiliary variable?
 *  »2 – Can i install the current wordpress that i’m using in Computer **A** (at
   Work) in to Computer **B** (at Home) so that i can continue programming in Computer**
   B** what left to do in Computer **A**? And how can i do that?!
 *  »3 – In this moment i’m trying to set a different profile picture to each user
   level in wordpress.
    -> Can i do that? Or better, where can i write the code 
   so i can set to each user level a different profile picture? Oh, and what can
   i write so that only me (the Admin) can add those different profile pictures 
   to each user level?
 * Thanks for the Help in advance!! 😀

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-on-localhost-2/#post-6385721)
 * > »2 – Can i install the current wordpress that i’m using in Computer A (at Work)
   > in to Computer B (at Home) so that i can continue programming in Computer B
   > what left to do in Computer A? And how can i do that?!
 * Assuming I have correctly understood the work installation as being localhost
   in WAMP, you can duplicate that at home by doing the necessary installations (
   WAMP and WordPress) at home and then “moving (copying) WordPress” from work to
   home by importing the work database and adding the content of the /wp-content/
   folder:
    [https://www.google.com/search?q=moving+wordpress](https://www.google.com/search?q=moving+wordpress)
 * To do that, carrying things home on a stick might be the simplest way rather 
   than trying to use an FTP/SFTP connection to either machine, and then you might
   or might not have to do some database updating if the drive paths on the two 
   are not identical…
 * note: Edit ‘pref’ (three places below) to your own table_prefix and change ‘[http://www.olddomain.com&#8217](http://www.olddomain.com&#8217);
   and ‘[http://www.newdomain.com&#8217](http://www.newdomain.com&#8217); as required(
   three places each and with no trailing slashes)
 *     ```
       UPDATE pref_options SET option_value = replace(option_value, 'http://www.olddomain.com', 'http://www.newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
       UPDATE pref_posts SET guid = replace(guid, 'http://www.olddomain.com', 'http://www.newdomain.com');
       UPDATE pref_posts SET post_content = replace(post_content, 'http://www.olddomain.com', 'http://www.newdomain.com');
       ```
   
 * Disclaimer: The above is all theoretical since I have never actually done that.
 * As to syncing the two installations on an on-going basis, no problems should 
   arise from using a stick or whatever to transfer (copy) /wp-content/themes/ and/
   wp-content/plugins/ from one machine to the other, but /wp-content/uploads/ and
   the database would be a different matter since uploads must be registered in 
   the database and the simplicity or complexity of syncing the two databases would
   be dependent upon the above. In my own case, I often just copy-and-paste from
   the page/post editor at one site to another while having the two side-by-side
   in a browser, and you might be able to do something similar (and then also deal
   with the matter of any new upload/s) if actual content is what you are trying
   to sync.
 *  Thread Starter [Jessica Santos](https://wordpress.org/support/users/jessica-santos/)
 * (@jessica-santos)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-on-localhost-2/#post-6385742)
 * Thanks [@leejosepho](https://wordpress.org/support/users/leejosepho/) i think
   i undestood what you meant. Probably the “best” is really copy and paste the 
   DB and the files from WAMP in computer **A** to the **B** and from **B** to **
   A** also.
    I’m using the same “domain”. In my case i installed the website in
   localhost, so it’s: [localhost/wp-login.php](http://localhost/wp-login.php) when
   i need to go to my website. So in both computers i’m going to do the same.
 *  >>I’m going to try that and tell you how it went.
 * Now, just need to understand the »1 e 3» questions i’ve made :^)
 *  Thread Starter [Jessica Santos](https://wordpress.org/support/users/jessica-santos/)
 * (@jessica-santos)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-on-localhost-2/#post-6385806)
 * I’m going to create another Post. Thank you

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress on localhost’ is closed to new replies.

## Tags

 * [moving-wordpress](https://wordpress.org/support/topic-tag/moving-wordpress/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 3 replies
 * 2 participants
 * Last reply from: [Jessica Santos](https://wordpress.org/support/users/jessica-santos/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/wordpress-on-localhost-2/#post-6385806)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
