This project is read-only.

disable a specific view

Topics: Customizing Orchard
Jun 3, 2013 at 7:34 AM
Hello! I have enabled tags in my site and now a user can select a specific tag and redirect to
/tags/tagname. It is fine but the user can also see the page /tags.If i want to disable this last one is it a custom way via orchard dashboard?
Thanks in advance.
Jun 3, 2013 at 8:03 AM
No. You'd have to override that route and send it to oblivion. Simplest way to do it is probably to rewrite that URL in web.config.
Jun 3, 2013 at 8:58 AM
Ok :) Thank you Bertrand!