• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Wordpress home directory



Thanks: 51
Messages: 1,764

According to this guide Wordpress should be installed in

cp –rf wordpress/* /usr/local/www/apache24/data/

I was under the impression (can't find a reference at the moment) that it should be installed in

What is the FreeBSD recommended location for Web programs?


Aspiring Daemon

Thanks: 262
Messages: 716

I do not know of "recommended" locations.
For my part I prefer the whole thing (configs, database etc) below /home, mainly for ease of snapshot and backup.
I just make links where programs expect stuff in /usr/local/... for example.


Active Member

Thanks: 76
Messages: 193

In effect, it doesn’t matter where it’s installed to as long as the web server is configured to look in hour chosen location.

That said, I would usually store website files under /usr/local/www/mysite because that’s where Apache and Nginx store web roots by default.
Often I create /usr/local/www as a ZFS dataset for easy snapshotting.

I personally prefer to keep /home clear of applications, data, and configuration on the grounds it’s rarely a default location and I’ve ended up making more of a mess of this in the past.



Thanks: 808
Messages: 2,018

Why not simply stick with the default for now? It'll get installed in /usr/local/www/wordpress and it's perfectly doable to set it up from there.


Staff member

Thanks: 5,509
Messages: 25,699

Why don't you simply install the port or package?