• Resolved kendawes

    (@kendawes)


    Hi!
    Great plugin! Thank you!

    In your online documentation, you show some code for a .htaccess file. In regards to this, you say…

    The SUB_PATH variable needs to be adjusted accordingly if you have installed WordPress in a sub directory (e.g. http://www.example.com/blog requires a change to

    SUB_PATH=/blog/wp-content/cache/cache-enabler/).

    Additionally, if you change the location of wp-admin, this must also be adjusted in the following condition RewriteCond %{ENV:CE_PATH} !^/wp-admin/.*.

    Could you clarify the differences (if any) between an html website in the site root and a WordPress blog located in a folder…

    i.e. http://www.example.com/blog

    And “WordPress in a folder”…

    i.e. The entire site is WordPress and shown from http://www.example.com but WordPress itself has been located in a sub-folder http://www.example.com/wordpress/

    In the both cases there would be an .htaccess file in the site root as well as in the WordPress folder. Is there a preferred location for the .htaccess code you provide?

    Thank you so much!

Viewing 1 replies (of 1 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    The code you’re referencing is related to the advanced configuration, which isn’t required to use the Cache Enabler plugin. This is an optional configuration that allows your server to bypass PHP entirely. In most cases the default Cache Enabler configuration is all that’s required.

    If you’d like to implement the advanced configuration and your WordPress website is installed in its own subdirectory, rather than the root, then you’d want to update the advanced configuration SUB_PATH accordingly.

    The correct .htaccess file to edit would the one located in the directory of your WordPress website, whether that’s the root or a separate WordPress subdirectory.

Viewing 1 replies (of 1 total)

The topic ‘Online Documentation – Apache’ is closed to new replies.