You have two alternatives:
-
Change the DocumentRoot directive in the WAMP httpd.conf file (use CTRL+F to find it). That way you will change the whole root folder of your server, be aware of that!
-
Create a virtual host that will bind a domain to a particular subfolder in your document root (similar to subdomains logic). Here some article that might help:
https://www.techrepublic.com/blog/smb-technologist/create-virtual-hosts-in-a-wamp-server/
I personally prefer the second option, is better than modify the entire document root. With a virtual host you choose if you want to use the root or a subdirectory.
Be happy!
Related Posts:
- Transferring WordPress Instances
- Getting an error when I visit http://localhost
- Localhost is not working
- What’s the whole point of “localhost”, hosts and ports at all?
- RabbitMQ started but can’t access management interface
- Jetpack Running Locally [closed]
- How to update WordPress installed on IIS?
- Relative or dynamic site url possible?
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- WP Asking for FTP Credentials with XAMPP Localhost
- HTTP request on localhost failing
- How to make other computer in local network see my theme
- WordPress on localhost still points to the live site
- local wordpress blog issues
- Why I have this error when I try to install this old blog on my local webserver?
- Upload localhost changes to live server
- How to transfer /wordpress folder from one PC to another
- Other devices on same network unable to access WordPress localhost setup
- Switching from editing on directly on remote server to PHPstorm local development?
- WordPress redirecting to 127.0.0.1 when accessing the site from a remote device
- hosting a wordpress site locally to my team
- localhost on iPhone not loading images
- website is still in localhost
- How do I create a WP sandbox for development on localhost (raspberry pi 4) without being redirected to the live site?
- How to move a WordPress Localhost straight to an online site?
- WordPress Font Install / MAMP LocalHost
- Problem moving my WordPress live site to localhost
- Transfer wordpress site from web server to localhost
- How to prevent WordPress loading external resources when developing
- Running wordpress on localhost [closed]
- Cannot complete migration on LAMP
- Error establishing a database connection in localhost WordPress site
- How can I view wordpress site hosted locally in my home LAN network from the Internet (outside LAN network)?
- Allowing WordPress from non-public address/domain
- WordPress IIS intranet server
- Why I have this error when I try to install this old blog on my local webserver?
- Tunnel only specific folder/directory with ngrok
- Redirect loop error on wordpress landing page on localhost
- Get new password without email
- My blog hosted in distant server is still connecting to localhost
- Localhost WordPress not recognizing my online WordPress account
- wordpress local host web login not working after port configuration
- Making WordPress Local Again?
- Multiple attempted logins originating from the server IP itself?
- I’m getting this error …in localhost/wordpress
- Deploying Local WordPress Site
- Why don’t WP themes download completely on my localhost (XAMMP)?
- wordpress not loading on localhost [closed]
- mamp localhost not picking up wp-login
- How do I access a remote database with a local MAMP development install?
- Unable to install and upload theme due to php.ini file [closed]
- All includes are pointing at local host
- Developing on localhost remove “index.php”
- What should I write in hostname when I try to install a theme?
- Path Issue – Getting “localhost” instead the IP
- WAMP WordPress installation cannot get past step 1, loads indefinitely
- how to config the home page locally
- How to enable %postname% permalinks on Mac?
- LOCAL server not installing wordpress
- How can I view my site directly from WordPress dashboard?
- Transfer XAMPP local WordPress website from one PC to another
- Single wordpress page redirecting to wrong port on localhost
- share sample of website designed in localhost with clients
- Sync up localhost copy of my website to the online version
- How connect local python app to wordpress
- Why is WordPress showing local host ip address instead of domain name in url?
- XAMPP internal server error
- How do I move my site from localhost to my domain?
- Install WordPress – Localhost
- Localhost wordpress problem
- WordPress can’t be reached on uWAMP when I change from port 80
- How to get my localhost wordpress to my domain with cpanel?
- WordPress on localhost redirecting to unknown ip
- WP 5-minute Install Error: “Waiting on Localhost…” —why does this happen?
- Local installation is broken
- Why is local wordpress install calling live site executions?
- Database connection issue migrating live site to local host
- Cant view wordpress after install
- how to open my existing site on mamp
- WordPress installation didn’t install any default data and returned empty rows!
- WordPress site under localhost is disassociated with the code
- Import WordPress site to localhost, but loads blank white screen [closed]
- Cloning wordpress intsall on mac
- How to properly maintain a testing version of a site?
- Backed up site on localhost affecting live site
- Localhost WordPress Uploading of Images Issue
- Sync Local site and Distant site
- Setting up XAMPP and Sendmail to enable WordPress emails on localhost
- Merging separate works in wordpress
- Issues when moving from server to MAMP
- Domain Pointing to www.domain.com:8888
- Deprecated: mysql_connect()
- How to create a child theme without losing changes made to parent
- Errors using WAMP for local hosting site and Dreamweaver to edit theme
- Wampserver: “Can’t select database”
- Running a Development Copy of WordPress?
- How do I upload my WordPress code files from previous website onto local host WordPress website?
- Why can’t other people in same network view wordpress built in localhost?
- Failed to upload image on localhost
- How to open site written on localhost on mobile