• Plugin Author Carl Alberto

    (@carl-alberto)


    This post contains a list of common plugins / themes that needs to be symlinked to writable paths so it will work in the Pantheon host. Some of the plugins will have more than one symlinks:

    Format
    Name: Link -> Target

    Plugins

    • All-in-One WP Migration:
      ./wp-content/plugins/all-in-one-wp-migration/storage -> ../../uploads/ai1wm-storage
      ./wp-content/a1wm-backups -> ./uploads/ai1wm-backups
    • Autoptimize: ./wp-content/resources -> ./uploads/autoptimize
    • Divi:
    • ./wp-content/et-cache -> ./uploads/et-cache

    • NextGEN Gallery:
    • ./wp-content/gallery -> ./uploads/gallery

    • WooZone:
    • ./wp-content/plugins/woozone/cache -> ../../uploads/woozone/cache

    • WPML:
    • ./wp-content/languages -> ./uploads/languages

    • WP Fastest Cache:
    • ./wp-content/cache -> ./uploads/cache

    • WP-Rocket:
    • ./wp-content/wp-rocket-config -> ./uploads/wp-rocket-config
      ./wp-content/cache -> ./uploads/cache

    Themes

    • Uncode:
    • ./wp-content/themes/uncode/core/assets -> ../../../../uploads/uncode/assets/css
      ./wp-content/themes/uncode/library/css -> ../../../uploads/uncode/library/css

    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Carl Alberto.
    • This topic was modified 4 years, 11 months ago by Steven Stern (sterndata).
    • This topic was modified 4 years, 11 months ago by Jose Castaneda. Reason: missing symlink destinations
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello

    Maybe you know ?

    WP Rocket cannot configure itself due to missing writing permissions.
    Affected file/folder: wp-content/advanced-cache.php

    so – as I understand need create symlink for file (not for dir)
    But I can not push this with GIT
    When I created symlink through php symlink($target, $shortcut) this created, but When I switch from SFTP to GIT this removed and not give create again in GIT mode

    Plugin Author Carl Alberto

    (@carl-alberto)

    Thanks for reporting, this plugin is usually used for folders and not files so that might be a room for improvement later.

    Were you able to commit the change before switching from SFTP to Git?

    Support of Pantheon help me
    advanced-cache.php was excluded in .gitignore
    so after I removed it – I created by command
    mklink .\wp-content\advanced-cache.php .\uploads\advanced-cache.php
    and after successfully commit this

    Hi Carl,
    I seem get an error when attempting to add a symlink:

    Warning: symlink(): File exists in /srv/bindings/27d55c758f184a5ea4c167e27a4d4be0/code/wp-content/plugins/easy-symlinks/includes/lib/class-easy-symlinks-functions.php on line 128

    Warning: mkdir(): File exists in /srv/bindings/27d55c758f184a5ea4c167e27a4d4be0/code/wp-content/plugins/easy-symlinks/includes/lib/class-easy-symlinks-functions.php on line 211

    Any idea what this means?

    Secondly, should I expect WP Fastest Cache or WP Rocket to work on Pantheon if I use this plugin? I’m under the impression most caching plugins don’t work on Pantheon because they fight against Pantheon’s caching.

    Thanks for any help!

    What is your target and link @kinggrizzly ? Did you check if the target folder is existing?

    No, was I supposed to create the target folder? I think I did it backwards and created the plugin cache folder instead of the target.

    Any idea if this will make WP Fastest Cache or WP Rocket work on LIVE on Pantheon? Thanks!

    I successfully created the symlink by removing the source folder and creating the target folder (which is probably what your directions meant!). However, when I configure WP Fastest cache it throws this error when I try to save:

    Warning: symlink(): File exists in /srv/bindings/27d55c758f184a5ea4c167e27a4d4be0/code/wp-content/plugins/easy-symlinks/includes/lib/class-easy-symlinks-functions.php on line 128

    Warning: mkdir(): File exists in /srv/bindings/27d55c758f184a5ea4c167e27a4d4be0/code/wp-content/plugins/easy-symlinks/includes/lib/class-easy-symlinks-functions.php on line 211

    @unixalberto

    • This reply was modified 4 years, 7 months ago by kinggrizzly.
    • This reply was modified 4 years, 7 months ago by kinggrizzly.
    Plugin Author Carl Alberto

    (@carl-alberto)

    Hi @kinggrizzly

    It might be possible that the symlink is already existing if that is the case.

    For other caching plugins, we don’t really recommend other ones as it messes up Pantheon’s caching so instead of using WP Rocket, we are seeing good results from other users using this plugin https://www.ads-software.com/plugins/autoptimize/ as an alternative for WP Rocket’s features

    Thanks @unixalberto . I’m experimenting with Autoptimize. In the meantime, it looks like WPRocket is working on a way to accommodate Pantheon’s caching: https://github.com/wp-media/wp-rocket/issues/1747#issuecomment-623733800

    Plugin Author Carl Alberto

    (@carl-alberto)

    Adding this plugin for later reference https://www.ads-software.com/plugins/matomo/

    target: ../../uploads/app
    link: wp-content/plugins/matomo/app

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘List of common symlinks in Pantheon’ is closed to new replies.