issue is resolved i had an relative url mydomain.net/?feed=rss i replaced it with an absolute url mydomain.net/wordpress/index.php/feed/ and it worked. Thanks