I want to change the WordPress URL of an intranet ,which is just a plain IP address, into something like: intranet.regalcouch.com. So that my users only have to type an address instead of the IP address.
I have tried to add a few lines of code by editing the wp-config.php file on my Debian VM but that resulted in making the WP dashboard unreachable.
So is there something that I could be doing wrong or that I am missing out on?
Which things I have edited and what the results were:
- Editing the Site and WordPress URL into intranet.regalcouch.com, that resulted in an unreachable intranet
- Hardcoding the original URL back into wp-config.php which worked but resulted in URL's looking like this:
.../wordpress/index.php/index.php/ instead of .../wordpress/index.php
- Tried to change the .htaccess file with the values provided by WordPress but did not solved the index.php
My configuration is as follows:
-Debian 8 VM hosted within an ESXi environment
-Running PHP 5.6.29-0deb8ul (cli)
-Running Apache 2.4.10 (Debian) -Running WordPress 4.7.2
WordPress has been installed as described here: http://www.linuxserve.com/2015/05/install-latest-wordpress-version-on.html
These are the resources that I have used: