• Resolved yjonathan786

    (@yjonathan786)


    My website has the post name permalink, but for some reason, when customers try to check their past orders, the ‘view order’ button redirects to something thats ends like: /view-order/3275/?page_id=10 (the account page has the id 10), instead of /my-account/view-order/3275/ (which is a link that works correctly). Why is this happening, and how can I change it to link to the correct url?

    Here is my status report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.newimperialpalmer.com
    Site address (URL): https://www.newimperialpalmer.com
    WC Version: 5.5.2
    REST API Version: ? 5.5.2
    WC Blocks Version: ? 5.3.3
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.4.4
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 384 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 256 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.78.0
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.35
    Max Upload Size: 500 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.5.2
    WC Database Prefix: wp_
    Total Database Size: 305.32MB
    Database Data Size: 268.71MB
    Database Index Size: 36.61MB
    wp_woocommerce_sessions: Data: 4.47MB + Index: 0.21MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.67MB + Index: 0.38MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 6.29MB + Index: 4.89MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 1.32MB + Index: 0.65MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 0.91MB + Index: 0.68MB + Engine MyISAM
    wp_check_email_log: Data: 2.33MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_comments: Data: 2.00MB + Index: 0.75MB + Engine MyISAM
    wp_e_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_e_submissions_actions_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_e_submissions_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 227.92MB + Index: 21.01MB + Engine MyISAM
    wp_postmeta: Data: 9.42MB + Index: 3.63MB + Engine MyISAM
    wp_posts: Data: 1.55MB + Index: 0.32MB + Engine MyISAM
    wp_redirects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_shopmagic_automation_outcome: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_shopmagic_automation_outcome_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_shopmagic_guest: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_shopmagic_guest_meta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wp_shopmagic_optin_email: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_snippets: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_usermeta: Data: 2.37MB + Index: 1.82MB + Engine MyISAM
    wp_users: Data: 0.18MB + Index: 0.18MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.09MB + Index: 0.08MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.76MB + Index: 0.67MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.17MB + Index: 0.12MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.09MB + Index: 0.12MB + Engine MyISAM
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfconfig: Data: 2.72MB + Index: 0.02MB + Engine MyISAM
    wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wffilemods: Data: 3.29MB + Index: 0.64MB + Engine MyISAM
    wp_wfhits: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wfknownfilelist: Data: 1.81MB + Index: 0.19MB + Engine MyISAM
    wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wflogins: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfstatus: Data: 0.13MB + Index: 0.05MB + Engine MyISAM
    wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpforms_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    astra-advanced-hook: 2
    attachment: 14
    custom_css: 2
    customize_changeset: 18
    elementor_library: 7
    global_product_addon: 7
    nav_menu_item: 7
    page: 16
    post: 1
    product: 283
    product_variation: 44
    revision: 401
    rmp_menu: 2
    shop_order: 2118
    shop_order_refund: 2
    shopmagic_automation: 2
    tabs_pro: 1
    wpforms: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (30) ###
    
    All-in-One WP Migration: by ServMask – 7.45
    Astra Pro: by Brainstorm Force – 3.5.5
    Starter Templates: by Brainstorm Force – 2.6.18
    Check & Log Email: by WPChill – 1.0.2
    Code Snippets: by Code Snippets Pro – 2.14.1
    Elementor Pro: by Elementor.com – 3.3.4
    Elementor: by Elementor.com – 3.3.1
    Email Customizer for WooCommerce: by ThemeHigh – 2.2.0
    Empty Cart Button for WooCommerce: by ProWCPlugins – 1.3.3
    301 Redirects: by WebFactory Ltd – 2.70
    Essential Addons for Elementor: by WPDeveloper – 4.8.1
    Jetpack: by Automattic – 9.9.1
    Store Hours Manager for WooCommerce: by BizSwoop a CPF Concepts
    LLC Brand – 4.2.44
    
    PHP Compatibility Checker: by WP Engine – 1.5.0
    Preloader Plus: by Massimo Sanfelice | Maxsdesign – 2.2.1
    WooCommerce Donation Or Tip On Cart And Checkout: by Magerips – 2.6
    ShopMagic for WooCommerce: by WP Desk – 2.27.3
    Tabs Pro wpshopmart: by wpshopmart – 5.3
    Big File Uploads: by Infinite Uploads – 2.0.1
    Visibility Logic for Elementor: by StaxWP – 2.1.7
    WooCommerce Authorize.Net Gateway: by Pledged Plugins – 5.1.24
    WPC Product Timer for WooCommerce (Premium): by WPClever – 3.4.4
    WooCommerce Checkout Field Editor: by WooCommerce – 1.6.2
    WooCommerce Product Add-ons: by WooCommerce – 4.1.0
    WooCommerce Restaurant Ordering: by Barn2 Plugins – 1.2.2
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.17
    WooCommerce: by Automattic – 5.5.2
    Wordfence Security: by Wordfence – 7.5.4
    WP Login and Logout Redirect: by Aminur Islam – 1.1
    WP Mail SMTP: by WPForms – 2.9.0
    
    ### Inactive Plugins (7) ###
    
    CartPops: by CartPops.com – 1.4.7
    Responsive Menu: by ExpressTech – 4.1.3
    Ultimate Addons for Elementor: by Brainstorm Force – 1.33.0
    WooCommerce Authorize.Net Gateway: by SkyVerge – 3.6.1
    WooCommerce Blocks: by Automattic – 5.5.1
    WooCommerce Customer/Order/Coupon CSV Import Suite: by SkyVerge – 3.10.2
    WP Logout Redirect: by Hasin Hayder – 1.1
    
    ### 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: ? Page visibility should be public
    Cart: #8 - /cart/
    Checkout: #9 - /checkout/
    My account: ? Page visibility should be public
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Astra
    Version: 3.6.6 (update to version 3.6.7 is available)
    Author URL: https://wpastra.com/about/
    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: 5,334
    Oldest: 2021-07-30 15:11:58 -0400
    Newest: 2021-08-01 18:17:56 -0400
    
    Failed: 1
    Oldest: 2021-08-01 17:11:28 -0400
    Newest: 2021-08-01 17:11:28 -0400
    
    Pending: 2
    Oldest: 2021-08-01 22:02:56 -0400
    Newest: 2021-08-02 17:14:06 -0400
    
    ### Status report information ###
    
    Generated at: 2021-08-01 18:39:12 -04:00
    
    • This topic was modified 3 years, 4 months ago by yjonathan786.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi @yjonathan786 ??

    That’s strange! First and foremost, WooCommerce recommends using at least PHP 7.4 or higher now. This is because PHP versions less than 7.3 are at the end of life and are no longer maintained.

    Using a PHP version less than 7.3 may endanger your site to security vulnerabilities. You can check our server recommendations here:

    https://docs.woocommerce.com/document/server-requirements/

    So please, update your PHP version. ??

    Secondly, it sounds like this issue could be caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Cheers!

    Hi @yjonathan786

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘View orders for customers redirecting to incorrect url’ is closed to new replies.