Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    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

    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 4 years, 7 months ago by totalflyaero.
    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.. 🙁

    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 4 years, 7 months ago by totalflyaero.
    Thread Starter totalflyaero

    (@totalflyaero)

    HI, i just see this message:

    In order to access this section of your account please verify your email address.
    If you have already confirmed your email address, please log out of WooCommerce.com and then login again. If you still need to confirm your email, we sent you an email to verify your email address when you signed up. You can try searching for an email from WordPress.com to find it.

    Note: Don’t forget to check your spam folder!

    but i activate the email i received and i logged in in woocommerce and also in wordpress.. i don’t know how to proceed now…

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