-
Notifications
You must be signed in to change notification settings - Fork 134
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
Overwriting existing robots.txt using jekyll-sitemap v1.4 #292
Comments
@danieldurrans |
My bug report is incorrect. This only happens for me when robots.txt is in my /source/_pages/ directory. Make sure you haven't got a robots.txt in any subdirectory. Just put a copy in the root of your source directory and you should be good. Note that you may want to add a Sitemap directive into the file.
|
Thanks for the reply. Mine is still acting strange. I have robots.txt in root of my site and it seems to work locally but not when I push it to my remote. Not sure what's going on. Probably something configured wrong on my end. Update: Just an FYI...pretty sure my old robots.txt was being cached since I use cloudfare. So it was on my end. Just wasn't thinking. Force it to reload through the cloudfare cache configuration or just wait and it should update on its own within a day or something. |
Same problem here. It would be very helpful to make a parameter to this plugin with the option to disable robots.txt creation. |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
I am using jekyll-sitemap v1.4 with jekyll v4.2.1
In my source directory I have a robots.txt file. I have also tried the file in my _pages directory.
When I build the site, I receive the following error (paths redacted):
Therefore I am not sure that the bug identified here is fixed.
The text was updated successfully, but these errors were encountered: