-
-
Notifications
You must be signed in to change notification settings - Fork 154
Pull request to add robots.txt and sitemap.xml files (v1) #643
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
Changes from 4 commits
018c186
cbb2e2d
2335856
5fbc879
78dea52
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
User-agent: * | ||
Disallow: /examples/authentification/ # Block the folder "authentification" to avoid blocking by password | ||
Disallow: /examples/hash_password.sql # Block access to specific sensitive SQL files like this | ||
|
||
Disallow: /Dockerfile # Block access to Dockerfile | ||
|
||
|
||
Allow: / # Allow access to all public-facing SQL-generated pages | ||
|
||
Sitemap: https://sql.datapage.app/sitemap.xml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<url> | ||
<loc>https://sql.datapage.app/</loc> | ||
<lastmod>2024-10-10</lastmod> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it ok to hardcode the date like this ? Won't the prevent re-crawling when we update the page ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if it remains hard coded for too long it is an issue, for this first try it is ok |
||
<priority>1.00</priority> | ||
</url> | ||
<url> | ||
<loc>https://sql.datapage.app/component.sql</loc> | ||
<lastmod>2024-10-10</lastmod> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>https://sql.datapage.app/documentation.sql</loc> | ||
<lastmod>2024-10-10</lastmod> | ||
<priority>0.80</priority> | ||
</url> | ||
<url> | ||
<loc>https://sql.datapage.app/your-first-sql-website/</loc> | ||
<lastmod>2024-10-10</lastmod> | ||
<priority>0.80</priority> | ||
</url> | ||
Comment on lines
+19
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it ok to have such a little subset of the site in the sitemap ? Won't it penalize other pages ? We should probably either not have a sitemap, or have one that is generated dynamically in sql |
||
</urlset> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe do not block the entire authentication example ? We still want it referenced. Ideally change the auth example so the password protected page has a different url, that you can block