Suljettu

IIS 7.5 rewrite module rules

I need some IIS URL rewrite rules written for good SEO practices but I want the 301 redirect limited to 1 (or 2 maximum in worst scenario).

Rules:

1. Remove [url removed, login to view] document (ex. /news/[url removed, login to view] => /news/)

2. Add trailing slash (ex: /news => /news/)

3. To lower case (ex: [url removed, login to view] => [url removed, login to view])

4. Add www. (ex: [url removed, login to view] => [url removed, login to view])

5. Redirect to HTTPS (ex: [url removed, login to view] => [url removed, login to view])

This article shows an examples of how to do it but he still has 3 redirects:

[url removed, login to view]

However, I want only 1 301 redirect to occur. This means that the rules must simply rewrite the URL with say an underscore and then only at the end of the rules will a redirect take place. It's trickier than it looks.

Thanks,

Steve

Taidot: IIS

Näytä lisää: iis seo rewrite, test scenario, steve case, seomoz blog, rewrite module, iis rewrite, slash s, text rewrite, steve s, rules, rewrite blog, news rewrite, iis redirect, url rewrite 301, iis url redirect, 301 redirect seo, rules module, iis rewrite rules, rules rewrite url aspx, underscore, url rewrite module iis, 301 redirect aspx, trailing, slash seo, rewrite iis

About the Employer:
( 0 reviews ) Montreal, Canada

Projektin tunnus: #1732812

1 freelanceria on tarjonnut keskimäärin 200 $ tähän työhön

sharpcodernet

Hi, .NET developer with 7+ years of experience is ready to help you. Please, check PMB for more details. Thanks.

200 $ USD 5 päivässä
(3 arvostelua)
3.2