Browse Source

Add sitemap and document robots.txt

Ethan Paul 2 weeks ago
parent
commit
84da3a2353
2 changed files with 37 additions and 0 deletions
  1. 5
    0
      robots.txt
  2. 32
    0
      sitemap.xml

+ 5
- 0
robots.txt View File

@@ -1,7 +1,12 @@
1
+# Allow all bots
1 2
 User-agent: *
3
+
4
+# Disallow access to non-content directories
2 5
 Disallow: /_archive
3 6
 Disallow: /_error
4 7
 Disallow: /css
5 8
 Disallow: /fonts
6 9
 Disallow: /img
7 10
 Disallow: /js
11
+
12
+Sitemap: https://enpaul.net/sitemap.xml

+ 32
- 0
sitemap.xml View File

@@ -0,0 +1,32 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<urlset
3
+      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
4
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
6
+            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
7
+<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
8
+
9
+
10
+<url>
11
+  <loc>https://enpaul.net/</loc>
12
+  <lastmod>2019-11-21T03:44:30+00:00</lastmod>
13
+  <priority>1.00</priority>
14
+</url>
15
+<url>
16
+  <loc>https://enpaul.net/about/</loc>
17
+  <lastmod>2019-11-21T03:44:30+00:00</lastmod>
18
+  <priority>0.80</priority>
19
+</url>
20
+<url>
21
+  <loc>https://enpaul.net/homelab/</loc>
22
+  <lastmod>2019-11-21T03:44:30+00:00</lastmod>
23
+  <priority>0.80</priority>
24
+</url>
25
+<url>
26
+  <loc>https://enpaul.net/projects/</loc>
27
+  <lastmod>2019-11-21T03:44:30+00:00</lastmod>
28
+  <priority>0.80</priority>
29
+</url>
30
+
31
+
32
+</urlset>

Loading…
Cancel
Save