HI @waltun
First, put your code between 3 ` to make it clear
like this
Second, what do you mean by 'when I analyze my website' ? Show your routes (php artisan routes:list)
I have a URL for my categories like this : example.com/shop/category1 And this is code in my web.php :
Route::any('shop/{slug}', 'CategoryController@category')->name('category');
And I have many other routes for products, articles Etc. But when I analyze my website, I have this shop in all routes like this :
example.com/products/shop
example.com/articles/shop
example.com/shop/shop
Other routes works fine, I don't know what is the problem ! Oher routes :
Route::get('products/{slug}', 'ProductController@detail')->name('products.detail');
Route::get('articles', 'ArticleController@index');
Route::get('articles/{slug}', 'ArticleController@detail')->name('articles.show');
Please or to participate in this conversation.