.htaccess

  1. H

    Another .htaccess RewriteRule question

    Just installed CyberPanel with LiteSpeed server and moved my site from previous host. Speed does seem amazing but .htaccess rules broke. After searching and tweaking I've got some partial success but the following 2 rules are still busted: RewriteRule...
  2. R

    access plus 1 year - does not work

    Hi, gtmetrix tells me to insert this code to speed up the site, but the code doesn't work, help please <IfModule mod_expires.c> ExpiresActive On # Images ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1...
  3. kycleaners

    Possible .htaccess issue?

    Hello all I am having a bit of trouble. I moved my site from a NGIX server to a LiteSpeed server and now the homepage and wp-admin folder work fine but all my pages and blog posts are giving 404 errors. I have been googling this for the past hour and a half and have finally come here for help...
  4. F

    Refused to execute script from, How to set up .htaccess?

    How to set up .htaccess mysite: https://videozonghe.i1314.gdn/video/?4980.html php: 5.6 mysql: 5.7 VH -> Content URI: / Header Operations: Access-Control-Allow-Origin * Strict-Transport-Security: max-age=15552000 X-Content-Type-Options nosniff X-XSS-Protection 1;mode=block X-Frame-Options...
  5. F

    Some of the rules .htaccess does not work

    Rules for on-the-fly image resizing for Simpla CMS do not work. Here is my code: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/files/products/(.+) resize/resize.php?file=$1&token=%{QUERY_STRING} #RewriteCond %{THE_REQUEST} ^GET\...
  6. A

    Help rewrite .htaccess under Openlitespeed

    Have a good time! I have this .htaccess with this kind of content: DirectoryIndex index.php index.html ErrorDocument 404 /404.html ErrorDocument 403 /403.html <Files .*> <IfModule !mod_access_compat.c> Require all denied </IfModule> <IfModule mod_access_compat.c>...
  7. learner

    How Can I Redirect Subdomain to Subdomain ?

    Hello, I want to ask. How can i redirect from subdomain to subdomain with same or different domain name ? I tried with standard rewrite rule like Apache, but it is doesn't working. Thank you very much
Top