I have one EE installation which contains three sites for my client (let’s call them departments A, B and C). EE is installed on the main domain which hosts department A. The pages for departments B and C are all located in 2 different templategroups. The url-structure is as follows:
- department A: http://www.department-a.com
- department B: http://www.department-a.com/dept-b
- department C: http://www.department-a.com/dept-c
I am looking for a redirect script for my .htaccess file which rewrites the urls as follows:
- department A: http://www.department-a.com (no change needed)
- department B: http://www.department-b.com
- department C: http://www.department-c.com
Any help is welcome!