views:

92

answers:

1

bit.ly has it such that if you do

bit.ly/blah+ it redirects to bit.ly/info/blah

How would the htaccess code look for replicating that (using a plus sign to redirect to a related page)

A: 

You can use this mod_rewrite code to do that:

RewriteEngine on
RewriteRule ^([^/]+)\+$ /info/$1 [L,R]
Gumbo