RewriteEngine on
RewriteRule ^(.*)$ sayfa.php?baslik=$1 [L]
RewriteRule ^(.*)/(.*)$ sayfa.php?yazar=$1&baslik=$2 [L]