A good substitute for feta cheese in pasta is goat cheese, as it shares a similar tangy and creamy flavor.