I am working on a cakephp project locally then when I'm uploading it to the remote server I upload it as "projectName-new". And after doing some tests it is renamed to "projectName" and after renaming the original "projectName" to "projcetName-old".
However after renaming the new one from "projectName-new" to "projectName" I'm getting a blank page. but when I rename it back or rename it to any other name than "projectName" I can view it properly, also when I rename the "projectName-old" to "projectName" I can view that project properly.
I thought it might be something with the .htaccess
but there's nothing weird in the file. Any ideas to why this might be happening?