.htaccess Path Settings
-
Hi,
My site’s address, let’s say it ishttps://www.mysite.com
.
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:
/user/public_html/
The root only contains the index.php and the .htaccess file.
The wordpress files are placed here:
/user/public_html/shop/
by using this setup for WordPress.
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 https://www.mysite.com (not https://www.mysite.com/shop/)
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 pathProblem 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
/user/public_html/.htaccessAll the best
M
- The topic ‘.htaccess Path Settings’ is closed to new replies.