Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
In the past and in older Umbraco installations, it was recommended to disallow several directories in robots.txt to prevent search engines to crawl. For instance:
robots.txt
Disallow: /aspnet_client/ Disallow: /bin/ Disallow: /config/ Disallow: /css/ Disallow: /data/ Disallow: /install/ Disallow: /masterpages/ Disallow: /python/ Disallow: /scripts/ Disallow: /umbraco/ Disallow: /umbraco_client/ Disallow: /usercontrols/ Disallow: /xslt/
Is this still the case with Umbraco v11 and .Net Core installations, or is it different?
As an example, Umbraco.com has the follow setting, though most of these paths aren't exposed:
Sitemap: https://umbraco.com/sitemap/ User-agent: * Disallow: /error.html Disallow: /app_data/ Disallow: /app_plugins/ Disallow: /bin/ Disallow: /config/ Disallow: /data/ Disallow: /umbraco/ Disallow: /views/
I also want to know the answer to this
https://ukad-group.com/blog/your-pocket-guide-to-umbraco-seo/
I'm not sure how your link answers the question?
There is a section on roots.txt with an image.
After a little research, maybe the answer can be found in the Constants.SystemDirectories section. It lists the following root folders:
Constants.SystemDirectories
/bin/ /config/ /umbraco/ /install/ /app_plugins/ /backoffice/ /views/
And GlobalSettings lists the following reserved paths:
GlobalSettings
/app_plugins/ /install/ /mini-profiler-resources/ /umbraco/
As there may be more relevant directories to block, can anyone confirm that this is correct?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
What is best practise to disallow in robots.txt Umbraco v11 and .Net Core?
In the past and in older Umbraco installations, it was recommended to disallow several directories in
robots.txt
to prevent search engines to crawl. For instance:Is this still the case with Umbraco v11 and .Net Core installations, or is it different?
As an example, Umbraco.com has the follow setting, though most of these paths aren't exposed:
I also want to know the answer to this
https://ukad-group.com/blog/your-pocket-guide-to-umbraco-seo/
I'm not sure how your link answers the question?
There is a section on roots.txt with an image.
After a little research, maybe the answer can be found in the
Constants.SystemDirectories
section. It lists the following root folders:And
GlobalSettings
lists the following reserved paths:As there may be more relevant directories to block, can anyone confirm that this is correct?
is working on a reply...