Support » Plugin: WooCommerce » WooCommerce Blocks plugin results in Too Many Redirects error in the site

  • Resolved vidhya1113

    (@vidhya1113)


    I wanted to use WooCommerce Blocks in my site. I downloaded from here https://woocommerce.com/products/woocommerce-gutenberg-products-block/ and installed. However, as soon as the plugin is activated, the site always redirects to /checkout resulting in too many redirects error and I was not able to log on to the WordPress dashboard as well. I renamed the plugin now to make my site work.
    I am looking for a plugin to customize cart and checkout page in block editor and thought this might be the one. But looks like there is some issue with it. Can you please assist?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    Can you please try to deactivate all the plugins and keep only WooCommerce and WooCommerce Blocks activated and see if you can replicate the issue? You can also switch to a default theme, like Storefront to make sure this issue isn’t coming from the theme you are using.

    I just tried this plugin on my end, and I can see it’s working properly, so it seems like the issue is related to your specific installation.

    Please let me know how it goes!

    Best,

    Thread Starter vidhya1113

    (@vidhya1113)

    Hi,

    Thanks for your response. I tried the following, however the issue still persist

    1. I am presently using Edumall theme. I changed the theme to Astra, Hello Elementor, Storefront. In all the cases, as soon as I activate the WooCommerce Blocks plugin, it automatically goes to /checkout resulting in too many redirect errors.
    2. I deactivated all plugins except Elementor Pro, Tutor LMS and Woocommerce and tried with the combination of above themes. The same issue persists the moment I activate the Woocommerce blocks plugin.
    3. I also tried installing by searching for this plugin in WordPress dashboard instead of uploading it. Again the same issue upon activating the plugin.

    The version I downloaded is 8.3.1

    • This reply was modified 1 year, 3 months ago by vidhya1113.
    Plugin Support Kaushik S. a11n

    (@kaushiksomaiya)

    Hi there @vidhya1113

    Could you confirm if you tried the combination below?

    – Plugins active: WooCommerce & Blocks
    – Theme active: Storefront
    – Try to open the site in a private browsing window

    Let us know how this goes!

    Also, can you check if there are any redirects added to your .htaccess file? (https://www.google.com/search?q=htaccess+redirect)

    Thread Starter vidhya1113

    (@vidhya1113)

    Hello,

    Sorry for the delay in getting back.

    I tried with only keeping Storefront, woocommerce and blocks, but the issue persists

    This is what I have in .htaccess

    # HTTPS forced by SG-Optimizer
    <IfModule mod_rewrite.c>
        RewriteEngine On
        
        RewriteCond %{HTTP:X-Forwarded-Proto} !https
        RewriteCond %{HTTPS} off
        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS
    # 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
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    • This reply was modified 1 year, 3 months ago by vidhya1113.
    Plugin Support xue28 (woo-hc)

    (@xue28)

    Hi @vidhya1113

    Thanks for sharing the .htaccess file.

    I found a similar thread related to what’s happening on your site here.

    Can you please mark everything as a comment by adding # at the beginning of each code and see if that works? Here’s an example:

    # HTTPS forced by SG-Optimizer
    # <IfModule mod_rewrite.c>
    #     RewriteEngine On
        
    #     RewriteCond %{HTTP:X-Forwarded-Proto} !https
    #     RewriteCond %{HTTPS} off
    #     RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    # </IfModule>
    # END HTTPS

    If you need help editing the .htaccess file, please check this guide.

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Blocks plugin results in Too Many Redirects error in the site’ is closed to new replies.