SHARE
TWEET

Untitled

a guest Jun 25th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ^ beginning of the text
  2. /? an optional slash
  3. / a slash
  4. ([^/d]+) a sequence of 1 or more characters not matching a slash and the letter "d" (and capture this text)
  5. /? an optional slash
  6. $ end of the text
  7.      
  8. ^ beginning of the text
  9. /order/ this literal text
  10. ([^0-9-]+) match all characters except digits and a dash, and capture this
  11. - a dash
  12. ([0-9]+) match all digits and capture this
  13. .php?service= match ".php?service="
  14. ([0-9]+) match all digits and capture this
  15.      
  16. /order/$1-$2/$3
  17.      
  18. RewriteRule ^/order/([^0-9-]+)-([0-9]+).php?service=([0-9]+)$ /order/$1-$2/$3 [L,QSA]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top