I have a website which has 2 parts - lets say A and B.
Now I want to move part A to a new domain.
Currently, the URLs are of the form:
www.xyz.com/A/controller/function - for part A
www.xyz.com/A/B/controller/function - for part B
my new links will be:
www.abc.com/controller/function - for part A
www.xyz.com/B/controller/function - for part B
Can you suggest me a good way to handle these redirects? I am using Codeigniter Framework.