Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for robots.txt #613

Closed
pskd73 opened this issue Feb 19, 2023 · 3 comments
Closed

Support for robots.txt #613

pskd73 opened this issue Feb 19, 2023 · 3 comments

Comments

@pskd73
Copy link

pskd73 commented Feb 19, 2023

Is your feature request related to a problem? Please describe.
robots.txt is an important tool in SEO. I am missing it in my own setup. Better we support it out of the box

I am happy to contribute if it is not implemented yet :)

@sjwaight
Copy link

A simple workaround is to create a static 'robots.txt' file in the public folder and it will be deployed to your target hosting environment.

@bravo-kernel
Copy link

@sjwaight I have motivated my suggestion for using next-sitemap in more detail at timlrx/pliny#101.

If a PR is accepted I think that would be the correct way forward.

@pskd73 implementing is quite easy, see bravo-kernel/bravo-kernel.com#169

@timlrx
Copy link
Owner

timlrx commented Jul 9, 2023

v2 which is based on app dir (coming soon) will allow you to add a robots.txt directly. I might just add it in the template as well.

@timlrx timlrx closed this as completed Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants