mothh9

Untitled

Feb 25th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. # RewriteBase /
  4. RewriteCond %{REQUEST_FILENAME} -d [OR]
  5. RewriteCond %{REQUEST_FILENAME} -f
  6. RewriteRule ^ - [L]
  7.  
  8. RewriteRule ^(.+)$ shortn/index.php?code=$1 [QSA,L]
  9. #It might be this one, note sure if you need a / before shortn
  10. # RewriteRule ^(.+)$ /shortn/index.php?code=$1 [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment