Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165641

Re: wordpress from packages - wp-content location not applied?

From Jiri 'Ghormoon' Novak <ghormoon@gmail.com>
Newsgroups linux.debian.user
Subject Re: wordpress from packages - wp-content location not applied?
Date 2016-03-19 20:30 +0100
Message-ID <reuJs-4ca-3@gated-at.bofh.it> (permalink)
References <repgK-sb-5@gated-at.bofh.it> <retNo-3yP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

the line in /usr is there by default (in package) and is not applied,
until I copy it to /etc. that's the strange part.

Gh.

arian wrote:
> No idea of wordpress, but
>
>> there is: /usr/share/wordpress/wp-config.php:   
>> define('WP_CONTENT_DIR', '/var/lib/wordpress/wp-content');
>>
>> but that doesn't have any effect unless I define it in
>> /etc/wordpress/config-www.domain.tld.conf too.
> what happens when you define it _only_ in /etc/wordpress?
>
> you should not need to touch stuff in /usr/ for configuration purposes per file hierarchy standard. If that's how it's usually done for wordpress, that's weird. I don't know wether there exists policy for packaging concerning modifying paths, but I'd find it reasonable to change this. However, if debian packages differ from upstream here, that would definitely necessitate documentation.
>
> regards, arian
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

wordpress from packages - wp-content location not applied? Jiri 'Ghormoon' Novak <ghormoon@gmail.com> - 2016-03-19 14:40 +0100
  Re: wordpress from packages - wp-content location not applied? arian <debian@semioptimal.net> - 2016-03-19 19:30 +0100
    Re: wordpress from packages - wp-content location not applied? Jiri 'Ghormoon' Novak <ghormoon@gmail.com> - 2016-03-19 20:30 +0100
      Re: wordpress from packages - wp-content location not applied? Adam Wilson <moxalt@riseup.net> - 2016-03-20 09:40 +0100
  Re: wordpress from packages - wp-content location not applied? Jiri 'Ghormoon' Novak <ghormoon@gmail.com> - 2016-03-23 16:40 +0100
  Re: wordpress from packages - wp-content location not applied? Jean-Louis Mas <Jean-Louis.Mas@imag.fr> - 2016-03-23 16:40 +0100

csiph-web