Improved search engine hinting using noindex and nofollow hints
This commit is contained in:
parent
0abf67bd2c
commit
1ea9cb4daf
|
@ -9,6 +9,11 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject IStringLocalizer<ConfirmEmail> Localizer
|
||||
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<BoardComponent CenterContent="true">
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject IStringLocalizer<ConfirmEmailChange> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<BoardComponent CenterContent="true">
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject IStringLocalizer<ForgotPassword> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<BoardComponent CenterContent="true">
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
@page "/Account/ForgotPasswordConfirmation"
|
||||
@inject IStringLocalizer<ForgotPasswordConfirmation> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<BoardComponent CenterContent="true">
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
@page "/Account/InvalidPasswordReset"
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>Invalid password reset</PageTitle>
|
||||
|
||||
<h1>Invalid password reset</h1>
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
@page "/Account/InvalidUser"
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>Invalid user</PageTitle>
|
||||
|
||||
<h3>Invalid user</h3>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
@inject IStringLocalizer<Lockout> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<BoardComponent CenterContent="true">
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject IStringLocalizer<Login> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<StatusMessage Message="@_errorMessage" />
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
@inject ILogger<LoginWith2fa> Logger
|
||||
@inject IStringLocalizer<LoginWith2fa> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<StatusMessage Message="@Message" />
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
@inject ILogger<LoginWithRecoveryCode> Logger
|
||||
@inject IStringLocalizer<LoginWithRecoveryCode> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<StatusMessage Message="@Message" />
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject IStringLocalizer<Register> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<StatusMessage Message="@Message" />
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
@inject NavigationManager NavigationManager
|
||||
@inject IdentityRedirectManager RedirectManager
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>Register confirmation</PageTitle>
|
||||
|
||||
<h1>Register confirmation</h1>
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject IStringLocalizer<ResendEmailConfirmation> Localizer
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@Localizer["Title"]</PageTitle>
|
||||
|
||||
<StatusMessage Message="@Message" />
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
@inject IdentityRedirectManager RedirectManager
|
||||
@inject UserManager<ApplicationUser> UserManager
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>Reset password</PageTitle>
|
||||
|
||||
<h1>Reset password</h1>
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
@page "/Account/ResetPasswordConfirmation"
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>Reset password confirmation</PageTitle>
|
||||
|
||||
<h1>Reset password confirmation</h1>
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
@inject EmailTemplateService TemplateService
|
||||
@inject IMessageDisplay Messages
|
||||
|
||||
<HeadContent>
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
</HeadContent>
|
||||
|
||||
<PageTitle>@(TitlePrefix + Localizer["Title"])</PageTitle>
|
||||
|
||||
<BoardComponent CenterContent="true">
|
||||
|
|
|
@ -6,7 +6,6 @@ User-agent: Google-Extended
|
|||
Disallow: /
|
||||
|
||||
User-agent: *
|
||||
Disallow: /Account
|
||||
Disallow: /Account/Manage
|
||||
Disallow: /Email/Confirm
|
||||
Disallow: /Email/Unsubscribe
|
||||
|
|
Loading…
Reference in a new issue