Method Not Allowed Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException The GET method is not supported for route /. Supported methods: HEAD.
When I delete the route cache the login page loads.
The main issue is when I put in my login details on the second domain with the route cached deleted I get an error saying
Method Not Allowed
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException The POST method is not supported for route user/login. Supported methods: GET, HEAD.
I have edit the .htaccess file
RewriteEngine On RewriteBase /subfolder/
I have the below routes in my web.php file
<?php
use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Route;
Route::get('/', function () { return redirect('/user/login'); })->name('home');