• Resolved sheryarshah

    (@sheryarshah)


    when i set permalink structure as below it’s leads me 404 error in product page

    Category page

    Product category base: shop

    Product page

    Custom base: shop/product

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Could you share the following?

    Screenshot of permalink settings: I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in this chat. It works with Chrome, Firefox, Safari, and Edge.

    System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thread Starter sheryarshah

    (@sheryarshah)

    Thread Starter sheryarshah

    (@sheryarshah)

    
    ### WordPress Environment ###
    
    WordPress address (URL): http://sheryars44.sg-host.com
    Site address (URL): http://sheryars44.sg-host.com
    WC Version: 5.4.1
    REST API Version: ✔ 5.4.1
    WC Blocks Version: ✔ 5.1.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.3.1
    Log Directory Writable: ✔
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.20
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-35-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.4.1
    WC Database Prefix: xsf_
    Total Database Size: 3.79MB
    Database Data Size: 2.38MB
    Database Index Size: 1.41MB
    xsf_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xsf_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xsf_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    xsf_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    xsf_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_options: Data: 1.50MB + Index: 0.06MB + Engine InnoDB
    xsf_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xsf_sgs_log_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_sgs_log_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xsf_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    xsf_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    xsf_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    xsf_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    xsf_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    xsf_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    xsf_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 1
    page: 6
    post: 2
    product: 2
    revision: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (3) ###
    
    SG Optimizer: by SiteGround – 5.8.1
    SG Security: by SiteGround – 1.0.3
    WooCommerce: by Automattic – 5.4.1
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    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)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Storefront
    Version: 3.7.0
    Author URL: https://woocommerce.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 2
    Oldest: 2021-07-04 21:58:46 +0000
    Newest: 2021-07-04 21:59:52 +0000
    
    Pending: 1
    Oldest: 2021-07-05 06:21:00 +0000
    Newest: 2021-07-05 06:21:00 +0000
    
    ### Status report information ###
    
    Generated at: 2021-07-05 06:21:01 +00:00
    

    Hi @sheryarshah

    Thank you for the screenshot. OK, since your custom base includes “shop,” you cannot use the same word for product category base – please use a unique word so it can distinguish categories from products.

    Thread Starter sheryarshah

    (@sheryarshah)

    thanks i got it. i’ve rather changed my mind switched to shop/c (category) shop/p (product) it works for this one.

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

The topic ‘WooCommerce Permalink 404 error’ is closed to new replies.