Skip to content

Deepblue-482: Add Data sitemap to robots.txt at root level - #99

Merged
rshiggin merged 1 commit into
mainfrom
Deepblue-482-add-data-sitemap-URL-to-root-robot
Nov 16, 2026
Merged

rshiggin merged 1 commit into
mainfrom
Deepblue-482-add-data-sitemap-URL-to-root-robot

Conversation

@smiskiway

Copy link
Copy Markdown
Contributor

Deepblue-482 for Deepblue Data

Adds Sitemap: <%= origin %>/data/sitemap.xml to src/robots.txt.ejs. On production this becomes https://deepblue.lib.umich.edu/data/sitemap.xml.

Crawlers only read /robots.txt at the root of the host, which is served by this app. Deep Blue Data's own /data/robots.txt already lists this sitemap, but crawlers ignore it because it isn't at the root.

The Build check fails for an existing reason: GitHub retired actions/upload-artifact@v3. The image build for this branch succeeded: https://github.com/mlibrary/dspace-angular/actions/runs/43155901616

@rshiggin
rshiggin merged commit e5934cc into main Nov 16, 2026
6 of 10 checks passed
@rshiggin

Copy link
Copy Markdown
Member

@smiskiway I've merged this and am pushing it into our testing instance first. (I've been moving slowly when deploying anything.) If it looks good, we should be able to move to prod tomorrow.

@rshiggin

rshiggin commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

@smiskiway Looks good https://testing.deepblue-documents.lib.umich.edu/robots.txt

**XML sitemap is listed first as it is preferred by most search engines**
Sitemap: https://testing.deepblue-documents.lib.umich.edu/sitemap_index.xml
Sitemap: https://testing.deepblue-documents.lib.umich.edu/sitemap_index.html
Sitemap: https://testing.deepblue-documents.lib.umich.edu/data/sitemap.xml

UPDATE: https://deepblue.lib.umich.edu/robots.txt

@rshiggin
rshiggin deleted the Deepblue-482-add-data-sitemap-URL-to-root-robot branch November 20, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants