Comments (5)
I'm sorry, what is the builder for wordpress? I never saw WP installation with custom paths, why and how would anyone do this? Please note since we orient on docker images we assume you're using composer to manage WP core and plugins
from nginx.
an example would be composer.json that can be found in wordpress-composer repo:
https://github.com/wodby/wordpress-composer/blob/master/composer.json#L29-L38
Where you can specify location of plugins, mu-plugins, themes, you can also put wordpress into subfolder, etc., ie:
"extra": {
"installer-paths": {
"web/contents/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/themes/{$name}/": ["type:wordpress-theme"],
"web/addons/{$name}/": ["type:wordpress-plugin"]
},
"wordpress-install-dir": "web/wp"
},
from nginx.
I'm not sure why would anyone do that, what's the value in this? Customizaton for the sake of customization? I don't think this worth supporting. Besides our other WP images also contain hardcode for default paths such as wp-content
, wp-content/plugins
, wp-content/themes
.
from nginx.
Ok, I see that mu-plugins/
directory is actually a thing. However, we don't have any hardcode for plugins/
dir in WP preset. We do have for wp-content
but I'm yet to hear the good reason why rename it.
from nginx.
@csandanov there are pretty popular projects around for WordPress that requires changes to some of the paths. The most popular I know is the following: https://roots.io/bedrock/
I guess that researching their "Why" would be a good starting point. I'm not saying you should do it but maybe @virtuman can make a bullet list of why this would be a good feature to support based on the existing projects arguments?
from nginx.
Related Issues (20)
- Add -dev-macos version like in php container
- Custom presets HOT 1
- Are AdvAgg rules working? HOT 3
- Using container standalone isseu HOT 1
- Custom preset upstream.conf not correctly checked HOT 1
- Ability to use WebSockets HOT 1
- Help me understand how the nginx environment works HOT 1
- Custom Preset naming / error HOT 2
- Add webP as assets extension in nginx conf HOT 1
- Fails when the volume is mounted readonly HOT 2
- Allow .yml in files directory (just like .txt) HOT 2
- Drupal Backup and Migrate restore path generates 404 in nginx
- 502 Bad Gateway
- Block all user/content edition path
- Memory leak HOT 1
- NGINX hotlinc protection configuring
- Change Advagg paths
- Drupal 10.1.0 CSS Aggregation updates. HOT 1
- X-Forwarded-Proto is returning `http,https` instead of `https` since nginx version >= `1.23` HOT 1
- ancestor violates the following Content Security Policy directive: "frame-ancestors" Drupal 10 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx.