1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Laravel 8.2: Encountering a 404 Error on Route Access

Discussão em 'Outras Linguagens' iniciado por Bufo, Outubro 1, 2024 às 13:02.

  1. Bufo

    Bufo Guest

    When I run my Laravel project locally, I do not get any 404 errors, but when I transfer it to the server, I get 404 errors on some pages. There is no problem on the listing pages, but I cannot access the form pages.

    web.php

    Route::get('/kategori/ekle', [CategoryController::class, 'create'])->name('categories.create');

    The store function with the same url route is defined, but when I make it different, the urls do not work again.

    Controller

    public function create() { return view('categories.create'); }

    I cleared the caches and checked the list.

    Continue reading...

Compartilhe esta Página