I don't understand why but when I use this:
#RewriteRule ^/?r/(.*)$ /index.php?n=$1 [L]
to rewrite mysite.com/r/somewhat
to mysite.com/index.php?r=somewhat
the site work.
But if I use this:
#RewriteRule ^/?(.*)$ /index.php?name=$1 [L]
to rewrite mysite.com/somewhat
to mysite.com/index.php?r=somewhat
,
my site stop working.
I don't understand why. Someone can help me?
How can I rewrite mysite.com/somewhat
to mysite.com/index.php?r=somewhat
?