question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng add @angular/seo

See original GitHub issue

From @IgorMinar on April 18, 2018 10:7

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Area

- [ ] devkit
- [x] schematics

Versions

v6

Desired functionality

I’d like to be able to invoke ng add @angular/seo and have the CLI make my application search engine friendly. Initially I’d like to see the following feature provided by the schematics:

  • generate robots.txt with no rules but a simple instructions/link on how to setup blacklist rules
  • generate sitemap.xml with similar documentation/links as in robots.txt
  • add code that would feature detect and conditionally load polyfills needed by the crawlers
  • setup error logging via global error handler with an option to redirect the output to a remote server
  • provide facilities to easily add and remove the noindex metadata to emulate the HTTP 404 and 500 status codes

Mention any other details that might be useful

Copied from original issue: angular/devkit#729

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:23
  • Comments:22 (14 by maintainers)

github_iconTop GitHub Comments

7reactions
hiepxanhcommented, Sep 6, 2018

In my opinion, this issue should be high property. Angular only can be strong and bigger if it can SEO. An website only can be spread if it can share on facebook, twitter… and crawable by google. maybe we can have more intention on this?

3reactions
hiepxanhcommented, Feb 2, 2022

UPPPP VOTEEEE, this is necessary feature

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Make Angular SEO Friendly Website with Angular ...
Utilizing Angular is smart decision but sooner or later SEO daunts you. Here is a guide to make Angular SEO Friendly Website with...
Read more >
How to Build Angular SEO Friendly App? By
Our experts write down some standard steps that help you to build Angular SEO friendly app and website - Learn now.
Read more >
Angular Universal - How to Build SEO Friendly Single Page ...
Simply put, Angular Universal enables us to build apps that have both the performance and user engagement advantages of single page apps ...
Read more >
How to Implement SEO While Working With Angular | Santex
Developers can prepare an application to work with Angular Universal by using the Angular CLI and tuning some configurations. However, there is ...
Read more >
Angular SEO Done Right with Server-Side Rendering [Live ...
Need SEO-friendly Angular applications? Read this post to learn what is server-side rendering and how to use it on your Angular SPA using ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found