Thursday, February 17, 2011

Install wordpress on localhost(Own Computer) with WAMP

Complete guide to install wordpress locally (localhost) with wamp
  1. Download and unzip the WordPress package
  2. Install WAMP and open phpmyadmin
  3. Create a DATABASE for wordpress (CREATE DATABASE wordpress_db)
  4. Open WWW folder (inside wamp installation directory)
  5. Unzip wordpress package there
  6. Rename the wp-config-sample.php file to wp-config.php
  7. Open wp-config.php in a text editor
  8. Locate the following
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

9. Fill with appropriate settings
  • database_name_here == database you created
  • username_here == root (most of the time)
  • password_here == password for root, most of the time leave black (if you not set a password for root)
10. Next Locate the "Authentication Unique Keys and Salts" and click link there to generate Unique Keys and Salts

Replace following with with generated one
define('AUTH_KEY', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
define('AUTH_SALT', 'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');
define('NONCE_SALT', 'put your unique phrase here');

11. If you like to have multiple wordpress installations with one DB (Optional)
Find $table_prefix = 'wp_'; and create a unique prefix (I always love to do so, normally I use wordpress version $table_prefix = 'wp_305'; )

12. Now run wp-admin/install.php using a web browser (in my case http://localhost/wordpress/wp-admin/install.php )

13. Opened window create
  • site title
  • User Name
  • Password
  • and Your E-mail (password recovery)
  • Uncheck "Allow my site to appear in search engines like Google and Technorati" (as you on localhost)

14. Click Install


15. Now if it is successful(as it should), you'll be able to login to your wordpress dashboard via login link

2 comments:

VPS Hosting said...

WordPress is often best when you use the wp_enqueue_style () Additional elements of the head style. I think it's important to say this, for example to add CSS hook head wp_head.Great-mail! In addition to the guidance of super-fund, people can really understand why it is so important to install the web server localhost instead of downloading directly online throughout the project. Greeting to offer guidance really well, no one would be lost in the woods, at the same time, and after reading this. Want to see more in the future.

ultrasound technician schools said...

Very good details, thanks to the creator. It is incomprehensible to me currently, but in common, the effectiveness and meaning is overwhelming. Thanks and best of luck.

Post a Comment