Jump to content

How to write the RewriteRule


mkohan

Recommended Posts

installed apache2.2 on Linux and i included the

LoadModule rewrite_module  in the "httpd.conf"

file.

 

I want to write a rule  with RewriteRule that redirects this URL

 

http://mydomain.com/&tip=variables&param=calling/data.php

 

to:

 

http://mydomain.com/calling/data.php&tip=variables

 

and also when the URL does not include &tip=variables  after

http://mydomain.com/

then redirect it with out any change.

 

 

Thanks for your help.

 

MK

Link to comment
https://forums.phpfreaks.com/topic/121013-how-to-write-the-rewriterule/
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.