Support » Plugin: LiteSpeed Cache » .htaccess Path Settings

  • Resolved Argentum


    My site’s address, let’s say it is
    The WordPress files are residing in an directory one level down. We can call the directory ‘shop’.
    The absolute path to the root of my installment is:
    The root only contains the index.php and the .htaccess file.
    The wordpress files are placed here:
    by using this setup for WordPress.

    Giving WordPress Its Own Directory

    Method II.

    By using the method II from the link above the URL are rewritten by the .htaccess so the visible url in the browser for the visitor is (not
    I am using the Litespeed plugin. When the plugin writes to the .htaccess file, it writes to this file /user/public_html/shop/.htaccess
    But that .htaccess is overridden by the .htaccess in the root. So the plugin should write to /user/public_html/.htaccess
    I have found the Toolbox-Edit .htaccess settings where there is
    .htaccess Path Settings for
    Frontend .htaccess path
    Backend .htaccess path

    Problem is, whatever I put in these fields and save the settings, I receive a 403 error. Could you please explain how to use these settings?

    As it is now, I have to manually copy the code the plugin puts in /user/public_html/shop/.htaccess (where it have no effect) to the root .htaccess file

    All the best

    • This topic was modified 10 months, 2 weeks ago by Argentum.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk



    frontend path set to /user/public_html/.htaccess

    backend to be /user/public_html/shop/.htaccess

    403 error is probably due to your mod_security or security plugin as when it detects “.htaccess” in request body or header, it will likely block it

    Best regards,

    Thread Starter Argentum


    Thank you. That was my guess too.

    If I manage to disable the security thing, will the plugin change both .htaccess files from the two different path settings?

    Plugin Support qtwrk



    By design , yes , it will sync/update the both .htaccess when necessary

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.htaccess Path Settings’ is closed to new replies.