1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Would you advise this?

Would you advise this?

2 posts, 0 answered
  1. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    22 Oct 2008
    Link to this post
    I am thinking of writing a class that intercepts all page requests and compares them against the <urlrewrites><rule><rewrite> nodes and the redirects the request to the <rule> value...

    So that any link or request for a page that has a rewrite rule will direct to the <rule><url>

    Is this advisable? Is there maybe some other way of doing this?

    Duncan
  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    19 Jun 2017
    28 Oct 2008
    Link to this post
    Hello Duncan,

    Actually, the Advanced URL Rewriter in Sitefinity does not do any redirect, it just rewrites the URL internally, so in the address bar in the browser you see the initial requested URL. If you want to use exactly redirect method, you should use a third party module (you can find several in the WWW), or build a custom one.

    If you elaborate more about your case, probably we could give you more valuable advice.

    Greetings,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered