Title: 302 Found error
Last modified: February 23, 2021

---

# 302 Found error

 *  Resolved [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/)
 * Hi,
    I have a wordpress multisite with 4 subsite that each subsite use different
   themes. LSCache settings for these subsites are similar. But in second blog (
   subsite) files not loading with 302 found error. I tested it with combine disabled,
   minify disabled, load asynchronously css on/off, Empty all caches from toolbox,
   http/2 on/off…
 * How can i debug this? Where to start troubleshooting?
 * [Screenshot](https://paste.pics/e9699c8e36385cec93211d1d38d3733c)
 * Report number: ZFOIRBIT
    Report date: 02/23/2021 12:40:10
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F302-found-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14093079)
 * Hi,
 * Could you please click that “triangle” right before `GET` ? see what it output
 * and also please check what is the full response header from these 302 request
 * Best regards,
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14093586)
 * Sure.
 * Status:
 *     ```
       Status: 302 Found
       Version: HTTP/2
       Transferred: 371 B (0 B size)
       Referrer Policy: strict-origin-when-cross-origin
       ```
   
 * Response Header:
 *     ```
       HTTP/2 302 Found
       x-redirect-by: WordPress
       location: https://kalleh.com/book/wp-content/litespeed/cssjs/17d9a.css
       x-litespeed-cache-control: no-cache
       content-type: text/html; charset=UTF-8
       content-length: 0
       date: Wed, 24 Feb 2021 04:34:42 GMT
       server: LiteSpeed
       cache-control: no-cache, no-store, must-revalidate, max-age=0
       vary: User-Agent
       X-Firefox-Spdy: h2
       ```
   
 * Request Header:
 *     ```
       GET /book/wp-content/litespeed/cssjs/17d9a.css HTTP/2
       Host: kalleh.com
       User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
       Accept: text/css,*/*;q=0.1
       Accept-Language: en-US,en;q=0.5
       Accept-Encoding: gzip, deflate, br
       Referer: https://kalleh.com/book/
       DNT: 1
       Connection: keep-alive
       Cookie: _gcl_au=1.1.728813197.1614077735; ls_smartpush=fdf041077ffff6d3; wp-wpml_current_language=en
       Pragma: no-cache
       Cache-Control: no-cache
       TE: Trailers
       ```
   
 * I’m sure the ‘CSS HTTP/2 Push’ and ‘JS HTTP/2 Push’ are disable when get this
   results.
    -  This reply was modified 5 years, 3 months ago by [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14098605)
 * Hi,
 *     ```
       HTTP/2 302 Found
       x-redirect-by: WordPress
       ```
   
 * something within WP is sending this redirect
 * do you have other optimization/cache plugin ?
 * in particular , some feature like `remove query string` ?
 * Best regards,
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14109191)
 * Sorry for the delay in reply.
    No, there is’nt any other optimization/cache plugin.
   I tested it with disabling Remove Query Strings option in LSCache. But the problem
   persists.
 * Could htaccess redirects cause this?
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14109195)
 * I found the problem.
    This code auto generated in .htaccess:
 *     ```
       ### marker Network CSS/JS Auto Generation Rules start ###
       RewriteEngine on
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_URI} !^/book/wp-content
       RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-content/litespeed/cssjs/.*) $2 [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_URI} ^/book/wp-content/litespeed/cssjs/.+\.(css|js)$
       RewriteRule . /book/index.php [L]
       ### marker Network CSS/JS Auto Generation Rules end ###
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       ```
   
 * Problem solved by removing this code.
    Why this code generated only for this 
   blog? How to prevent generating again?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14111686)
 * Hi,
 * could you please show me the main site domain , and few of your network subsites
   domain ?
 * you can obscure/mask the domain partially if you want to keep it secret
 * e.g. `www.domain.com` -> you can write it like `www.d___in.com`
 * just want to see how was your network set up.
 * Best regards,
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14111940)
 * Hi,
    The multisite network installed on k____h.com Multisite configured to subdirectory
   for subsites and we have 3 subsites: Main site: k____h.com/ blog1: k____h.com/
   book/ blog2: k____h.com/cookbook/ blog3: k____h.com/landings/
 * Also the main site is multilangual with two subdirectories:
    k____h.com/en/ k____h.
   com/fa/
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/302-found-error/#post-14114102)
 * Hi,
 * is LSCWP network activated ? or individually enabled at each sites ?
 * and please try use this ruleset , see how it goes
 *     ```
       ### marker Network CSS/JS Auto Generation Rules start ###
       RewriteEngine on
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_URI} !^/wp-content
       RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-content/litespeed/cssjs/.*) $2 [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_URI} ^/wp-content/litespeed/cssjs/.+\.(css|js)$
       RewriteRule . /index.php [L]
       ### marker Network CSS/JS Auto Generation Rules end ###
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       ```
   
 * Best regards,
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/302-found-error/#post-14144985)
 * Hi,
    Yes LSCWP is network activated. Page optimization configured for each site.
 * I tried with that rulset and issue fixed. But every time I save LSCWP settings,
   rulsets reset to default.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/302-found-error/#post-14146509)
 * Hi,
 * yes , it’s because everything you save setting , LSCWP will flush the rewrite
   rule
 * we will deal that later once we conclude where/what is the issue.
 * with my ruleset , does it work properly on all sites ?
 * Best regards,
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/302-found-error/#post-14148159)
 * Yes. with your ruleset (or even remove this block) all subsites loaded properly.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/302-found-error/#post-14152672)
 * Hi,
 * Could you please try the v3.7 branch ?
 * you can get that version in toolbox -> beta test -> dev , it should fix the issue
   for the network minifed/combined files.
 * Best regards,
 *  Thread Starter [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * (@abdipour)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/302-found-error/#post-14154242)
 * Hi,
    I update LSWPCACHE to Version 3.7-rc18 After update and save settings again,
   that block of rulesets removed from htaccess. Problem solved. All sites loaded
   properly. Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘302 Found error’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [HamidReza Abdipour](https://wordpress.org/support/users/abdipour/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/302-found-error/#post-14154242)
 * Status: resolved