Jump to content

htaccess file to redirect to a script


Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/264148-htaccess-file-to-redirect-to-a-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.