Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Oct 22nd, 2012  |  syntax: None  |  size: 0.21 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. RewriteEngine On
  2. RewriteCond %{HTTP_HOST} !^(www\.)?$ [NC]
  3. RewriteCond %{HTTP_HOST} ^([^.]+)\$ [NC]
  4. RewriteCond %{REQUEST_URI} !index.php
  5. RewriteRule ^ /index.php?url=%1 [L]
clone this paste RAW Paste Data