Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

the status code is `403` and content-type is `text/html`

$
0
0

Replies: 0

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 is 403 and content-type is text/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.


Viewing all articles
Browse latest Browse all 59525

Trending Articles