Skip to content

wp-content symlink #26

@Treenity

Description

@Treenity

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions