My issue is I will need to run this 1200 times for different sites.
I already have an output in .csv of the old site URL and what the NEWsite URL needs to be but what I still haven't got my head round is how I get a script that runs these 3 steps pulling the required data from the .csv file for each address.
It may be as simple as someone just telling me what I should search the web for. Any pointers to get me going would be appreciated.
I really want to get my head around it to build and learn so I'm really just looking for the bare bones to get me started.