Juan Carlo F. Yarra
Juan Carlo F. Yarra

Reputation: 123

change domain laravel not working properly

after i change my domain name... laravel is not working properly i cant login and register with no error... when i login redirect where middleware is set... even on register are same... on my previous domain name all are working with no problem...

I already try change 'domain' => 'pctiannge.com',in config/session

try to composer dump-autoload, composer update, clear laravel cache and config still no luck...

I try different broswer all are same output...

i can navigate my website...

Upvotes: 1

Views: 5770

Answers (1)

Colin Barstow
Colin Barstow

Reputation: 552

When changing anything in any of the config files or the .env you should always run

php artisan config:cache

This will clear your current cache and cache your new settings.

Upvotes: 1

Related Questions