Support » Plugin: WP Fast Cache » Installation: manually adding code to .htaccess

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author TaylorHawkes

    (@taylorhawkes)

    Did you add all of it including the comments?

    Is you .htaccess file in the root directory of your website?

    Seriously,

    I have the same problem. I put the text into the beginning of the file and it still is acting like it is not there. Why?

    I’m giving up immediately.

    Hi Taylor,

    I’m having the same trouble. My .htaccess is actually writable by Apache however it didn’t detect that. So I copy/pasted the config code but the plugin still complains setup is incomplete.

    Here is a screenshot:

    https://dl.dropboxusercontent.com/u/17597312/Wp%20Fast%20Cache%20%E2%80%B9%20micro-cruising%20%E2%80%94%20WordPress.png

    I enjoyed your intro video and was hoping to use your plugin in favour of the bulkier ones out there. I hope you can resolve the issue — my only guess as a developer is you’re not detecting the file permissions correctly, or trying to open the file but failing for some reason, which would explain both the error message saying htaccess isn’t writeable as well as it not being able to read the config is correct.

    Stew

    Plugin Author TaylorHawkes

    (@taylorhawkes)

    Youdaman,

    Thanks for info – not sure of this issue.

    I am checking this file for write permissions:
    $htaccess=$_SERVER[‘DOCUMENT_ROOT’].”/.htaccess”;
    if(!is_writable($htaccess)){ return 2; }

    Does that correctly reference your .htaccess file? It would be great to get some help to trouble shoot this bc its clearly an issue.

    $_SERVER[‘DOCUMENT_ROOT’] is “/htdocs” whereas my site lives in “/var/www/micro-cruising.com.au/” — I’ve got virtual hosts setup.

    You’re probably better off using something like:

    realpath(dirname(__FILE__))

    Or better still one of the directory/path functions here:

    http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

    I bet getting it working using one of those will clear up many of the support questions and complaints 😉

    Plugin Author TaylorHawkes

    (@taylorhawkes)

    Yep, this is now on the docket as bug. Fix will come in 1.5 pretty soon. –
    Thanks for help on this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Installation: manually adding code to .htaccess’ is closed to new replies.