Vanity URL's

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 10 Mar 2015, 12:20

Vanity URL's

10 Mar 2015, 12:24

I am using .NET MVC 5 and want to know if your ISAPI Rewrite can do this for me. For each organization we want a vanity url

www.mydomain.com/Organization1
www.mydomain.com/Organization2
www.mydomain.com/Organization3

and so on, so pages will work like this

www.mydomain.com/Organization1/Home/About

or

www.mydomain.com/Organization2/Home/About

Thus far, after two weeks of searching, it appears MVC 5 is incapable of handling this, and such an easy thing, commonly done as well.

Thinking about switching to apache as this is a no brainer there.

Hoping somebody from sales can chime in, I'm going to need to see a sample before I purchase, everybody claims they can do this but haven't found a single company or code sample anywhere, including stackoverflow that works, not one.

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Vanity URL's

11 Mar 2015, 10:37

Hello,

I think we can help you with your case.
ISAPI_Rewrite 3 has a 45-day trial, so you can make sure it works for you before you buy.
After you install ISAPI_Rewrite, add the following into .htaccess file in the root of your site:

RewriteBase /
RewriteRule ^Organization1$ /Organization1/Home/About [NC,L]
RewriteRule ^Organization2$ /Organization2/Home/About [NC,L]
RewriteRule ^Organization3$ /Organization3/Home/About [NC,L]

If it doesn't work, please confirm I got right the scenario you want to have implemented and specify what result you get when you try the rules and what result you really want.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 30 guests