Where to put robots.txt? #255
-
This is my first week using this static generator. I have a question where should I put robots.txt on project directory so it get copied or rendered (in case it was something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey! Thanks for using HydePHP! There is no special way to set up robots.txt files using Blade or similar. There is actually no feature dedicated to handling robots.txt files, but maybe there should be? Depending on how your site is set up, there are three ways you can add a robots file, let me know if you want further information about any of these:
|
Beta Was this translation helpful? Give feedback.
Hey! Thanks for using HydePHP! There is no special way to set up robots.txt files using Blade or similar. There is actually no feature dedicated to handling robots.txt files, but maybe there should be?
Depending on how your site is set up, there are three ways you can add a robots file, let me know if you want further information about any of these:
file_put_contents()
)_site/
directory in version control you can setempty_output_directory
inconfig/hyde.php
totrue
, then Hyde won't empty the_site/
directory and y…