Keywords: WordPress - Virtual Machines - How to - Domain Name (DNS)
I have my website www.example.com which is currently running in VM Ware.
The actual webroot is : C:\Bitnami\wordpress-5.7.2-0\apps\wordpress\htdocs
In C:\Bitnami\wordpress-5.7.2-0\apache2\htdocs\ [index.html] I added a js code to let it automatically jum to ( window.location.href=) ‘/wordpress’
Typing ’ www.example.com ’ can successfully reload to /wordpress, but I don’t want ‘/wordpress’ to appear in my site url.
I had tried to edit the [define(‘WP_SITEURL’)] and [‘WP_HOME’] of [wp-config] under C:\Bitnami\wordpress-5.7.2-0\apache2\htdocs\apps\wordpress\htdocs, but the url does not successfully direct .
I also tried editing the [httpd.conf] under C:\Bitnami\wordpress-5.7.2-0\apache2\conf, to change the defined document root to be “C:\Bitnami\wordpress-5.7.2-0\apps\wordpress\htdocs”, but the url does not successfully direct .
Any help would be appreciated, thanks in advance!.
Thanks and Sincerely,