![]() |
Redirect to a subdomain in a test website - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Learn More (https://forum.codeigniter.com/forumdisplay.php?fid=15) +--- Thread: Redirect to a subdomain in a test website (/showthread.php?tid=75738) |
Redirect to a subdomain in a test website - candicehorie - 03-11-2020 Hello I have one website and I want to add a testing environment in a subdomain "dev.mywebsite.com", I made a copy from my website inside the subdomain, but I have some issues in how to config the .htaccess file I have tried rewrite rules and any of them worked. This is the .htacess file from the main website, how I should do to have a dev.mywebsite working, please? Code: DirectorySlash On |