simple urlrewrite turns out to be not so simple...
Hi guys, for a project I need to implement an urlrewrite that rewrites all pages in a specific directory like this: for example www.example.com/categories/page1 needs to become www.example.com/page1
I've tried a million different things, but I just can't get it to work.
Can anybody point me in the right direction on how to achieve this in the urlrewrite config?
Use this regex with the UrlRewriting.NET plugin (which is included with umbraco) or the IIS UrlRewrite module: categories/(.+) The first group is the match, so redirect/rewrite to (IIS UrlRewrite module syntax): /{R:1}
simple urlrewrite turns out to be not so simple...
Hi guys,
for a project I need to implement an urlrewrite that rewrites all pages in a specific directory like this:
for example www.example.com/categories/page1 needs to become www.example.com/page1
I've tried a million different things, but I just can't get it to work.
Can anybody point me in the right direction on how to achieve this in the urlrewrite config?
thanks a lot!
Jan
Use this regex with the UrlRewriting.NET plugin (which is included with umbraco) or the IIS UrlRewrite module: categories/(.+)
The first group is the match, so redirect/rewrite to (IIS UrlRewrite module syntax): /{R:1}
And I think this should do it with the UrlRewriting.NET plugin:
@kipusoep: Thanks for your reply.
I added the categoriesrewrite to my urlrewrite config file, but then the pages return a 404 error.
Can you explain your first post a little bit more please? IIS isn't exactly my level of expertise...
thanks!
J
any follow up on this?
is working on a reply...