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ää: rewrite module iis add www, iis seo rewrite, www rewrite article com, test scenario, steve case, seomoz blog, rewrite module, how to rewrite article, how to rewrite an article, iis rewrite, slash s, text rewrite, steve s, rules, rewrite blog, news rewrite, http https rewrite, iis redirect, url rewrite 301, http redirect https, redirect https http, iis url redirect, 301 redirect seo, rules module, iis rewrite rules

Tietoa työnantajasta:
( 0 arvostelua ) Montreal, Canada

Projektin tunnus: #1732812

1 freelancer is bidding on average $200 for this job

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