Support » Theme: Storefront » Latest storefront updates create 301 errors (?add-to-cart=xxx for every product

  • Resolved Shop-tester

    (@evolinestore)


    Hello,

    Since the last 2 updates, the storefront theme creates 301 redirects for every product in our store. This is done via the query string https://evolinestore.com/store/?add-to-cart=XXX. Somehow this is activated by default now.

    This is of course very bad for our SEO and totally unwanted behavior. We have switched back to version 2.3.4 which still works fine.
    We hoped the latest update 2.4.2 would resolve the issue, but it does not.

    Is there somewhere we can switch off the unwanted behavior?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi there,

    Thanks for reaching out.

    Would you mind copying and pasting your System Status Report into this thread so that we can check for any red flags there? You can find this by going to WooCommerce > Status > System Status > Get System Report in your WP-Admin dashboard.

    Also, does this behavior occur with just Storefront theme and WooCommerce active?

    Thanks!

    Below you find the requested status report:

    ————–

    
    ### WordPress Environment ###
    
    Home URL: https://evolinestore.com/store
    Site URL: https://evolinestore.com/store
    WC Version: 3.5.4
    Log Directory Writable: ✔
    WP Version: 5.0.3
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.2.14
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.62.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.42-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.5.4
    WC Database Prefix: wo_
    Total Database Size: 53.49MB
    Database Data Size: 40.48MB
    Database Index Size: 13.01MB
    wo_woocommerce_sessions: Data: 11.57MB + Index: 0.24MB
    wo_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB
    wo_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_order_items: Data: 0.47MB + Index: 0.22MB
    wo_woocommerce_order_itemmeta: Data: 1.85MB + Index: 1.36MB
    wo_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB
    wo_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB
    wo_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wo_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB
    wo_aelia_exchange_rates_history: Data: 0.02MB + Index: 0.00MB
    wo_aws_cache: Data: 0.09MB + Index: 0.00MB
    wo_aws_index: Data: 0.65MB + Index: 0.00MB
    wo_commentmeta: Data: 0.07MB + Index: 0.05MB
    wo_comments: Data: 0.67MB + Index: 0.38MB
    wo_duplicator_packages: Data: 0.00MB + Index: 0.00MB
    wo_links: Data: 0.00MB + Index: 0.00MB
    wo_litespeed_img_optm: Data: 0.00MB + Index: 0.00MB
    wo_litespeed_optimizer: Data: 0.17MB + Index: 0.01MB
    wo_options: Data: 1.77MB + Index: 0.20MB
    wo_postmeta: Data: 12.58MB + Index: 3.66MB
    wo_posts: Data: 2.39MB + Index: 0.39MB
    wo_redirection_404: Data: 0.39MB + Index: 0.13MB
    wo_redirection_groups: Data: 0.00MB + Index: 0.00MB
    wo_redirection_items: Data: 0.01MB + Index: 0.01MB
    wo_redirection_logs: Data: 0.06MB + Index: 0.03MB
    wo_smush_dir_images: Data: 0.00MB + Index: 0.00MB
    wo_termmeta: Data: 0.01MB + Index: 0.02MB
    wo_terms: Data: 0.02MB + Index: 0.04MB
    wo_term_relationships: Data: 0.08MB + Index: 0.15MB
    wo_term_taxonomy: Data: 0.06MB + Index: 0.03MB
    wo_usermeta: Data: 4.73MB + Index: 3.12MB
    wo_users: Data: 0.32MB + Index: 0.27MB
    wo_wcpdf_invoice_number: Data: 0.01MB + Index: 0.01MB
    wo_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wo_wc_gpf_render_cache: Data: 0.00MB + Index: 0.00MB
    wo_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_extra_cost: Data: 0.00MB + Index: 0.00MB
    wo_woocommerce_gpf_google_taxonomy: Data: 0.98MB + Index: 0.00MB
    wo_woocommerce_shipping_table_rates: Data: 0.00MB + Index: 0.00MB
    wo_wplnst_scans: Data: 0.00MB + Index: 0.02MB
    wo_wplnst_scans_objects: Data: 0.00MB + Index: 0.00MB
    wo_wplnst_urls: Data: 0.00MB + Index: 0.03MB
    wo_wplnst_urls_locations: Data: 0.00MB + Index: 0.03MB
    wo_wplnst_urls_locations_att: Data: 0.00MB + Index: 0.00MB
    wo_wplnst_urls_status: Data: 0.00MB + Index: 0.02MB
    wo_wps_hit: Data: 0.31MB + Index: 0.88MB
    wo_wps_index: Data: 0.88MB + Index: 1.44MB
    wo_wps_key: Data: 0.04MB + Index: 0.07MB
    wo_wps_object_type: Data: 0.00MB + Index: 0.01MB
    wo_wps_query: Data: 0.05MB + Index: 0.07MB
    wo_wps_uri: Data: 0.16MB + Index: 0.06MB
    wo_wps_user_agent: Data: 0.03MB + Index: 0.01MB
    wo_yoast_seo_links: Data: 0.00MB + Index: 0.00MB
    wo_yoast_seo_meta: Data: 0.02MB + Index: 0.02MB
    
    ### Post Type Counts ###
    
    acf: 1
    attachment: 900
    condition_group: 1
    custom_css: 1
    customize_changeset: 5
    nav_menu_item: 48
    oembed_cache: 43
    page: 5
    post: 2
    product: 226
    revision: 141
    scheduled-action: 516
    shop_order: 2167
    shop_order_refund: 1
    sidebar: 1
    wc_conditional_fee: 10
    wc_custom_statuses: 8
    wc_order_status: 13
    yith-wcbm-badge: 7
    yith-wcet-etemplate: 1
    yith-wcgpf-feed: 11
    yith-wcgpf-template: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (40) ###
    
    ManageWP - Worker: by ManageWP – 4.6.3
    Akismet Anti-Spam: by Automattic – 4.1
    All in one Favicon: by Arne Franken – 4.7
    HTML in Category Descriptions: by Arno Esterhuizen – 1.2.1.1
    Autoptimize: by Frank Goossens (futtta) – 2.4.4
    Payment Gateway Based Fees and Discounts for WooCommerce: by Algoritmika Ltd – 2.5.6 – Not tested with the active version of WooCommerce
    Admin Columns: by AdminColumns.com – 3.3.1
    Custom Order Numbers for WooCommerce: by Tyche Softwares – 1.2.5 – Not tested with the active version of WooCommerce
    Excel-Like Product Manager for WooCommerce and WP E-commerce: by Holest Engineering – 2.1.35 – Not tested with the active version of WooCommerce
    Hide Manager: by Theme Buffer – 1.0.0
    Homepage Control: by WooThemes – 2.0.3
    Minimum Order Amount for Woocommerce: by Dario Curasì – 1.5.0 – Not tested with the active version of WooCommerce
    Product Visibility by User Role for WooCommerce: by Algoritmika Ltd – 1.2.4 – Not tested with the active version of WooCommerce
    Redirection: by John Godley – 3.7.2
    Remove Yoast SEO Comments: by Mitch – 3.1
    Shortcodes Ultimate: by Vladimir Anokhin – 5.2.0
    Woocommerce Sisow Payment Methods: by Sisow – 5.2.3 – Not tested with the active version of WooCommerce
    SiteOrigin CSS: by SiteOrigin – 1.1.2
    Storefront Powerpack: by WooCommerce – 1.4.7 – 1.4.13 is available
    UberMenu - Icons Extension: by Chris Mavricos
    SevenSpark – 3.4
    
    UberMenu 3 - The Ultimate WordPress Mega Menu: by Chris Mavricos
    SevenSpark – 3.4.0.1
    
    WooCommerce Edit Order Numbers: by UltimateWoo – 1.1.1 – Not tested with the active version of WooCommerce
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.4
    
    Aelia Foundation Classes for WooCommerce: by Aelia – 2.0.1.180821 – Not tested with the active version of WooCommerce
    Woo Conditional Product Fees for Checkout: by Multidots – 2.3 – Not tested with the active version of WooCommerce
    Woo Custom Emails: by wp3sixty – 2.2 – Not tested with the active version of WooCommerce
    WooCommerce Locations Pack: by dangoodman – 1.4.2 – Not tested with the active version of WooCommerce
    WooCommerce Customizer: by SkyVerge – 2.6.0 – Not tested with the active version of WooCommerce
    WooCommerce EU VAT Assistant: by Aelia – 1.9.5.190117 – Not tested with the active version of WooCommerce
    WooCommerce HTML5 Video: by Webilop – 1.7.8 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.2.5 – Not tested with the active version of WooCommerce
    WooCommerce Product Search: by itthinx – 2.12.0 – 2.12.1 is available – Not tested with the active version of WooCommerce
    WooCommerce Order Status & Actions Manager: by Actuality Extensions – 2.3.7 – Not tested with the active version of WooCommerce
    WooCommerce Table Rate Shipping: by WooCommerce – 3.0.9 – 3.0.13 is available – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.5.4
    Yoast SEO: by Team Yoast – 9.5
    WP Fastest Cache: by Emre Vona – 0.8.8.9
    WPFront Scroll Top: by Syam Mohan – 2.0.1
    Yoast SEO: WooCommerce: by Team Yoast – 9.1 – Not tested with the active version of WooCommerce
    YITH WooCommerce Badge Management Premium: by YITH – 1.3.18 – Not tested with the active version of WooCommerce
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    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)
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: #3039 - /cart/
    Checkout: #3040 - /checkout/
    My account: #3041 - /my-account/
    Terms and conditions: #3280 - /terms-conditions/
    
    ### Theme ###
    
    Name: Outlet
    Version: 2.0.14
    Author URL: https://woocommerce.com
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.3.4 – 2.4.2 is available
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    

    ———————-

    We have tested with the full operational situation, not only woo+storefront.

    We use https://www.seobility.net for optimizing and checking our website. We also have a test site with the issue situation active in case you need to test.

    It occurs when only updating frontstore. The issue goes away when going back to the previous version as described before.

    Job

    (@jobthomas)

    Automattic Happiness Engineer

    Hey @evolinestore I’ve had another look at your store, but it seems like this is no longer running Storefront. If it is, this is running with a lot of custom code that’s not supported by Storefront.

    I’ve also tested the URL with adding this product: https://evolinestore.com/store/?add-to-cart=776 – this is working without problem, so I’ll mark this as resolved. Have a great rest of your day!

    Shop-tester

    (@evolinestore)

    Hello,

    Did you even read the issue text?

    At the moment we have reinstalled the PREVIOUS version of storefront, because of the issues. Looking at our store will therefore NOT show the issue.

    If you are serious about working on this issue, we are willing to provide access to our test-store where we can set up the current storefront version showing the issues.

    Job

    (@jobthomas)

    Automattic Happiness Engineer

    Hey @evolinestore – yes, I’m definitely trying to help.

    You indicate that you’re using the previous version of Storefront, but as I indicated above, either you’re running Storefront with a lot of custom code behind the scenes or you’re using a different theme, because your current site doesn’t look like Storefront at all.

    My first suggestion would be to try to just run Storefront without the customisations and update it to the latest version to see if it causes an issue.

    I have also tested this with the latest version of Storefront and the ?add-to-cart URL works fine here:


    Link to image: https://cld.wthms.co/s8v5DF

    Again, it looks like this is related to the customisations you’ve made, so on your test site, trying with just Storefront and WooCommerce would be the first step.

    Regarding the login details: please do not share login details on this public forum. Thanks!

    Shop-tester

    (@evolinestore)

    Hello Job,

    We ARE running storefront with a childtheme outlet. Very little customizations; it all works fine in version 2.3.4 which we are back to using now.

    Of course the ?add-to-cart works, I never stated that is doesn’t. The issue is the 301 errors that occur once the theme is updated to the latest version. Maybe you are not aware, but 301 errors are killing for SEO. Google sees them although the site appears to work normally.

    So if you want to do serious checking you need to use a specific tool like suggested before. We are not willing to risk our life site for these tests, but as suggested before we have a test site that would work fine for this work.

    Job

    (@jobthomas)

    Automattic Happiness Engineer

    Thanks for that clarification. Two remarks:

    First of all, this looks like quite a bit of custom aspects:


    Link to image: https://cld.wthms.co/noH7yW

    Second, Outlet is a premium theme. Could you please contact us at WooCommerce.com > My Account > Tickets? You may need to create an account. We will be able to help you further there.

    I’ll mark this thread as resolved given that it’s related to a child theme and not Storefront core. We’ll follow up with you in our tickets.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.