Any component on Meta Tags for SEO in Blazor WASM

Prathamesh Shende 441 Reputation points
2022-09-02T16:53:52.51+00:00

The title tag has component as page title
and I can see title changes when I visit to another page. So is there any component to make website seo-friendly by adding meta tags?

Developer technologies | .NET | Blazor
0 comments No comments
{count} vote

Accepted answer
  1. Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
    2022-09-02T17:30:53.083+00:00

    A blazor WASM app is not SEO friendly. The search engine will not load it, so all it see is the content of index.html.

    If you want SEO, you would supply addition pages for the search engines. You can add the main index to index.html and hide from the blazor app.

    Another common approach is to generate a static site from the SPA to be used by robots. Blazor is working on this.

    https://learn.microsoft.com/en-us/aspnet/core/blazor/components/prerendering-and-integration?view=aspnetcore-6.0

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Prathamesh Shende 441 Reputation points
    2022-09-03T04:40:36.303+00:00

    Hope in future this will be easy as component just to call meta tags and then google bot will follow it.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.