Hacked URL will be removed from Google automatically but it will take two to three weeks time.
Also make sure your website is clean from injected codes.
It won't affect ranking but you can expect some ups and downs for few weeks.
Make sure to put 301 only with relevant pages also check the backlinks of the expired domain.
It will automatically recover in upcoming weeks.As best practice submit site map and request index to google.
One more thing check your site for injected files and clean it before submitting to google.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.