the status code is `403` and content-type is `text/html`
-
Error on page:
“RSS Error: A feed could not be found at
https://www.fsis.usda.gov/wps/wcm/connect/fsis-content/rss/recalls
; the status code is403
and content-type istext/html
”After setting force_feed to true:
add_action(‘wp_feed_options’, ‘force_feed’, 10, 1);
function force_feed($feed) {
$feed->force_feed(true);
}Error is now:
“RSS Error: https://www.fsis.usda.gov/wps/wcm/connect/fsis-content/rss/recalls is invalid XML, likely due to invalid characters. XML error: Mismatched tag at line 8, column 8”
Only tested this locally and used FeedBurner for now so I can use the feed on the plugin.
I hope on future updates I can use the plugin without using Google FeedBurner.
Thanks in advance.
- The topic ‘the status code is `403` and content-type is `text/html`’ is closed to new replies.