Rewrite conflict of interest.

Discuss practical ways rearrange URLs using mod_rewrite.

Rewrite conflict of interest.

Postby myutopia » Tue Apr 13, 2004 4:36 am

There's probably an easier way of doing this but I want to do a redirect of
www.domain.com/new to www.domain.com/home/new/newhome.html
and
www.domain.com/car/new to www.domain.com/car/new/newcar.html

I've tried doing
RewriteRule ^/new www.domain.com/home/new/newhome.html [R]
RewriteRule ^/car/new www.domain.com/car/new/newcar.html [R]

but I think the second rule is conflicting with the first to cause it to loop or something.

Any ideas or suggestions
myutopia
 
Posts: 1
Joined: Tue Apr 13, 2004 4:30 am

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 26 guests

cron