
routes.php Ye
Route::get('/', function()
{
return View::make('hello');
});
Route::get('altsayfa', function()
{
return 'Alt Sayfa';
});Üsteki Route Zaten Var. Ben Altına Kendimi Kuralımı Ekledim. Adres Satırına
Alıntı
8
●491

Route::get('/', function()
{
return View::make('hello');
});
Route::get('altsayfa', function()
{
return 'Alt Sayfa';
});Üsteki Route Zaten Var. Ben Altına Kendimi Kuralımı Ekledim. Adres Satırına <IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>Htaccess Yapısı Bu Şekilde.
http://localhost/xxx.com/public/index.php/altsayfaşeklinde çalışıyor mu?