@nuxtjs/robots
@nuxtjs/robots
Nuxt Robots is a module for configuring the robots crawling your site with minimal config and best practice defaults.
The core feature of the module is:
- Telling crawlers which paths they can and cannot access using a robots.txt file.
- Telling search engine crawlers what they can show in search results from your site using a
<meta name="robots" content="index">X-Robots-TagHTTP header.
New to robots or SEO? Check out the Controlling Web Crawlers guide to learn more about why you might need these features.
|
Made possible by my Sponsor Program 💖 Follow me @harlan_zw 🐦 • Join Discord for help |
Features
- 🤖 Merge in your existing robots.txt or programmatically create a new one
- 🗿 Automatic
X-Robots-Tagheader and<meta name="robots" ...>meta tag - 🕵️ Bot detection with optional fingerprinting
- 🔒 Disables non-production environments from being indexed
- 🤠 Control AI crawlers using the
Content-SignalandContent-Usagedirectives
Installation
💡 Using Nuxt 2? Please use the v3.x tag.
Install @nuxtjs/robots dependency to your project:
npx nuxt module add robots
[!TIP] Using an AI agent? Get the @nuxtjs/robots Skill on skilld.dev/gh/nuxt-modules/robots.
💡 Configured your robots.txt? Verify what crawlers and AI bots can access with the free Robots.txt Validator, or monitor crawl & indexing status with Nuxt SEO Pro.
Documentation
📖 Read the full documentation for more information.
Demos
Sponsors
License
Licensed under the MIT license.
Related Packages
Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 7.0.2 | ^3.0 | MIT | |
| 7.0.1 | ^3.0 | MIT | |
| 7.0.0 | ^3.0 | MIT | |
| 6.2.4 | ^3.0 | MIT | |
| 6.2.3 | ^3.0 | MIT | |
| 6.2.2 | ^3.0 | MIT | |
| 6.2.1 | ^3.0 | MIT | |
| 6.2.0 | ^3.0 | MIT | |
| 6.1.5 | ^3.0 | MIT | |
| 6.1.4 | ^3.0 | MIT | |
| 6.1.3 | ^3.0 | MIT | |
| 6.1.2 | ^3.0 | MIT | |
| 6.1.1 | ^3.0 | MIT | |
| 6.1.0 | ^3.0 | MIT | |
| 6.0.9 | ^3.0 | MIT | |
| 6.0.8 | ^3.0 | MIT | |
| 6.0.7 | ^3.0 | MIT | |
| 6.0.6 | ^3.0 | MIT | |
| 6.0.5 | ^3.0 | MIT | |
| 6.0.4 | ^3.0 | MIT | |
| 6.0.3 | ^3.0 | MIT | |
| 6.0.2 | ^3.0 | MIT | |
| 6.0.1 | ^3.0 | MIT | |
| 6.0.0 | ^3.0 | MIT | |
| 5.7.1 | ^3.0 | MIT | |
| 5.7.0 | ^3.0 | MIT | |
| 5.6.7 | ^3.0 | MIT | |
| 5.6.6 | ^3.0 | MIT | |
| 5.6.5 | ^3.0 | MIT | |
| 5.6.4 | ^3.0 | MIT |
Showing the latest 30 of 85. See every release on npm
Pre-releases (8)
| Version | Released | Vue | License |
|---|---|---|---|
| 6.0.0-beta.5 | ^3.0 | MIT | |
| 6.0.0-beta.3 | ^3.0 | MIT | |
| 6.0.0-beta.2 | ^3.0 | MIT | |
| 4.0.0-rc.23 | ^3.0 | MIT | |
| 4.0.0-rc.22 | ^3.0 | MIT | |
| 3.0.0-2 | ^3.0 | MIT | |
| 3.0.0-1 | ^3.0 | MIT | |
| 3.0.0-0 | ^3.0 | MIT |