Rahul_nesarikar Posted June 14, 2012 Share Posted June 14, 2012 Hi Everyone I'm trying to write an .htaccess rule to redirect to a script, which further redirects somewhere else. However, I don't want the address url to change during the .htaccess part of the redirect. Example: test.mytest.com/page/test/hello this page should be hanlded by test.mytest.com/environment_test.php but test.mytest.com/page/test/hello still appears in browser. Thanks for reply in advance Quote Link to comment https://forums.phpfreaks.com/topic/264148-htaccess-file-to-redirect-to-a-script/ Share on other sites More sharing options...
requinix Posted June 14, 2012 Share Posted June 14, 2012 Okay, well, the normal mod_rewrite stuff does that by default so... have you tried anything yet? Quote Link to comment https://forums.phpfreaks.com/topic/264148-htaccess-file-to-redirect-to-a-script/#findComment-1353666 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.