htaccess

  1. I

    Installation Of Wordpress In Subdirectory - URGENT

    Hi , i am using litespeed image from aws ec2 instance. after logging in via ssh and generating https certificate. i entered url , it directly installed wordpress in my home directory . although i wanted to install it in blog directory. i followed bellow step : edite .htacess file...
  2. colbyalbo

    WordPress Multisite Sub Directory CSS/JS assets 404 not found for subsites

    Hello, Trying to get a WordPress Multsite installation with Sub-directories setup. Using wordpress 5.4.1, ubuntu 20.04, OLS 1.6.13, Digital Ocean droplet The main site loads everything correctly, but the subsites do not load the CSS or the JS assets. note: the online reference here...
  3. jwbjnwolf

    AddType for parsing PHP in xml files not working

    Hi, I have some RSS feeds being generated from a PHP array. I a while back moved my site to my own server where I run OpenLiteSpeed (reverse proxied through Nginx). My feeds worked fine on the CloudLinux LiteSpeed hosting I used before, with PHP being parsed inside of XML files using this...
  4. C

    Can't configure WordPress Multisite it gives 404 Error

    I' m new to OLS and using OLS with GCP. I want to use WordPress multisite with subdomain I configure wp-config file it works fine but when I tried to edit htaccess file through lite speed cache plugin option and saved it and restart OLS gives 404 error
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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