WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Change Cache Directory (6 posts)

  1. KungFuPanda69
    Member
    Posted 7 months ago #

    Hi,

    I'd like to change my cache directory due to evident safety problems.
    I think it's the only way to make my blog safe against malicious attacks.

    Please, provide me this information and all I need to change in order to have a safe cached website.

    Thank you in advance,
    KFP69

    http://wordpress.org/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 7 months ago #

    What safety problems?

  3. KungFuPanda69
    Member
    Posted 7 months ago #

    Since cache directory is world-writable and executable... perhaps it is a good idea to hide it by using one another name... is it?

    Thank u in advance

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 7 months ago #

    So is your uploads directory. The cache directory has to be in the web path somewhere for the mod_rewrite rules to work. PHP mode would work as it can include files from anywhere but you're still left with world writeable directories. If a PHP file is exploited the bad guys are in and will find it anyway.

  5. KungFuPanda69
    Member
    Posted 7 months ago #

    Ok, so it's not so clear to me.

    I'm using PHP caching mode.
    At this time, caching is working fine, but I have some problems.

    1) Due to PHP Safe Mode enable probably, I cannot write the cache even if directory cache has 777 permissions!

    2) How can I be safe from malicious attacks?

    How can solve them?

    Thank you in advance,
    KFP69

  6. Donncha O Caoimh
    Member
    Plugin Author

    Posted 7 months ago #

    1. Don't bother with PHP safe mode, it's not really any safer.
    2. Update your plugins and WordPress when updates come out. Check the forums of plugins you use for complaints.

Reply

You must log in to post.

About this Plugin

About this Topic