With the new Diggbar, you can put http://digg.comin front of any URL you are currently on and create a short Digg URL. I just assume that they are doing this modrewrite (although I'm not sure, since I'm new to this).
How it's done? I think when I try this from the website I'm working on, it is bombing.
I want to be able to do the following:
http://example.com/http://stackoverflow.com/question/ask
and have modrewrite that allows this to go to
http://example.com/index.php?url=http://stackoverflow.com/question/ask
But when I use this modrewrite:
RewriteEngine on
RewriteRule ^([A-Za-z0-9]+)$ /message.php?id=$1 [L]
he does not work. What am I doing wrong?
source
share