RewriteRule ^panel/test1.php /panel/test2.php [R=301]
RewriteRule ^panel/test2.php /panel/test3.php [R=302]
RewriteRule ^panel/test3.php /panel/test4.php [R=301]
RewriteRule ^panel/test4.php /panel/test5.php [R=302]
RewriteRule ^panel/test5.php /panel/test6.php [R=301]

przydatne do testów
plik test6.php:
<? sleep(20); ?>
OK


RewriteRule ^(.*),(.*).html$ /index.php?uid=$2&element=strona [L]
RewriteCond %{REQUEST_FILENAME} !(images|css|js)
RewriteCond %{REQUEST_FILENAME} !admin
RewriteCond %{REQUEST_FILENAME} !index.php
RewriteRule ^(.*)$ /index.php?uid=$1&element=kategoria [L]

Przykładowe url:
http://www.wolakorybutowa.pl/opis
http://www.wolakorybutowa.pl/opis,zabytki.html


RewriteCond %{QUERY_STRING} s=([^&]+)
RewriteRule szukaj.php$ index.php?s=%1 [L,R]

Pozwala wyciąć z query_string zmienne wysłane przez przeglądarke przy kliknięciu w pole input typu image 


RewriteRule ^wycieczka,([a-z_]+),([\d]+)?,([\d]+).html$ /wycieczka,$1,$3.html [R=301]


RewriteRule ^/red/miasto/.+_([^_]+).html /redirect.php?miasto=$1
RewriteRule ^/red/branza/.+_([^_]+).html /redirect.php?branza=$1
RewriteRule ^/red/marka/.+_([^_]+).html /redirect.php?marka=$1

np.
http://www.n73.waw.pl/red/miasto/warszawa_cmVtb250eQ==.html


Przekierowanie na domenę bez www

RewriteCond %{HTTP_HOST} ^www\.wolakorybutowa\.pl$ [NC]
RewriteRule ^(.*)$ http://wolakorybutowa.pl/$1 [R=301,L]


Przekierowanie na w właściwą domene

RewriteCond %{HTTP_HOST} ^domena.pl
RewriteRule (.*) http://www.domena.pl/$1 [R=301,L]

L – ostatnia reguła
R – przekierowanie