• Resolved zhangwen1712

    (@zhangwen1712)


    Is it safe to use a symlink for the cache directory? Could it cause any issues with WordPress or the cache function?

    If I change the cache directory in the plugin, what should I pay attention to (permissions, clearing old cache, etc.)?

Viewing 1 replies (of 1 total)
  • Plugin Support Damilare

    (@deabiodun)

    Hi @zhangwen1712!
    The wp-content/cache directory is generally used for a number of reasons, including writability, the temporary nature of its content, clearing/regeneration safety, and isolation from key site files/content.

    While you can use a symlink to map the cache directory to a different location and it’ll still work, you should make sure to research the security implications of doing so, especially if such a directory is not in the root of the wp-content directory.

    Make sure to test your site thoroughly after setting the symlink to ensure everything still works as expected.

    Regards.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.