Mass change of 301 redirects for all domains on web hosting.

StrangeBob

New member
Joined
Nov 1, 2023
Messages
1
Shared web hosting has about 60 domains (z1.com, z2.com.. z60.com), from which a redirect is installed to various pages of the xxx.xxx domain

z1.com -> xxx.xxx/page1.php
z2.com -> xxx.xxx/page2.php
z60.com -> xxx.xxx/page60.php

Every two weeks, this xxx.xxx domain needs to be changed to a new yyy.xxx, and all redirects have to be manually replaced one by one in the panel, which takes a lot of time.

z1.com -> yyy.xxx/page1.php
z2.com -> yyy.xxx/page2.php
z60.com -> yyy.xxx/page60.php

How can I automate this process using the API?
Thx
 
Back
Top