• Resolved totalflyaero

    (@totalflyaero)


    hi, i have a huge problem that is broken my mind..
    after update all my wordpress website plugins and theme, Litespeed Cache start to get 404 errors..
    so i decided to clear the cache, uninstall the plugin, remove the quick.cloud CDN, remove the dns zone, clear my cpanel cache and remove the domain from litespeed
    but after 2 weeks, when i enter in the site i still get 404 error generated by Litespeed Web Server.

    Also the error is generated for few minutes.. after few minutes even without doing anything i can refresh the page an it’s working.. but if i refresh after other minutes i still get again the error 404

    Please could you help me to solve this issue? even when i edit the pages in wordpress i get this error and it’s making me crazi.

    Please HELP!

    Thanks a lot

    • This topic was modified 2 years, 11 months ago by totalflyaero.

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

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

    (@qtwrk)

    Hi,

    what request you are getting 404 ?

    best regards,

    Thread Starter totalflyaero

    (@totalflyaero)

    Hi, i get 404 error in almost 153 pages of the site.. if you try to scan the site https://www.totalfly.aero you will see that many pages are not working

    what can i do please?

    thanks a lot

    • This reply was modified 2 years, 11 months ago by totalflyaero.
    Plugin Support qtwrk

    (@qtwrk)

    have you tried flush the permalink ?

    Thread Starter totalflyaero

    (@totalflyaero)

    yes, i flush the permalink, i flush all possible cache..

    for this i said that it’s make me crazy because i don’t know anymore where to find the issue.. ??

    Plugin Support qtwrk

    (@qtwrk)

    if LiteSpeed Cache plugin is not installed/enabled , then it’s not from there

    does same page happens 404 all the time ?

    or it just randomly shows that , like right this page is fine , then later it gives 404 , then later it backs to normal ?

    any more specific pattern ?

    and may I know what is your server enviroment ? is it shared hosting ? your own server ?

    Thread Starter totalflyaero

    (@totalflyaero)

    exactly as you said, the error 404 is random, for example i enter the page and is working, if i access the page after 10 minutes and it get 404 error, than i access the page after 2 minutes and is working again..

    i’m in a shared hosting i have access just to cpanel where i flush the cache also and i removed the domain from litespeed app

    actually i would like to use litespeed to improve my website performances, but it should work fine without errors and i don’t know how to solve this

    • This reply was modified 2 years, 11 months ago by totalflyaero.
    Plugin Support qtwrk

    (@qtwrk)

    since the cache plugin is already uninstalled, I don’t think there is anything I can help from here

    have you checked with your hosting provider ?

    they should help you on this , if they can not figure it out , please kindly ask them , to contact LiteSpeed webserver support , since this is more likely server-side issue, instead of plugin issue

    Thread Starter totalflyaero

    (@totalflyaero)

    i will contact them and we will check..

    the only problem is that this error start after the plugins and theme update..

    i will check with the provider and i will back if they will not solve the issue

    thanks a lot

    @totalflyaero

    Sorry if its not of my business, but I have a bit similar issue before, and after an exhausting week of searches and trouble shooting, it turned out to be the .htaccess.
    Take a look there, but first take a copy of the original.

    Goodluck my friend.

    Thread Starter totalflyaero

    (@totalflyaero)

    @najm,
    thank you very much.. i found this function in the WMPL support and looks like it solve the problem:

    add_filter('mod_rewrite_rules', 'fix_rewritebase');
    function fix_rewritebase($rules){
        $home_root = parse_url(home_url());
        if ( isset( $home_root['path'] ) ) {
            $home_root = trailingslashit($home_root['path']);
        } else {
            $home_root = '/';
        }
     
        $wpml_root = parse_url(get_option('home'));
        if ( isset( $wpml_root['path'] ) ) {
            $wpml_root = trailingslashit($wpml_root['path']);
        } else {
            $wpml_root = '/';
        }
     
        $rules = str_replace("RewriteBase $home_root", "RewriteBase $wpml_root", $rules);
        $rules = str_replace("RewriteRule . $home_root", "RewriteRule . $wpml_root", $rules);
     
        return $rules;
    }

    Let’s hope will be the right solution

    thanks a lot

    I sincerely hope it does.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Urgent Help Needed’ is closed to new replies.