Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help On URL Rewrites

Status
Not open for further replies.

jponnusa

Programmer
Jul 8, 2015
7
QA
Hi,

I made below rewriteRule to redirect URL from to But we want to keep URL ( in the Address Bar, Internally Redirection Should happen.
Kindly please help me on this.

Code:
RewriteEngine On    # Turn on the rewriting engine
RewriteRule /sites/en_US/about/newsroom/([0-9]+)/([0-9]+) sites/en_US/about/newsroom?year=$1&month=$2 [R]

Thanks
Jayaram
 
This should work.

Code:
RewriteEngine On    # Turn on the rewriting engine
RewriteRule /sites/en_US/about/newsroom/([0-9]+)/([0-9]+) sites/en_US/about/newsroom?year=$1&month=$2 [L]

M. Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top