Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • test 1 post 71 karma points
    Feb 11, 2020 @ 22:20
    test
    0

    URL Rewrite

    I downloaded a version of Umbraco 8 and have a basic site running on IIS. Now, I wanted a URL to rewrite to an internal service.

    I can hit the service URL fine. but when trying the rewrite url from the Umbraco site, I am getting an 404.

    Service URL: procutsservice.com procutsservice.com/Products get request will give a list of products.

    I created a URL rewite rule in IIS for my website to match the pattren api/p/(.*) to redirect to procutsservice.com. The rewrite rule is tested on a blank website and it works. but when I go to mysite.com/api/p/products, its give me a 404. Is there something I am missing in Umbraco?

    The error message from Umbraco:

    Page not found
    No umbraco document matches the url '/api/p/products'.
    This page can be replaced with a custom 404. Check the documentation for "custom 404".
    
    This page is intentionally left ugly ;-)
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies