Yes, that would work. However, glizi85 is correct, the most easily implemented solution is to create a virtualhost config for each of your wordpress sites. These virtualhost configs go into the "C:\xampp\apache\conf\extra\http-vhost.conf" file on Windows.. similar location on other OSes. A config for an individual wordpress site, a.k.a virtualhost might look something like this:
- Code: Select all
Allow From All
Require all granted
The "DocumentRoot" points to your HTML folder. Don't forget to restart Apache after you make your additions / edits!
Hope this helps!