How do i do it?your script to add strings like piratesite.net/movie/ur-mummy-Xja9U90Z01/
and when the link goes down script updates permalink and goes indexed again.
TL;DR: you can't
edit your script to add strings like piratesite.net/movie/ur-mummy-Xja9U90Z01/
and when the link goes down script updates permalink and goes indexed again.
For homepage just need setup a crappy "search engine" like thepiratebay.org or 9anime without any image and if goes removed by any dmca you can complain to google and they restore your homepage.