• Resolved AZAD

    (@theworkshop)


    Hi ,

    After updating LSC to 3.2.3.2 , my site encountered with many problems , For example 404 Error ( server ) in all pages . My support host helped me to solve this issue and we replaced old htaccess with new one and then I activated plugin again .
    Now I have another problem with this update , When I click on the site address “?doing_wp_cron=” appear on the site address Like :
    https://theworkshop.ir/?doing_wp_cron=1592721717.9252939224243164062500
    When deactive the plugin this problem start to solve in all pages one by one , but I want use LSC in my site with out deativating LSC pluggin or cron jobs .
    Can you help me ?

    Best regards ,
    AZAD

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    https://theworkshop.ir/wp-cron.php?doing_wp_cron=1592721717.9252939224243164062500

    it works with wp-cron.php URL

    to me it looks like rewrite rule issue.

    Please check on that

    Best regards,

    Thread Starter AZAD

    (@theworkshop)

    Dear qtwrk ,

    Thanks for response ,

    But I need more detailed help to solve this issue . Can you help me how should rewrite rule issue ?

    Best regards ,
    AZAD

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please post your .htaccess content

    Best regards,

    Thread Starter AZAD

    (@theworkshop)

    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* – [E=Cache-Control:no-autoflush]

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    ### marker DROPQS start ###
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga
    ### marker DROPQS end ###

    </IfModule>
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE
    # BEGIN NON_LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END NON_LSCACHE

    Options -Indexes

    # BEGIN rlrssslReallySimpleSSL rsssl_version[3.3.3]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL
    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    # Wordfence WAF
    <IfModule LiteSpeed>
    php_value auto_prepend_file ‘/home/theworkshop/public_html/wordfence-waf.php’
    </IfModule>
    <IfModule lsapi_module>
    php_value auto_prepend_file ‘/home/theworkshop/public_html/wordfence-waf.php’
    </IfModule>
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    No, sorry , my mistake , overlooked your post.

    have you checked this ?

    https://wordpress.stackexchange.com/questions/12777/why-is-doing-wp-cron-being-appended-to-my-urls

    Best regards,

    Thread Starter AZAD

    (@theworkshop)

    Dear qtwrk ,

    Thanks for response ,

    Yes I checked it before , in this article there are solutions for removing cron jobs but I don ‘ t want remove them , at all .
    I want to keep them with out any changes in my URLs .
    I had no problem before updating LSC in this case , and after it I encountered with many problems .

    Best regards ,
    AZAD

    • This reply was modified 4 years, 5 months ago by AZAD.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    No , I mean that ?cron URL is due to that define , you can remove it and use alternative way for triggering cron job , like a real system cron.

    Best regards,

    Thread Starter AZAD

    (@theworkshop)

    Dear qtwrk ,

    Thanks for response ,

    Well , how ? Can you help me to do that ?
    If is possible please introduce me an article to use alternative way for triggering cron job with out any changes in my URLs .

    Best regards ,
    AZAD

    Plugin Support qtwrk

    (@qtwrk)

    Thread Starter AZAD

    (@theworkshop)

    Dear qtwrk ( @qtwrk )

    Thanks for response ,

    I defined ALTERNATE_WP_CRON as false in wp-config.php , and the issue solved .

    Best regards ,
    AZAD

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘cron jobs problem’ is closed to new replies.