I Have this Parent url for my website
https://www.xyz.de
And there are alternate URLs too from where my site can be accessed like the followings:
Alternate URL 1: http://xyz.de/index.php
Alternate URL 2: https://www.xyz-zvb.de/index.php
Alternate URL 3: http://www.xyz-zvb.de/index.php
Alternate URL 4: http://xyz-zvb.de/index.php
Alternate URL 5: www.xyz-zvb.de/index.php
But Now I want to redirect all these URLs to the main parent site URL every time User access the site with alternate website url it will redirect to the parent main URL.
I have tried like follows but in this case only one URL can be redirected and i think it is not a proffered way to do so.
Redirect 301 /contact.php http://example.com/contact-us.php
any help regarding this task?