htaccess

  1. E

    WordPress Multisite Directory .htaccess

    I installed WordPress Multisite Directory and the suggested htaccess rules dont work my static links are being converted with a trailing slash example: http://domain.tld/directory/wp-includes/js/hoverintent-js.min.js/ current htacces is: # BEGIN WordPress # The directives (lines) between...
  2. soliman18eg

    What is the complete difference beetwen OpenLiteSpeed & LiteSpeed Enterprise? OLS vs LSWS

    I am planning to use AWS for hosting and cyberpanle with just OLS yet not sure. the site will be E commerce use woocommerce on wordpress. and lots of user who are going to have forum and posts. some kind of marketplace. as we see that Cyber Panel has free OLS and in some articles showing the...
  3. P

    .htaccess not loading on subdirectory (2 levels)

    Hello guys, how are you? =) I'm working on hundreds of OLS installations for a managed cloud hosting, and I started to notice a common problem: If I have the following dir structure, the last .htaccess doesn't get read: /srv/user/www/.htaccess /srv/user/www/dir1/.htaccess...
  4. T

    LiteSpeed Slowdown wp !!???

    Did anyone facing this issue ? LiteSpeed keep generating cache files inside wp-content directory !! when I test my site performance with gtmatrix or google or any other site, it says that I should remove that file which under unused css files ! I remove the file and it keep...
  5. S

    CSP Headers aren't being sent

    I am trying to add some CSP headers via .htaccess, and they don't seem to be working. Header set X-Frame-Options "SAMEORIGIN" Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" Header set Strict-Transport-Security "max-age=631138519; includeSubDomains" when...
  6. A

    Context help needed

    I've recently installed OpenLiteSpeed and have been trying to transfer everything over from a shared host. I'm trying to turn my .htaccess files into working contexts but haven't been able to work out how to do so, if I visit my website it always returns a 404. Is anyone able to point me in the...
  7. tjk

    Moving from nginx, have some questions

    Hey All, Coming from the nginx world, I've been playing with OLS due to the faster php processing. Two questions: 1. One of the apps I am testing, uses a .htaccess in a ton of directories that simply has "deny from all" in it. Where/what is the proper way through OLS to protect these...
  8. Mohsen Ghiasi

    How to block access to xmlrpc.php file?

    Hello I use this code in httpd.conf to block access to xmlrpc.php file that kills many wordpress based websites every day ;-) <FilesMatch "^(xmlrpc\.php|wp-trackback\.php)"> Order Deny,Allow Deny from all </FilesMatch> Is it possible to add a rewrite rule to block access to some files like...
Top