trigoon
Jan 30th 2008, 9:50 am
Ive been searching for days to see if this is possible but cant find it anywhere, if anyone knows a way to do this with the .htaccess file please let me know!
I want to make it so if someone trys to get to a file on my server directly (they type in domain.com/thisfile.extension they are redirected to another file, say domain.com/otherfile.extension.
BUT with that I also want to be able to include the real file in another file (domain.com/thisfile.extension). The problem is whenever I setup a redirect when it tries to include domain.com/thisfile.extension it will instead include domain.com/otherfile.extension. Is there any way to get what I want?
I want to make it so if someone trys to get to a file on my server directly (they type in domain.com/thisfile.extension they are redirected to another file, say domain.com/otherfile.extension.
BUT with that I also want to be able to include the real file in another file (domain.com/thisfile.extension). The problem is whenever I setup a redirect when it tries to include domain.com/thisfile.extension it will instead include domain.com/otherfile.extension. Is there any way to get what I want?