Installing WordPress on WampServer keeps a Windows development copy close to the editor, database tools, and browser used for day-to-day theme or plugin work. That makes it safer to test content imports, theme changes, and administrator workflows locally before touching a hosted site.
WampServer packages Apache, PHP, local database services, and phpMyAdmin into one Windows stack served from the www document root. Current releases can expose both MySQL and MariaDB alongside multiple PHP versions, while WordPress itself only needs one active database server, a reachable local web root, and working browser access to the installer.
The steps below assume WampServer is already installed and http://localhost/ loads cleanly before the site files are copied in. Current WordPress recommendations target PHP 8.3 or newer with MariaDB 10.6+ or MySQL 8.0+, so switch the active WampServer versions first if the local stack is still on an older branch or if another Windows service is already blocking the HTTP port.
Related: How to install WordPress on XAMPP
Related: How to install WordPress on MAMP
Use the tray menu to switch to a WordPress-supported PHP version and keep only the intended MySQL or MariaDB service active for the install.
C:\wamp64\www\wordpress-wamp
Older installations can use C:\wamp\www instead of C:\wamp64\www.
Place the contents of the extracted wordpress directory into wordpress-wamp so the site opens at a short local URL instead of /wordpress/.
Database name: wordpress_wamp
Use the default utf8mb4 collation offered by the active MySQL or MariaDB service unless the project already requires a specific one.
WordPress officially recommends a database user with access to the WordPress database. On a simple local-only WampServer setup, the existing root account may still be the practical choice instead.
http://localhost/wordpress-wamp/wp-admin/setup-config.php
If the project folder name differs, replace wordpress-wamp with the actual folder name in every later URL.
Database Name: wordpress_wamp Username: local database user Password: current local database password Database Host: localhost Table Prefix: wp_
If the current local workflow still uses the WampServer root account with no password, enter root and leave the password field blank.
Keep the copied file inside the project directory itself, for example C:\wamp64\www\wordpress-wamp\wp-config.php, not beside it.
Site Title: WordPress on WampServer Username: admin Password: choose-a-strong-password Email: admin@example.test
http://localhost/wordpress-wamp/wp-admin/
If the installer shows Already Installed instead of the first-run form, the selected database already contains WordPress tables. Use an empty database or remove the old tables before retrying.
http://localhost/wordpress-wamp/
Dashboard -> Settings -> Permalinks -> Post name
C:\> curl.exe -I http://localhost/wordpress-wamp/wp-login.php HTTP/1.1 200 OK Set-Cookie: wordpress_test_cookie=WP%20Cookie%20check; path=/; HttpOnly Content-Type: text/html; charset=UTF-8
Replace wordpress-wamp with the actual project folder name if it differs from the example.