RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([0-9a-zA-Z-_]+)/([0-9a-zA-Z-_]+)$ detay.php?id=$1&url=$2 [L,QSA]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
ErrorDocument 404 https://urgeclick.comdetay.php de $url = $_GET['url']; ve $id= $_GET['id']; varama sürekli ana sayfaya atıyor ?