aws-samples / aws-samples/eb-php-wordpress

wp-content symlink

オープン
#26 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
166
フォーク
92
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I’m having hard time on adding persistence on all wp-content directory.

My main problem is that if I use symlink on wp-content, a lot of plugins/themes stop working because they use some __FILE__ and __DIR__ constants, and those constants return the real path of the file(the resolved path, so /wpfiles, where the EFS volume is mounted)

The result is all scripts/css have urls like : /wpfiles/themes/...

So I search for a way to mount directly the EFS on /var/app/current/wp-content, someone have some advices ?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。