Hi Mike,
Does your Wordpress site run at a URL like one of these?
- http://localhost
- Or http://localhost/wordpress
You could simply drop Moodle in as a sub-directory of one of those, so Moodle URL might be like:
- http://localhost/moodle
- OR http://localhost/moodle/wordpress
Alternatively, you could set a new vhost configuration in your WAMP Apache configuration. This resource seems to offer guidance: https://john-dugan.com/wamp-vhost-setup/
By setting up a separate vhost, your Moodle site could then run at a local test domain of your choosing:
- http://moodle.localhost
- OR http://moodle.local
- etc, whatever you choose. The instructions in the link above talk about adding a hosts override so that whatever vhost domain you choose, your computer will "know" to point to localhost for that domain, otherwise it won't know about a made-up domain name.
Once you have decided on whether you want to use a new vhost or just a sub-directory of wordpress, you would go through the standard Moodle setup:
- create separate database for Moodle in WAMP
- Set up config.php
- be sure to set wwwroot to reflect your subdirectory or vhost domain
I think that Wordpress will still work ok with Moodle as a sub-directory/folder inside of it. This may be easier than going through the process of adding a new custom vhost in WAMP.