Automattic / Automattic/wp-super-cache

Sitemap header is text/html instead of text/xml

Open
#934 1 comment 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache enhancement
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

Super cache sets wrong header for sitemap feed, generated by plugin (for example https://wordpress.org/plugins/xml-sitemap-feed/): text/html instead of text/xml.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the sitemap response using the XML Sitemap Feed plugin and inspect where WP Super Cache determines the cached response's Content-Type. Confirm the response currently uses text/html and verify that the sitemap is served with text/xml when the fix is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.