Recent Topics

Error 404 Not Found error: "Resource not found" for categories,search not working



  • Hello,

    On local system (Xampp) Bagisto - 1.3.1, shop by category is disabled,though category added correctly and previously working fine.

    While debugging,
    In network tab,

    Request URL: http://localhost/bagisto/categories
    Request Method: GET
    Status Code: 404 Not Found
    Remote Address: [::1]:80
    Referrer Policy: strict-origin-when-cross-origin
    

    with response:

    {"error":"Resource not found"}
    

    Same for :

    Request URL: http://localhost/bagisto/mini-cart
    

    Same time,
    drop down in search bar not showing any category and search redirected to 404 with url

    http://localhost/bagisto/categorysearch?category=&term=mobile
    

    Why this happen ? How to resolve this issue?



  • Hi @satty,

    Route URI is wrong please verify the route URI it should be prefixed with api/.



  • @devansh-webkul Thank you for replay.

    I found the issue.

    I made changes in route for CMS pages as I removed page from

    'page/{slug}'
    

    Thank you for your support.



  • Hi @satty,

    Thanks for the update.

    Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com

    That would be grateful for us.

    Thanks & Regards,

    Bagisto Team


Log in to reply