• Resolved pzsniper

    (@pzsniper)


    Hi, here the weird situation…

    I have enabled log following your instructions..here the log Pastebin.com – Locked Paste
    (Pass: W8jizutVA7)

    edit file wp-content/plugins/litespeed-cache/src/crawler.cls.php , around line 1032, you will see if ($code == 201) { insert this line before it

    error_log(print_r($header, true) ,3 ,  '/public_html/lscwp.log');

    While manual crawling it showed this: https://prnt.sc/HU2mKGf8Pbvw

    then for GUEST MOBILE all went to blocklist again https://prnt.sc/0wzn2–sSkuj

    Spent whole weekedn trying to figure out, left 2 days to crawl by cronjobs but nothing changed….

    Please advise

    • This topic was modified 11 months, 1 week ago by pzsniper.
    • This topic was modified 11 months, 1 week ago by pzsniper.
    • This topic was modified 11 months, 1 week ago by pzsniper.
    • This topic was modified 11 months, 1 week ago by pzsniper.
Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Support litetim

    (@litetim)

    @pzsniper please attach a report ID
    Report can be created from LSC => Toolbox => Report => click on “Send to Litespeed” and copy/paste the ID created
    Most of the cases we had about crawler blocklist was from code or plugin that flags the pages not cacheable.

    Thank you for report and we will help debugging from here

    Thread Starter pzsniper

    (@pzsniper)

    Last Report Number: YFPHNFCB

    Last Report Date: 07/03/2025 16:02:00

    Plugin Support qtwrk

    (@qtwrk)

    x-litespeed-cache-control: no-cache

    the log shows all returning this no-cache

    please go to toolbox -> debug setting -> set debug log to ON , debug level to advance

    debug include URI add first 3 URLs on your sitemap list

    add

    Media
    Util
    CSS
    Optm
    LQIP
    Missing
    missing
    Avatar

    to debug exclude string

    then go to toolbox -> log view -> clean all existing log

    now purge all , clean blocklist , and run crawler again , after it finished , assuming all mobile are blocklisted again

    then go to log view , share the log that generated by crawler

    Thread Starter pzsniper

    (@pzsniper)

    Hi,

    I’m not sure have understood well your rpocedure but here’s the settings: https://prnt.sc/zpNb7cRbsrNV
    Here’s the status https://prnt.sc/H79Bbjz6Rjf4 and https://prnt.sc/9v4q4Qn52rWc
    And here the log: https://pastebin.com/GdN337Kt
    (password: GzeWgN4WKL )

    • This reply was modified 11 months, 1 week ago by pzsniper.
    Plugin Support qtwrk

    (@qtwrk)

    it should be like this

    Thread Starter pzsniper

    (@pzsniper)

    Sorry, my bad…

    Here again the log: Debug – Pastebin.com
    (password: 874g0pWjJn )

    and statuses https://prnt.sc/NBMSBE5fUSJQ

    Site is well optmized with Rank Math SEO PRO 3.0.91

    • This reply was modified 11 months, 1 week ago by pzsniper.
    • This reply was modified 11 months, 1 week ago by pzsniper.
    Plugin Support qtwrk

    (@qtwrk)

    the link seems not working, please verify

    Thread Starter pzsniper

    (@pzsniper)

    Sorry i set it private instead of unlisted, my bad. Try again

    Plugin Support qtwrk

    (@qtwrk)

    please try this:

    edit your .htaccess

    move the content between BEGIN LSCACHE and END NON_LSCACHE to the top of htaccess , make it first block in your htaccess

    then purge all and try again

    Thread Starter pzsniper

    (@pzsniper)

    Last Report Number: NTVQDFNU

    And Log: fixed – Pastebin.com

    Well.. YOU ARE A KING! It worked! Can you please explian me what’s happened exactly? If you dont mind and have time ofc.

    Quick question look at the results https://prnt.sc/EGg1l8jGd_HZ, but where can i change the scan frequency to set it longer than 10 mins?

    Plugin Support qtwrk

    (@qtwrk)

    on your previous log , it has a line X Cache_control -> no Cache ( is mobile ) , and then you have set option cache mobile enabled

    and from htaccess , there is rule RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+ismobile]

    which detects and applies mobile vary , and here kicks in the tricky part

    your old htaccess , has a line RewriteRule ^index\.php$ - [L] at beginning , like first block of rewrite rule , where the L stands for Last , by that saying , when rewrite engine encounters this L flag , it will be marked as last rewrite rule , and any further rules after this line will NOT be processed anymore , so the rule that applies mobile vary , did not get applied

    in result , the plugin thinks this is a mobile page, but server doesn’t , which makes plugin goes haywire , and as fail-safe fallback , it rather marks page no-cache ,instead of caching it incorrectly

    in short term , the position and order of rewrite rule , also matters.

    for your last question , add

    define('LITESPEED_CRAWLER_RUN_INTERVAL', 300);

    into your wp-config.php , next line after <?php , where 300 is the interval time

    Thread Starter pzsniper

    (@pzsniper)

    Woah! So useful, thank you for teaching me how deal with this issues next time. So i dont bother you, Have a gret evening

    Thread Starter pzsniper

    (@pzsniper)

    Hi again @qtwrk

    Hi

    Sorry, but unfortunately I’m back in the situation where not only is the crawler not working for mobile, but it’s not even working for normal pages!

    The only change I’ve made since last week is installing the Really Simple Security plugin.

    I’ll send you the report, the HTACCES file.

    I tried disabling ALL plugins using Health Plugin, but still, THE CRAWLER IS NOT WORKING.

    The other issue is that IT NO LONGER GENERATES THE CRAWLER LOG EVEN THOUGH IT’S ENABLED…

    Please help me understand what’s going on…

    Log: log 19-7 – Pastebin.com

    Crawler window https://prnt.sc/4biz3gSsm45T and https://prnt.sc/v3KcM-xps0kR

    Last Report Number: XOQPYYBA

    Last Report Date: 07/19/2025 00:11:40

    • This reply was modified 10 months, 3 weeks ago by pzsniper.
    • This reply was modified 10 months, 3 weeks ago by pzsniper.
    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic , we will check further.

    Thread Starter pzsniper

    (@pzsniper)

    Wait i have some news, i have spent 1hr testing things..

    Look at this screen please https://prnt.sc/cxkWAn6wFv6y

    TEST 1: first arrow with 33 KO blocked it’s with this HTACCESS problem – Pastebin.com

    TEST 2: second arrow with 33 OK blue it’s with this HTACCESS good – Pastebin.com

    And the differences are the REALLY SIMPLE SECURITY lines on HTACCESS so it’s something incompatible between this 2 plaugins.

    ALSO LSCWP debug LOG doesnt work when RSS it’s enabled.

    heres the plugin system status really-simple-ssl-system-status.txt – Pastebin.com

    Are u sure you want me to write email?

    Last Report Number: SQBSTKXA

    Last Report Date: 07/19/2025 01:28:00

    • This reply was modified 10 months, 3 weeks ago by pzsniper.
    • This reply was modified 10 months, 3 weeks ago by pzsniper.
    • This reply was modified 10 months, 3 weeks ago by pzsniper.
Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘LiteSpeed Crawler Adding All MOBILE Posts to Blocklist’ is closed to new replies.