Local development sites give theme and plugin changes a place to run before they reach a public website. On Windows, WampServer supplies the web server and database needed to install WordPress at a localhost address.
An installed WampServer stack is the starting point, with its homepage opening at http://localhost/ and phpMyAdmin available. WordPress recommends PHP 8.3 or newer and MySQL 8.0 or newer; the installation here uses WampServer's local MySQL service.
Each site needs an empty database, and its database login is separate from the WordPress administrator login. A dedicated database user limits WordPress to its own database, while the administrator account manages content and settings after sign-in. A local development stack should remain accessible only from the local computer.
Steps to install WordPress on WampServer:
- Download the ZIP package from the official WordPress download page.

- Choose Extract All from the downloaded ZIP file's context menu in File Explorer.

- Enter C:\wamp64\www as the extraction destination.
The archive contains a wordpress folder, so the site files will be under C:\wamp64\www\wordpress. Older WampServer installations may use C:\wamp\www instead.
Overwriting an existing wordpress folder can replace another local site's files. This installation needs a new wordpress folder.
- Click Extract to unpack WordPress into the web root.

- Open http://localhost/phpmyadmin/ in your browser.

- Enter your local MySQL administrator credentials in the phpMyAdmin login form.
A fresh WampServer installation uses root with an empty password for its local MySQL server. An installation with a changed password requires that password. This administrator login is only for creating the site's database account; WordPress will use its own account.
A passwordless database administrator is unsuitable for network access. WampServer and phpMyAdmin must remain local-only during this setup.
- Click Log in with MySQL selected as the server.

- Open phpMyAdmin's server navigation menu.
The menu appears as three horizontal lines when the navigation tabs do not fit across the window.
- Choose User accounts from the server menu.

- Click Add user account below the account list.

- Enter wordpress_wamp as the User name.
If wordpress_wamp already belongs to another project, use a different unused name for both the database and its user.
- Choose Local for Host name.
The host field becomes localhost, restricting this account to local database connections.
- Enter a strong database password in Password and Re-type.
The same password is needed in the WordPress database connection form.
- Select the option that creates a database with the same name as the user.
This grants access to the new wordpress_wamp database. The wildcard database option and all Global privileges checkboxes remain clear.
- Click Go at the bottom of the account form.

- Confirm that phpMyAdmin reports You have added a new user.
The database appears in the left sidebar, and the account is identified as wordpress_wamp@localhost.
- Open http://localhost/wordpress/ in your browser.

- Click Continue with English (United States) selected.
A different preferred language can be selected before continuing.
- Open the database connection form.

- Enter the connection details for the database you created.
Database Name: wordpress_wamp Username: wordpress_wamp Password: the database user's password Database Host: localhost Table Prefix: wp_
The password is the one assigned to the database user, rather than a WordPress administrator password.
- Click Submit to save the database configuration.

- Click Run the installation after WordPress confirms the database connection.

- Enter a site title, administrator username, strong password and your email address.
The administrator password is needed for later sign-ins. Password reset emails require a working mail service, which a local WampServer installation may not have.
- Click Install WordPress to create the site.

- Click Log In on the Success! screen.

- Enter the WordPress administrator username in Username or Email Address.

- Enter the WordPress administrator password in Password.

- Click Log In to sign in to the new dashboard.

- Click your site title in the dashboard's top administrator bar.

- Confirm that the local front page displays your site title and the initial Hello world! post.
The address remains http://localhost/wordpress/, and the administrator bar shows that the signed-in account can access the site.