Örnek:
Bu adrese giren ziyaretçiyi,
https://www.r10.net/forumda/1205461-r10-ticket-acildi.html?id=1Şu adrese nasıl yönlendirebilirim.
https://www.r10.net/forumda/1205461-r10-ticket-acildi.html
5
●396
https://www.r10.net/forumda/1205461-r10-ticket-acildi.html?id=1Şu adrese nasıl yönlendirebilirim.
https://www.r10.net/forumda/1205461-r10-ticket-acildi.html
<?php
if (stristr($_SERVER["REQUEST_URI"], "?")){
$url = explode('?',$_SERVER["REQUEST_URI"]);
header('Location: '.$url[0]); exit;
}
?>2. YOL: Buda htaccess hali hocam buyrun;RewriteEngine On
RewriteCond %{QUERY_STRING} !=""
RewriteRule ^(.*)$ %{REQUEST_URI}? [R=301,L]