Forum Moderators: phranque

Message Too Old, No Replies

Need help with mod rewrite

         

dkin

7:02 pm on Sep 4, 2005 (gmt 0)

10+ Year Member



I have recently had to change the majority of my url because I was adding products with the same name and my pages would only load one, so Ive added the $id to the url.

This is my old url

games/xbox_games/(.*)\.html$

this is my new url

games/id/(.*)/xbox_games/(.*).html

now, is there anyway that I can have a redirect that can pick up that variable for me, cause otherwise Im up the river on this.

Thank you

dkin

12:26 am on Sep 5, 2005 (gmt 0)

10+ Year Member



anyone?

DaveAtIFG

7:24 am on Sep 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Asked and answered at [webmasterworld.com...] No?

dkin

7:14 pm on Sep 5, 2005 (gmt 0)

10+ Year Member



no, Im wanting a rdirect from the old pages to the new pages in this question, wondering if there is any way I can do it seeing as I will be missing the variable.

DaveAtIFG

7:49 pm on Sep 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The answer is certain to be here [httpd.apache.org]. Post your solution and I'm confident folks will be happy to help you refine it. (Or you could hire someone to create a solution for you with a post in the Commercial Exchange [webmasterworld.com] forum I suppose.)

I used to moderate here and our goal was to help people help themselves. By doing that in a thread, openly and interactively, many folks could participate in and benefit from the learning process. As far as I know, that policy hasn't changed.

Also, a reminder from this forum's charter [webmasterworld.com], "It is not appropriate to expect other members to write your code for you or to debug your entire project; Please don't expect other members to solve a problem you don't want to begin solving yourself."