We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272add1 commit d2b36c9Copy full SHA for d2b36c9
public/.htaccess
@@ -22,3 +22,16 @@
22
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
23
RewriteRule (.*)$ /$1/ [R=301,L]
24
</IfModule>
25
+
26
+# ✅ Optional: better headers for sitemap & robots
27
+<IfModule mod_headers.c>
28
+ <Files "sitemap.xml">
29
+ Header unset Set-Cookie
30
+ Header set Cache-Control "public, max-age=86400"
31
+ Header set Content-Type "application/xml; charset=UTF-8"
32
+ </Files>
33
+ <Files "robots.txt">
34
+ Header set Content-Type "text/plain; charset=UTF-8"
35
36
+</IfModule>
37
public/robots.txt
@@ -0,0 +1,5 @@
1
+User-agent: *
2
+Disallow:
3
4
+Sitemap: https://ras.ece.utexas.edu/sitemap.xml
5
0 commit comments