Page 1 of 1

Wordpress URL change

PostPosted: 20. July 2018 11:14
by SuperSyan
Hi all,

I need to change the URL of my wordpress installation.
I've got it installed on CentOS 7 with XAMPP 7.2.7 and newest version of Wordpress.

Now, if I change the url from http://10.1.100.71/wordpress to http://10.1.100.71/blog in phpmyadmin or setting->general the site crashes.

Where do I change it as it's required in the office to remove the wordpress from the link.

Thank you for any help in advance.

Regards

Re: Wordpress URL change

PostPosted: 20. July 2018 17:48
by Nobbie
You must change the DocumentRoot from /opt/lampp/htdocs to /opt/lampp/htdocs/wordpress

But be careful, this is a big change and you have to know what you are doing, because it affects the complete Xampp installation and maybe some things won't work anymore.
There is also no simple universal solution, such a change is considered twice and you also have to know your way around in order not to destroy all your installations and tools. You definately should have done that even before installing WordPress and before doing anything with Xampp.

Fortunately, the phpmyadmin tool is configured via an ALIAS option, a change of the DocumentRoot does not affect phpmyadmin.