daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest May 21st, 2016 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RewriteRule ^tags/(.*)\+(.*)$ /tags/$1-$2 [L,R=301]
  2.  
  3. # If there are caps, set HASCAPS to true and skip next rule
  4. RewriteCond %{REQUEST_URI} ^(/tags.*)
  5. RewriteRule [A-Z] - [E=HASCAPS:TRUE,S=1]
  6.  
  7. # Skip this entire section if no uppercase letters in requested URL
  8. RewriteRule ![A-Z] - [S=28]
  9.  
  10. RewriteCond %{REQUEST_URI} !^(/tags.*)
  11. RewriteRule [A-Z] - [S=28]
  12.  
  13. # Replace single occurance of CAP with cap, then process next Rule.
  14. RewriteRule ^([^A]*)A(.*)$ $1a$2 [DPI]
  15. RewriteRule ^([^B]*)B(.*)$ $1b$2 [DPI]
  16. RewriteRule ^([^C]*)C(.*)$ $1c$2 [DPI]
  17. RewriteRule ^([^D]*)D(.*)$ $1d$2 [DPI]
  18. RewriteRule ^([^E]*)E(.*)$ $1e$2 [DPI]
  19. RewriteRule ^([^F]*)F(.*)$ $1f$2 [DPI]
  20. RewriteRule ^([^G]*)G(.*)$ $1g$2 [DPI]
  21. RewriteRule ^([^H]*)H(.*)$ $1h$2 [DPI]
  22. RewriteRule ^([^I]*)I(.*)$ $1i$2 [DPI]
  23. RewriteRule ^([^J]*)J(.*)$ $1j$2 [DPI]
  24. RewriteRule ^([^K]*)K(.*)$ $1k$2 [DPI]
  25. RewriteRule ^([^L]*)L(.*)$ $1l$2 [DPI]
  26. RewriteRule ^([^M]*)M(.*)$ $1m$2 [DPI]
  27. RewriteRule ^([^N]*)N(.*)$ $1n$2 [DPI]
  28. RewriteRule ^([^O]*)O(.*)$ $1o$2 [DPI]
  29. RewriteRule ^([^P]*)P(.*)$ $1p$2 [DPI]
  30. RewriteRule ^([^Q]*)Q(.*)$ $1q$2 [DPI]
  31. RewriteRule ^([^R]*)R(.*)$ $1r$2 [DPI]
  32. RewriteRule ^([^S]*)S(.*)$ $1s$2 [DPI]
  33. RewriteRule ^([^T]*)T(.*)$ $1t$2 [DPI]
  34. RewriteRule ^([^U]*)U(.*)$ $1u$2 [DPI]
  35. RewriteRule ^([^V]*)V(.*)$ $1v$2 [DPI]
  36. RewriteRule ^([^W]*)W(.*)$ $1w$2 [DPI]
  37. RewriteRule ^([^X]*)X(.*)$ $1x$2 [DPI]
  38. RewriteRule ^([^Y]*)Y(.*)$ $1y$2 [DPI]
  39. RewriteRule ^([^Z]*)Z(.*)$ $1z$2 [DPI]
  40.  
  41. # If there are any uppercase letters, restart at very first RewriteRule in file.
  42. RewriteRule [A-Z] - [N]
  43.  
  44. RewriteCond %{ENV:HASCAPS} TRUE
  45. RewriteRule ^/?(.*) /$1 [R,L]
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