.htaccess - Redirect URL with query string on same domain but different directory using htaccess -


i trying redirect page page along query string. example:

the url below

http://example.com/firstdir/?abc=xyz 

needs redirect below url same query string on same domain.

http://example.com/seconddir/?abc=xyz 

when there no query string added in url, should stay on same page , not redirect.

i have tried explain looking for, please !!!

thank you.

just put .htaccess in root folder , handle recursive folders.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -