RewriteOptionsExtensions.AddRedirectToWwwPermanent(RewriteOptions) RewriteOptionsExtensions.AddRedirectToWwwPermanent(RewriteOptions) RewriteOptionsExtensions.AddRedirectToWwwPermanent(RewriteOptions) Method

Definition

Permanently redirects the request to the www subdomain if the request is non-www.

public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWwwPermanent (this Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member AddRedirectToWwwPermanent : Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWwwPermanent (options As RewriteOptions) As RewriteOptions

Parameters

Returns

Applies to