• Resolved devmfm

    (@devmfm)


    Hello,

    We have a lot of problem with our websites using woocommerce, almost everytime we are making updates of woocommerce, we have to “re save” the permalinks because the website is in “internal server error”

    AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error

    And after that everything works like a charm again.

    We are an agency and we are facing this since a looooooong time (5+ years) and multiple servers (allways with apache). We never took time to wrote you about this. We searched the web about this without success, we tried some function to reload permalinks with php after update liek this

    function renewPermalinksOnPluginsUpdate($upgrader_object, $hook_extra, $result) {
    	flush_rewrite_rules(false);
    }
    add_filter('upgrader_post_install', 'renewPermalinksOnPluginsUpdate', 10, 3);

    or like this

    function update_permalinks_on_plugin_update($upgrader_object, $options) {
    	if($options['action'] == 'update' && $options['type'] == 'plugin') {
    		$permalink_structure = get_option('permalink_structure');
    		update_option('permalink_structure', $permalink_structure);
    		flush_rewrite_rules();
    	}
    }
    add_action('upgrader_process_complete', 'update_permalinks_on_plugin_update', 10, 2);

    but it doesn’t work.

    Do you have an idea for us ?

    Thanks

    • This topic was modified 1 year, 11 months ago by devmfm.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @devmfm

    Thanks for reaching out!

    AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error

    I did some research and found this article about How to Fix the Too Many Redirects Error Message could be a good starting point.

    Hope this helps!

    Thread Starter devmfm

    (@devmfm)

    Hello,
    Tried this this morning, this is not helping.

    Hello,

    In order to help you to investigate further, please share a screenshot f your permalinks settings, For screenshots you may want to use https://snipboard.io.

    And please share a copy of your site’s System Status Report: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.

    Thanks.

    Thread Starter devmfm

    (@devmfm)

    Hello,

    here is the report :

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://serra.mfmdigital.ovh
    Site address (URL): https://serra.mfmdigital.ovh
    WC Version: 7.2.2
    REST API Version: ?</img> 7.2.2
    WC Blocks Version: ?</img> 8.9.2
    Action Scheduler Version: ?</img> 3.4.0
    Log Directory Writable: ?</img>
    WP Version: ?</img> 5.8.6 - There is a newer version of WordPress available (6.1.1)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 20 MB
    PHP Time Limit: 400
    PHP Max Input Vars: 10000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.31-0ubuntu0.20.04.2
    Max Upload Size: 20 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    ### Database ###
    
    WC Database Version: 6.0.1
    WC Database Prefix: wp_
    Total Database Size: 52.42MB
    Database Data Size: 43.10MB
    Database Index Size: 9.32MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cli_visitor_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
    wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_mo_files_domains: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_packages: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_string_positions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_translations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_strings: Data: 0.22MB + Index: 0.16MB + Engine InnoDB
    wp_icl_translate: Data: 8.52MB + Index: 1.52MB + Engine InnoDB
    wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_status: Data: 9.52MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translations: Data: 0.16MB + Index: 0.44MB + Engine InnoDB
    wp_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 5.30MB + Index: 0.16MB + Engine InnoDB
    wp_postmeta: Data: 15.52MB + Index: 4.03MB + Engine InnoDB
    wp_posts: Data: 1.52MB + Index: 0.56MB + Engine InnoDB
    wp_pum_subscribers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_term_relationships: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    ajde_events: 46
    attachment: 850
    cookielawinfo: 21
    custom_css: 1
    elementor_library: 1
    erm_menu: 4
    erm_menu_item: 186
    evo-tix: 29
    fat-calendar: 5
    fat-event: 18
    fat-event-booking: 2
    layout: 2
    nav_menu_item: 136
    page: 122
    popup: 11
    popup_theme: 8
    post: 1
    product: 22
    product_variation: 8
    revision: 817
    shop_order: 19
    shop_order_refund: 2
    slide: 26
    template: 11
    ticket-meta-fieldset: 1
    tribe_events: 212
    tribe_rsvp_tickets: 2
    tribe_venue: 2
    wpcf7_contact_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    ### Active Plugins (26) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 4.5.14
    BeCustom: by Muffin Group – 1.0.4
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.5.3
    Disable Real MIME Check: by Sergey Biryukov – 1.0
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.3
    EventON: by AshanJay – 4.0.2
    EventON - Bookings: by Ashan Jay – 1.3.1
    EventON - Full cal: by Ashan Jay – 1.1.13
    EventON - Event Tickets: by Ashan Jay – 1.9.4
    Force Regenerate Thumbnails: by Exactly WWW – 2.1.1
    Google XML Sitemaps: by Auctollo – 4.1.7
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.7
    Loco Translate: by Tim Whitlock – 2.6.3
    Mollie Payments for WooCommerce: by Mollie – 7.3.4
    Popup Maker: by Popup Maker – 1.17.1
    Quick Restaurant Menu PRO: by Alejandro Pascual – 1.35
    Slider Revolution: by ThemePunch – 6.5.11
    Shipper Pro: by WPMU DEV – 1.2.13
    Simple Page Ordering: by Jake Goldman
    10up – 2.4.3
    
    GDPR Cookie Consent: by WebToffee – 2.2.8
    WooCommerce: by Automattic – 7.2.2
    WordPress Sentry: by Alex Bouma – 6.5.0
    Smush Pro: by WPMU DEV – 3.12.3
    WPML String Translation: by OnTheGoSystems – 3.1.10
    WPMU DEV Dashboard: by WPMU DEV – 4.11.17
    
    ### Inactive Plugins (5) ###
    
    Advanced Custom Fields PRO: by Delicious Brains – 5.11.4
    Disable Comments: by WPDeveloper – 2.4.2
    Query Monitor: by John Blackbourn – 3.10.1
    WPML Media: by OnTheGoSystems – 2.7.1
    WPML Translation Management: by OnTheGoSystems – 2.10.8
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    ### WC Pages ###
    
    Shop base: #3174 - shop/
    Cart: #3175 - cart/
    Checkout: #3176 - checkout/
    My account: #3177 - my-account/
    Terms and conditions: ?</img> Page not set
    
    ### Theme ###
    
    Name: Betheme Child
    Version: 1.6.1
    Author URL: https://muffingroup.com
    Child Theme: ?</img>
    Parent Theme Name: Betheme
    Parent Theme Version: 25.1.6.1
    Parent Theme Author URL: https://muffingroup.com/
    WooCommerce Support: ?</img>
    
    ### Templates ###
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: betheme/woocommerce/archive-product.php
    betheme/woocommerce/cart/cart-totals.php
    betheme/woocommerce/cart/cart.php version 4.4.0 is out of date. The core version is 7.0.1
    betheme/woocommerce/cart/cross-sells.php
    betheme/woocommerce/cart/mini-cart.php
    betheme-child/woocommerce/checkout/form-checkout.php
    betheme-child/woocommerce/checkout/review-order.php
    betheme/woocommerce/content-product.php
    betheme/woocommerce/content-single-product.php
    betheme/woocommerce/loop/loop-end.php
    betheme/woocommerce/loop/loop-start.php
    betheme/woocommerce/loop/no-products-found.php
    betheme/woocommerce/loop/pagination.php
    betheme/woocommerce/myaccount/downloads.php
    betheme/woocommerce/notices/error.php
    betheme/woocommerce/notices/success.php
    betheme/woocommerce/single-product/add-to-cart/external.php version 3.4.0 is out of date. The core version is 7.0.1
    betheme/woocommerce/single-product/meta.php
    betheme/woocommerce/single-product/product-image.php
    betheme/woocommerce/single-product/product-thumbnails.php
    betheme/woocommerce/single-product/related.php
    betheme/woocommerce/single-product/sale-flash.php
    betheme/woocommerce/single-product/tabs/description.php
    betheme/woocommerce/single-product/tabs/tabs.php
    betheme/woocommerce/single-product/title.php
    betheme/woocommerce/single-product/up-sells.php
    betheme/woocommerce/single-product-reviews.php
    
    Outdated Templates: ?</img>
    					
    					
    						Learn how to update
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ?</img> Next scheduled: 2022-12-28 10:22:09 +01:00
    Options: ?</img>
    Notes: 38
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 3
    Oldest: 2022-12-27 15:24:36 +0100
    Newest: 2022-12-27 15:24:42 +0100
    
    Pending: 1
    Oldest: 2022-12-28 15:24:36 +0100
    Newest: 2022-12-28 15:24:36 +0100
    
    
    ### Status report information ###
    
    Generated at: 2022-12-27 15:25:16 +01:00
    `

    And here is a video of the problem

    Here is the logs from error log with “LogLevel alert rewrite:trace3” in apache conf

    
    [Tue Dec 27 15:33:52.520545 2022] [rewrite:trace2] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] init rewrite engine with requested uri /en/index.php
    [Tue Dec 27 15:33:52.520563 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] applying pattern '^(?!/.well-known)(.*)' to uri '/en/index.php'
    [Tue Dec 27 15:33:52.520581 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] applying pattern '^(?!/.well-known)(.*)' to uri '/en/index.php'
    [Tue Dec 27 15:33:52.520599 2022] [rewrite:trace1] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] pass through /en/index.php
    [Tue Dec 27 15:33:52.520704 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] add path info postfix: /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en -> /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en/index.php
    [Tue Dec 27 15:33:52.520725 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] strip per-dir prefix: /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en/index.php -> en/index.php
    [Tue Dec 27 15:33:52.520752 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] applying pattern '.*' to uri 'en/index.php'
    [Tue Dec 27 15:33:52.520773 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] add path info postfix: /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en -> /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en/index.php
    [Tue Dec 27 15:33:52.520796 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] strip per-dir prefix: /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en/index.php -> en/index.php
    [Tue Dec 27 15:33:52.520812 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] applying pattern '^index\\.php$' to uri 'en/index.php'
    [Tue Dec 27 15:33:52.520830 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] add path info postfix: /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en -> /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en/index.php
    [Tue Dec 27 15:33:52.520846 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] strip per-dir prefix: /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/en/index.php -> en/index.php
    [Tue Dec 27 15:33:52.520862 2022] [rewrite:trace3] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] applying pattern '.' to uri 'en/index.php'
    [Tue Dec 27 15:33:52.520889 2022] [rewrite:trace2] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] rewrite 'en/index.php' -> '/en/index.php'
    [Tue Dec 27 15:33:52.520906 2022] [rewrite:trace2] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] trying to replace prefix /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/ with /en/
    [Tue Dec 27 15:33:52.520922 2022] [rewrite:trace2] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] trying to replace context docroot /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html with context prefix 
    [Tue Dec 27 15:33:52.520947 2022] [rewrite:trace1] [pid 1672885] mod_rewrite.c(486): [client xxx.xxx.xxx.xxx:62960] xxx.xxx.xxx.xxx - - [serra.mfmdigital.ovh/sid#7fa5b2962748][rid#7fa5ae6d19d8/initial/redir#10] [perdir /home/mfmdigital.ovh/domains/serra.mfmdigital.ovh/public_html/] internal redirect with /en/index.php [INTERNAL REDIRECT]

    Thanks

    • This reply was modified 1 year, 11 months ago by devmfm.
    Thread Starter devmfm

    (@devmfm)

    Looks like I found the solution ??

    https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/

    I can’t beleive this problem is known since 2017- and it’s not allready solved ??????

    They said that it’s not really good to leave the code like this, don’t you have another workaround ?

    Saif

    (@babylon1999)

    Hello @devmfm,

    I can’t beleive this problem is known since 2017- and it’s not allready solved ??</img>??</img>??</img> They said that it’s not really good to leave the code like this, don’t you have another workaround ?

    From what I understand, this doesn’t seem like a WooCommerce bug/problem so this is a bit outside our scope of support.

    I can see you’re running an outdated version of WordPress, have you tried updating?

    You can check this guide on how to update WordPress safely.

    Cheers!

    Thread Starter devmfm

    (@devmfm)

    Hello,
    I used this dev domain who wasn’t updated but it happens on every wordpress version since WAYYYYYYY too long, I understand it’s not “really” a woocommerce related problem, but since it’s happening 100% of time when updating Woocommerce when WPML is installed (1M+ sites), you should speak with them and found a solution.

    Thanks for your reply.

    I hope this thread will helps others who could’nt find that workaround page like me on WPML website.

    Howdy @devmfm

    From what I gather, while there is a workaround posted here, the issue derives from certain third-party plugins, other than WooCommerce and WPML, calling the flush_rewrite_rules(true) function too often.

    That suggests further caution in the plugin selection, as always.

    Feel free to share further insights, should you opt to investigate things further and find the actual plugin(s) that is the culprit behind this issue.

    Thank you. ??</img>

    • This reply was modified 1 year, 11 months ago by anastas10s. Reason: typo
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Permalinks broken after update’ is closed to new replies.