Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex 如何将正则表达式添加到laravel中的Sitemap.xml?_Regex_Laravel 6.2_Xml Sitemap - Fatal编程技术网

Regex 如何将正则表达式添加到laravel中的Sitemap.xml?

Regex 如何将正则表达式添加到laravel中的Sitemap.xml?,regex,laravel-6.2,xml-sitemap,Regex,Laravel 6.2,Xml Sitemap,如何将正则表达式添加到XML站点地图,以便覆盖所有路径。 以下是我的路线: Route::get('/page/{id}/customer','CustomerController@index'); Route::get( '/post/{post}/book', 'PostController@book' ); Route::get( '/post/{post}', 'Controller@show' ); Route::get( '/post/{post}/{

如何将正则表达式添加到XML站点地图,以便覆盖所有路径。 以下是我的路线:

    Route::get('/page/{id}/customer','CustomerController@index');
    Route::get( '/post/{post}/book', 'PostController@book' );
    Route::get( '/post/{post}', 'Controller@show' );
    Route::get( '/post/{post}/{title}',PostController@title' );
    Route::get( '/post/{post}/{order}', 'PostController@order' );