. Temelde Ben benim sitenin kök benim htaccess dosyasında şu var:
Options -Indexes
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?route=$1 [L,QSA]
</IfModule>
Ben $ _GET ['rota'] kullanırken benim PHP komut dosyası aşağıdaki hatayı alıyorum:
Notice: Undefined index: route
I don't understand why this isn't working? I've used this code in the past on a previous website for friendly URLs and the PHP script got the GET request value fine, but it seems to be playing up now :/
I http://localhost/index.php?route=hmm hata kaybolduktan gibi elle yapmak ve ben $ _GET ['rota'] değerini alabilirsiniz
What am I doing wrong? Ask if you need any additional information! Thanks for reading.