Hi, orders are viewed through the My-Account -> Orders page. WooCommerce uses endpoints which can be changed via WP-Admin under WooCommerce -> Settings -> Advanced -> Page Setup but those endpoints must be related to the my-account page
So my guess is your orders can be viewed via yoururl.com/my-account/orders/ instead of just yoururl.com/orders/
So, how to change the end points? I mean the end point for “orders” is orders. But it shows error 404 for that. So, what should I change it to so that when someone clicks on “orders” it takes him to the the orders he had given in the past.
The endpoints are relative to the My Account page, so you will have to change your links and prepend my-account or whatever the slug is for your My Account page, ie yoururl.com/my-account/orders/
The reason it needs to be relative is to do with permissions, everything in My Account needs to be restricted and placing all the endpoints under My Account enables this with ease.