Wordpress URL change

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Wordpress URL change

Postby SuperSyan » 20. July 2018 11:14

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
SuperSyan
 
Posts: 1
Joined: 20. July 2018 10:30
XAMPP version: 7.2.7
Operating System: CentOS

Re: Wordpress URL change

Postby Nobbie » 20. July 2018 17:48

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.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 25 guests