Hi dcolumbus,
Fore example put all your ajax request in a group prefixed by api
.
After that put on the robots.txt :
Disallow: /api/*
If you don't want change your route just put all your ajax request on your robots.txt:
Disallow: /ajax_process_register
If you want you can generate the robots.txt in php and dynamize the content like you want:
Route::get('robots.txt', ['as' => 'robots', 'uses' => 'SitemapController@robot']);
Thanks for responding @mfrancois,
I was thinking of doing something similar, I was just curious what the communities take was on it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community