How to install Wordpress in xampp ?


  1. Download and save the latest version of Wordpress from the following link:

    http://wordpress.org/latest.zip

    Download and save the latest version of Wordpress from the following link: http://wordpress.
     Download and save the latest version of Wordpress from the following link:

    http://wordpress.


  2. Extract the contents of the ZIP file called "wordpress
    .zip", which was downloaded in step 1, to the htdocs folder within the XAMPP directory.

    Extract the contents of the ZIP file called "wordpress.
     Extract the contents of the ZIP file called "wordpress.







    If ZIP file extracted properly there should be a new directory called "wordpress" within the \xampp\htdocs directory.



  3. Before the process can move forward, please ensure that the web server environment is running properly
    .

  4. Go to the XAMPP main page by opening a web browser and entering the following URL
    :

    http://localhost/xampp/ .

    Go to the XAMPP main page by opening a web browser and entering the following URL:http://localhost/xampp/.
     Go to the XAMPP main page by opening a web browser and entering the following URL:

    http://localhost/xampp/.

  5. Select the link called "phpMyAdmin" on the lower left side of the menu or by entering the following URL
    :

    http://localhost/xampp/phpmyadmin .

    Select the link called "phpMyAdmin" on the lower left side of the menu or by entering the following URL:http://localhost/xampp/phpmyadmin.
     Select the link called "phpMyAdmin" on the lower left side of the menu or by entering the following URL:

    http://localhost/xampp/phpmyadmin.

  6. At the phpMyAdmin main page, there will be an area in the middle of the screen called "MySQL localhost"
    . From this section a new database will be created for use by the Wordpress installation.

    Example before settings


    In the field labeled "Create new database" enter the name "wordpress". From the dropdown labeled "Collation" select "utf8_unicode_ci". Then press the button labeled "Create".

    Example after settings


    If the database entry was created successfully the message "Database wordpress has been created" should be displayed.



  7. Using the Windows Explore navigate to the xampp\htdocs\wordpress directory
    . Open the file called "wp-config-sample.php" within the wordpress directory.

    Using the Windows Explore navigate to the xampp\htdocs\wordpress directory.
     Using the Windows Explore navigate to the xampp\htdocs\wordpress directory.



  8. Once the file has been opened edit the following lines
    :

    /** The name of the database for WordPress */
    define('DB_NAME', 'putyourdbnamehere'); ==> change 'putyourdbnameheree' to 'wordpress'

    /** MySQL database username */
    define('DB_USER', 'usernamehere'); ==> change 'usernamehere' to 'root'

    /** MySQL database password */
    define('DB_PASSWORD', 'yourpasswordhere'); ==> change 'yourpasswordhere' to ' ' (leave it blank)

    Once the file has been opened edit the following lines:/** The name of the database for WordPress */define('DB_NAME', 'putyourdbnamehere');  ==> change 'putyourdbnameheree' to 'wordpress'/** MySQL database username */define('DB_USER', 'usernamehere');  ==> change 'usernamehere' to 'root'/** MySQL database password */define('DB_PASSWORD', 'yourpasswordhere');  ==> change 'yourpasswordhere' to ' ' (leave it blank).
     Once the file has been opened edit the following lines:

    /** The name of the database for WordPress */
    define('DB_NAME', 'putyourdbnamehere'); ==> change 'putyourdbnameheree' to 'wordpress'

    /** MySQL database username */
    define('DB_USER', 'usernamehere'); ==> change 'usernamehere' to 'root'

    /** MySQL database password */
    define('DB_PASSWORD', 'yourpasswordhere'); ==> change 'yourpasswordhere' to ' ' (leave it blank)

    .

  9. When the file has been edited as described in the previous step, save a copy of the file as "wp-config
    .php" in the wordpress directory and close the file.

    When the file has been edited as described in the previous step, save a copy of the file as "wp-config.
     When the file has been edited as described in the previous step, save a copy of the file as "wp-config.

  10. Go to the Wordpress Installation page by opening a web browser and entering the following URL
    :

    http://localhost/wordpress/wp-admin/install.php .

    Go to the Wordpress Installation page by opening a web browser and entering the following URL:http://localhost/wordpress/wp-admin/install.
     Go to the Wordpress Installation page by opening a web browser and entering the following URL:

    http://localhost/wordpress/wp-admin/install.

  11. Enter a title for the blog in the field labeled "Blog Title"
    . Enter an email address in the field labeled "Your E-mail". Then press the button labeled "Install Wordpress".

    Enter a title for the blog in the field labeled "Blog Title".
     Enter a title for the blog in the field labeled "Blog Title".

  12. If the information in the previous step was entered correctly there should be a new screen titled "Success
    !". This screen presents a username called "admin" and a temporary password. It is a randomly generated password so it is important to make note of it until a new password has been selected. Press the button labeled "Log In".

    If the information in the previous step was entered correctly there should be a new screen titled "Success!".
     If the information in the previous step was entered correctly there should be a new screen titled "Success!".

  13. At the Log In screen type the word "Admin" in the field labeled "Username" and type the temporary password, which was created in the previous step, in the field labeled "Password"
    . Press the button labeled "Log In".

    At the Log In screen type the word "Admin" in the field labeled "Username" and type the temporary password, which was created in the previous step, in the field labeled "Password".
     At the Log In screen type the word "Admin" in the field labeled "Username" and type the temporary password, which was created in the previous step, in the field labeled "Password".

  14. If the log in was successful then the Wordpress Dashboard appears
    . There is a notice which states that an auto-generated password is being used and to change it to something easier to remember. The link labeled "Yes. Take me to my profile page" allows the temporary password to be changed. Once the password has been changed editing of the content and themes can begin.

    If the log in was successful then the Wordpress Dashboard appears.
     If the log in was successful then the Wordpress Dashboard appears.