Issuing Redirects!!!

Discuss practical ways rearrange URLs using mod_rewrite.

Issuing Redirects!!!

Postby natbob1 » Sat Oct 04, 2008 5:23 pm

Code: Select all
RewriteRule ^/test/(.*)/(.*)/$$1&pg2=$2 [L]

this rewrite statement is causing the browser to request the rewritten URL instead of staying at the one like follows: is requested
server send redirect to
browser requests this page and is displayed in URL bar

I had multiple mod rewrites working, but now they all send the redirect, is there a global setting that can change this?
Posts: 1
Joined: Sat Oct 04, 2008 5:16 pm

Postby richardk » Sun Oct 05, 2008 11:06 am

What is the rest of your mod_rewrite like?

Try removing
Code: Select all
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 5 guests