• Resolved deexperte

    (@deexperte)


    Hello!

    I have a WordPress installation in a subfolder. The Expert mode of Super cache is used.

    A .htaccess in the folder /public_html forwards requests from the main domain to /public_html/wp/ (subfolder with WP).

    In which folders should the .htaccess files with the supercache instructions be placed?
    A) In /public_html
    B) in /public_html/wp/

    Thank you very much for your help in clarifying this issue.
    Yours sincerely

    Deexperte

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter deexperte

    (@deexperte)

    Hello! Anyone for this question WPsuperCache?

    Thank you for any input!

    Greetings
    Deexperte

    The plugin should set up the .htaccess file for you if it has permission, but I think it should be in public_html.

    Thread Starter deexperte

    (@deexperte)

    Hello Donncha!
    Thanks for Answering.

    If I forward a Domain to a subfolder supercache (expert) says “I cant write the .htaccess – do it manually”.

    Above the content which super cache provides to input in the .htaccess it writes a intraction that I have to use the .htaccess direct under public_html.

    There is my point: does super cache think that this is the right place because .htaccess forward the Domain to subfolder or is it really the right place anyway?
    Think in case you have more than one subfolder width each a separate WP in it.

    This confuses me.

    Can you please comment this?

    Thank you.
    Greetings
    Dexperte

    I’m not sure. I don’t usually use WordPress this way and in my limited testing it was problematic adding the rewrite rules. I would say try add the rules to public_html/.htaccess first and if that doesn’t work then add them to the install directory.

    Test by enabling the debug log and watching the output. If it’s working then a cached page won’t show a record of being served in the debug log.

    If it doesn’t work, then use simple mode. It’s just as fast for normal purposes.

    Thread Starter deexperte

    (@deexperte)

    Hello Donncha!
    Thanks a lot comming back to me.

    Understand.

    Just for getting clear: Super cache would throw a mesaage in debug mode true, if super cache doesnt work? If yes that will be a proof of correct function of super cache?

    Thank you!
    Greetings
    Deexperte

    That’s right. It’ll log the fact that it served the page using PHP. If mod_rewrite serves the cache file then no PHP executes so the debug log file can’t be updated.

    Thread Starter deexperte

    (@deexperte)

    Thank you very much for your support!

    Have a good time!

    Greetings
    Deexperte

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘What are the right folder for .htaccess width supercache directives’ is closed to new replies.