Welcome to WebmasterWorld Guest from 54.234.244.30

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Rewrite rule help!

     
10:28 pm on Feb 14, 2003 (gmt 0)

New User

10+ Year Member

joined:Feb 14, 2003
posts:2
votes: 0


Hi all, this is my first time here :-)

Anyone expert on rewrite rules? I hope so as I really need help with this.

I've been given some code below but need to change how it works - please see...

RewriteRule ^.*L([0-9]+)\.html$ /Detailed/$1.html [L]

This rewrite make this: /go/easter_L11.html
fetch a file called: /go/11.html

Now I need to change the first part of the rewrite so this: /go/11_easter.html
goes to /go/11.html

I hope I made this clear - boy this stuff is confusing!

10:33 pm on Feb 14, 2003 (gmt 0)

New User

10+ Year Member

joined:Feb 14, 2003
posts:2
votes: 0


... Or to put it another way,

This:

RewriteRule ^.*L([0-9]+)\.html$ that matches: /go/anything_L11.html

Needs to be changed to match this: /go/11_anything.html

10:39 pm on Feb 14, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member marcia is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Sept 29, 2000
posts:12095
votes: 0


Welcome to WebmasterWorld, Tozoo.

There sure are some who know about mod_rewrite! Here's a great basic tutorial that you're sure to find helpful:

[webmasterworld.com...]

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members