RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.muhammeddincer.com [NC]
RewriteRule ^(.*)$ https://muhammeddincer.com/$1 [L,R=301,NC]