[eluser]Unknown[/eluser]
So I have been having this weird problem and I cannot solve if after trying to do everything for hours. I am trying to create a duplicate of my own site within another folder.
My site right now has a subdomain original.domain.com which automatically redirects to original.domain.com/original. inside this /original folder i have the system folder. I am trying to create just another one like it inside original.domain.com/duplicate which also will contain another system folder.
inside the routes.php of each subfolder i have a bunch of redirection like
$routes['adam'] = 'room/people';
so that when I go original.domain.com/original/adam, the controller room will be called and calling the function people.
The problem that I am having right now is that when i try to do
original.domain.com/duplicate/adam
it seems to redirect me to
original.domain.com/original/adam
even tho the url stays
original.domain.com/duplicate/adam
The funny thing is that even after I deleted the $routes['adam'] inside the duplicate subfolder, I can still do original.domain.com/duplicate/adam which will show me the page of original.domain.com/original/adam (even though the url still stays with the duplicate site)
I am wondering if anyone can help me with this or may be suggest what files I can check which might cause such issues to arise.
Sorry I am not allowed to be very specific here because I cannot disclose too much information about the site.