I have my index.php page which works perfectly, but when I want to go on another page, like the "About Us" page, I have the NotFoundHttpException in compiled.php at line 7610.
My routes are like this:
Route::get('about', 'AboutController@index');
And my Controller is:
class AboutController extends Controller {
public function index()
{
return view('template.aboutUs.about');
}
}
I have enable the rewrite module on Wamp.
And I'm on a Windows 7.
You should probably run in your console:
php artisan route:clear
to clear your cached routes file.
Remove the fallowing virtual directory according to your project in XAMPP\apache\conf\httpd.conf
<VirtualHost *:80>
DocumentRoot "F:\xampp\htdocs\larvel\col_att\public"
ServerName shah_larvel.dev
</VirtualHost>