Forum Moderators: phranque
To whatever your other rewrite conditions are, add this one, changing the numbers to your own IP address:
RewriteCond %{REMOTE_ADDR} ^111\.222\.333\.444$ [NC]
It tests the IP of the requestor. If it's YOU, it does the rewrite you're testing. If it's anyone else, it doesn't, so you can test it on yourself before it affects anyone else.
Suggestions:
I prefer the first two options. The second option is only 'easy' to do if you have a unique IP address for your Web site. Otherwise, it can get a bit complicated, or it may not be possible; It depends on your host and your "control panel."
Jim