Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^ beginning of the text
- /? an optional slash
- / a slash
- ([^/d]+) a sequence of 1 or more characters not matching a slash and the letter "d" (and capture this text)
- /? an optional slash
- $ end of the text
- ^ beginning of the text
- /order/ this literal text
- ([^0-9-]+) match all characters except digits and a dash, and capture this
- - a dash
- ([0-9]+) match all digits and capture this
- .php?service= match ".php?service="
- ([0-9]+) match all digits and capture this
- /order/$1-$2/$3
- RewriteRule ^/order/([^0-9-]+)-([0-9]+).php?service=([0-9]+)$ /order/$1-$2/$3 [L,QSA]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement