Hello,
I have RSS feed on the same server that I need to display on my WP site.
I was looking around and found only one solution.
Add this code in the function.php to accept any bad urls
function http_request_local( $args ) {
$args['reject_unsafe_urls'] = false;
return $args;
}
add_filter( 'http_request_args', 'http_request_local' );
Is there a way to set this so that this script allow only one url and works for the rest?