More in this section

Forums / Developing with Sitefinity / URLRewrite rules for specific groups/users?

URLRewrite rules for specific groups/users?

2 posts, 0 answered
  1. Kevin
    Kevin avatar
    42 posts
    15 Mar 2005
    26 Nov 2009
    Link to this post
    I have a currently deployed site with Sitefinity 3.7 (and am very happy with Sitefinity CMS!), but I have blocked the online store for the site with urlrewrites until the store itself is ready.  At present, any requests for store/... are redirected to a holding page.  This works well for me in a production environment, but I'm unable to 'develop' those pages on the production server since every time I click on a page in store/... in the backend I ALSO see the redirected holding page. :-(

    Is there a way to have urlrewrites with conditions like excluding Administrators or a specific IP?  The manual is a bit sparse on this.  I'd love to find a way to do it that doesn't involve redeploying the entire site on the server, but if that's necessary I'll certainly go that route since the current situation isn't very workable for me either.

    Something like:



    rule excludeGroup="Administrators" excludeIP="">














    Perhaps there's another way to do it that won't involve changes in the code?

    In any case, working with Sitefinity has been a pleasure.  The pages are easy to maintain, the site performs well so far, and I don't feel burdened with the administration.  Thanks for all your hard work to make a product that lets me focus on my website, and not my website's CMS!

  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    27 Nov 2009
    Link to this post
    Hello Kevin,

    Thank you very much for your positive feedback on our CMS.

    Unfortunately the UrlRewriter functionality cannot achieve this. I think that you can try with custom HttpModule which checks the role of the user, then performs the redirect. This will require some custom code though. 

    Sitefinity 4.0 will have that option though. We have implemented configuration policies, so every user or a role could have separate configuration files. You can even associate configuration files with domains and anything else via configuration handlers.

    I am sorry that we are not that helpful with this reply.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered