here is the whole web file with some routes cencored. maybe it helps there are some parts that i don't understand and that maybe cause problems
<?php
use App\Http\Models\SearchCriteria as SearchCriteria;
use App\Http\Helpers\ViewModel as ViewModel;
use App\Http\Models\ListOption as ListOption;
use App\Http\Controllers\HomeController;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Response;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
/**
* SEO Urls doesn't work in iFrame, so remove the URL from this pattern
*/
Route::pattern('domain', '(---------|cluster|cluster.ddev.site|cluster.ddev.local|-------)');
Route::group(['domain' => '{domain}'], function() {
// filtering from homepage
Route::post('/', function($listoption){
return App::call('App\Http\Controllers\HomeController@handlePRGRouting');
});
// filtering from list view
Route::post('list', function($listoption){
return App::call('App\Http\Controllers\HomeController@handlePRGRouting',["listoption" => "list"]);
});
// filtering from grid view
Route::post('grid', function($listoption){
return App::call('App\Http\Controllers\HomeController@handlePRGRouting',["listoption" => "grid"]);
});
// filtering from map view
Route::post('map', function($listoption){
return App::call('App\Http\Controllers\HomeController@handlePRGRouting',["listoption" => "map"]);
});
// filtering from an already filtered page, indicated by /s/... with any number of parameters
Route::post('/s/{any?}', function() {
return App::call('App\Http\Controllers\HomeController@handlePRGRouting');
})->where('any', '.*');
// filtering from an already filtered page, indicated by list/s/... with any number of parameters
Route::post('list/s/{any?}', function() {
return App::call('App\Http\Controllers\HomeController@handlePRGRouting',["listoption" => "list"]);
})->where('any', '.*');
// filtering from an already filtered page, indicated by grid/s/... with any number of parameters
Route::post('grid/s/{any?}', function() {
return App::call('App\Http\Controllers\HomeController@handlePRGRouting',["listoption" => "grid"]);
})->where('any', '.*');
// filtering from an already filtered page, indicated by grid/s/... with any number of parameters
Route::post('map/s/{any?}', function() {
return App::call('App\Http\Controllers\HomeController@handlePRGRouting',["listoption" => "map"]);
})->where('any', '.*');
// get routes of prg-pattern for list view
Route::get('list/s/{p1?}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/{p7?}/{p8?}/{p9?}/{p10?}/{p11?}/{p12?}/{p13?}/{p14?}/{p15?}/{p16?}', array(
"as"=>"setQueryParametersList",
"uses"=>"HomeController@setQueryParametersList"
));
// get routes of prg-pattern for grid view
Route::get('grid/s/{p1?}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/{p7?}/{p8?}/{p9?}/{p10?}/{p11?}/{p12?}/{p13?}/{p14?}/{p15?}/{p16?}', array(
"as"=>"setQueryParameters",
"uses"=>"HomeController@setQueryParameters"
));
// get routes of prg-pattern for grid view
Route::get('map/s/{p1?}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/{p7?}/{p8?}/{p9?}/{p10?}/{p11?}/{p12?}/{p13?}/{p14?}/{p15?}/{p16?}', array(
"as"=>"setQueryParametersMap",
"uses"=>"HomeController@setQueryParametersMap"
));
// get routes of prg-pattern for home view
Route::get('/s/{p1?}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/{p7?}/{p8?}/{p9?}/{p10?}/{p11?}/{p12?}/{p13?}/{p14?}/{p15?}/{p16?}', array(
"as"=>"setQueryParameters",
"uses"=>"HomeController@setQueryParameters"
));
});
//Locations
Route::pattern('domainLocations', '(........)');
Route::group(['domain' => '{domainLocations}'], function() {
Route::get("/{id}/{title}", "LocationController@Detail");
Route::any("/", "LocationController@Index");
});
Route::get("googled082a64affbd4ff3.html",function() {
return File::get(public_path() . '/js/googled082a64affbd4ff3.html');
});
Route::get("sitemap.xml",function() {
return Response::make(File::get(public_path() . '/assets/sitemap.xml'), 200, ['Content-type'=>'text/xml']);
});
Route::get('/wf/13D54FE32AB2309FC241AFD9734D2193', 'SitemapController@SitemapXML');
Route::get("/print/{id}", array(
"as"=>"printevent",
"uses"=>"EventController@PrintEvent"
));
Route::get("/{id}/{title}", array(
"as"=>"event",
"uses"=>"EventController@getIndex"
));
Route::get("/Event/{id}/{title}", array(
"as"=>"event",
"uses"=>"EventController@getIndex"
));
Route::get("/Home/Event/{id}", array(
"as"=>"event",
"uses"=>"EventController@getIndex"
));
Route::get("/{id}", array(
"as"=>"event",
"uses"=>"EventController@getIndex"
));
Route::get("/Event/{id}", array(
"as"=>"event",
"uses"=>"EventController@getIndex"
));
//Route::any('test', 'HomeController@Test');
Route::any('/Home/List', 'HomeController@ListAction');
Route::any('/home/LIST', 'HomeController@ListAction');
Route::any('/home/list', 'HomeController@ListAction');
Route::any('/Home/LIST', 'HomeController@ListAction');
Route::any('list', 'HomeController@ListAction');
Route::any('/Home/Index', 'HomeController@Grid');
Route::any('/Home/Grid', 'HomeController@Grid');
Route::any('/home/grid', 'HomeController@Grid');
Route::any('grid', 'HomeController@Grid');
Route::any('_list', 'HomeController@_List');
Route::any('_grid', 'HomeController@_Grid');
Route::any('map', 'HomeController@Map');
Route::any('MapData', 'HomeController@MapData');
Route::any('Share', 'EventController@Share');
Route::any('Contact', 'EventController@Contact');
//Route::any('ShareSearch', 'EventController@ShareSearch');
Route::any('Report', 'EventController@Report');
Route::get('DateTimeframes', 'HomeController@DateTimeframes');
Route::any('NearestPlaces', 'EventController@NearestPlaces');
Route::any('7d4bd500eb06434faf65f21829a8525e','HookController@PostCommit');
Route::get("/shorten/{params}", array(
"as"=>"shorten",
"uses"=>"HomeController@Shorten"
));
/*
Route::any('NearestPlaces(:any)', function($client, $action)
{
dd($action);
return Controller::call('EventController@NearestPlaces',array($action));
});
*/
Route::any("/Series/{id}", array(
"as"=>"Series",
"uses"=>"HomeController@Series"
));
Route::get("/Home/Series/{id}", array(
"as"=>"Series",
"uses"=>"HomeController@Series"
));
Route::get("/Home/Series/{id}/{title}", array(
"as"=>"Series",
"uses"=>"HomeController@Series"
));
Route::any("/Series/{id}/{title}", array(
"as"=>"Series",
"uses"=>"HomeController@Series"
));
Route::get("/place/{id}", array(
"as"=>"place",
"uses"=>"HomeController@Place"
));
Route::get("/place/{id}/{title}", array(
"as"=>"place",
"uses"=>"HomeController@Place"
));
Route::any('_Subcategories', 'SearchController@_Subcategories');
Route::any('Communities', 'SearchController@Communities');
Route::any('CommunityID', 'SearchController@CommunityID');
Route::domain('------------')->group(function () {
Route::prefix('/cal/{slug?}')->group(function () {
Route::get("/{id}/{title}", array(
"as"=>"event",
"uses"=>"EventController@getIndex"
));
Route::any('grid', 'HomeController@Grid');
Route::any('_grid', 'HomeController@_Grid');
Route::any('list', 'HomeController@ListAction');
Route::any('_list', 'HomeController@_List');
Route::any('map', 'HomeController@Map');
Route::any('MapData', 'HomeController@MapData');
Route::any('DateTimeframes', 'HomeController@DateTimeframes');
Route::get("/Series/{id}/{title}", "HomeController@Series");
//Route::any('Share', 'EventController@Share'); do not activate - normal route is working?!
Route::get("print/{id}", "EventController@PrintEvent" );
Route::any("/", "HomeController@Grid");
});
});
Route::any("/", array(
"as"=>"Index",
"uses"=>"HomeController@Index"
));