allaboutmadonna.com Posted April 3, 2005 Share Posted April 3, 2005 How do I set redirection so that when someone visits allaboutmadonna.com it takes him to allaboutmadonna.com/temp.php ? The problem is that I need index.php so I could test some new features ... Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted April 3, 2005 Share Posted April 3, 2005 Hi, Try adding >DirectoryIndex /temp.php to your .htaccess file. That way, the default index will be changed, but you can still access the index.php file Quote Link to comment Share on other sites More sharing options...
allaboutmadonna.com Posted April 3, 2005 Author Share Posted April 3, 2005 Thanks it's working ... Quote Link to comment Share on other sites More sharing options...
allaboutmadonna.com Posted April 6, 2005 Author Share Posted April 6, 2005 How do I reverse this ? I tried adding : >DirectoryIndex /index.php ... but it still takes me to temp.php Quote Link to comment Share on other sites More sharing options...
allaboutmadonna.com Posted April 6, 2005 Author Share Posted April 6, 2005 Nevermind, it's working now ... Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted April 6, 2005 Share Posted April 6, 2005 I would just remove the line completely. Have you tried clearing your cache, and refreshing your browser? It should then be fine. (opps, a bit slow posting by me there Glad it's working though) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.