HowTo install Wordpress on NethServer


The file has the option allow from all

Already in the file

I have the an error and don’t work
The error in the log is: [Tue May 19 11:56:07 2015] [alert] [client] /usr/share/wordpress/.htaccess: RewriteEngine not allowed here

1 Like

try to change to
$OUT .= " AllowOverride All \n";
signal-event nethserver-wordpress-update

Now it works

Many thanks

Merci vcc…a new rpm will come tonight please stay stuned to verify it

1 Like

I just install with success WordPress via

  • yum install nethserver-nethforge-release
  • yum install --enablerepo=nethforge nethserver-wordpress

but I want wordpress respond into my http://domain.tld/

so I just need to change the config into httpd and wp-config and run

  • config setprop wordpress /
  • signal-event nethserver-wordpress-update

And did’nt trully understand the part about the .htacess because, I tried to rename my permanent link and that blow up my website.

How do I make wordpress run in instead of

Hi Everyone;

Now we are 2persons asking the same thing :wink:

I tried to redirect with this command

config setprop wordpress URL /
signal-event nethserver-wordpress-update
config setprop wordpress URL .
signal-event nethserver-wordpress-update

but I just receive an error after.

Hope @stephdl can we help us :cry:

The only way i’d succeed it’s to use the web access and install wordpress as a web site root

the URL is just here to change the name of the folder eg ‘wordpress’

if you want to change the url to a root domain name you can try the following command, you need to declare this domain in the server-manager.

# vim  /etc/httpd/conf.d/roundcubemail_domain.conf
<VirtualHost *:80>
Redirect permanent /


 signal-event nethserver-wordpress-update

This should be added as a nfr.

1 Like

Hello someone already installed Wordpress on NS 7.2?

Not tested yet, do you wanna give it a try? You’re welcome! :grinning:

Hello all,

Anyone know how to change the root directory of wordpress, example: to

Thanks a lot.

Check the post above
HowTo install Wordpress on NethServer

Not work, I changed the configurations files to wordpress, but not work.


After running the command (signal-event nethserver-wordpress-update) the contents of the file “/etc/httpd/conf.d/wordpress.conf” back to its original state.

I tried replacing the directory / wordpress by “/” and “.” the settings (config SetProp wordpress URL.), but also did not work, Apache continues to show the default page, both http and https.

In /etc/e-smith/templates/etc/httpd/conf.d/wordpress.conf/10Conf the option AllowOverride this $ OUT = “AllowOverride All\n”;

Does anyone have any idea how to make wordpress works at http://domain and not the http://domain/wordpress?

This cannot be done easily, it must be implemented by a new feature

You need to hack httpd configuration.
Otherwise you should do like this:

  • create an alias for the server
  • create an ibay with web access
  • set the ibay as document root for the created alias
  • tweak all permissions with .htwrite file

a quick fix, but It needs some works

vim /etc/httpd/conf.d/wordpressredirection.conf

DocumentRoot  /usr/share/wordpress 


service httpd restart

then go to the panel dns/server_alias of the server manager and declare the domain

the problem to solve now comes the way where and how wordpress saves the url in its database, please read this

In fact my method is good if you install it from scratch, but if you do it on an already installed wordpress, you will find a lot of broken url.

I’m so confused.

Is it;

service httpd restart

or this;

signal-event nethserver-httpd-update


is simply restarting apache enough?

since you don’t add a new template ‘service httpd restart’ is enough but you can also use ‘signal-event nethserver-httpd-update’ because it restarts also httpd

1 Like