Home >PHP Framework >ThinkPHP >What to do if thinkphp resource routing error occurs
Thinkphp resource routing error solution: 1. Open the corresponding tp file; 2. Set the resource routing of RESTFul request through "Route::resource('blog','index/blog');" ;3. Just redirect public.
The operating environment of this tutorial: Windows 7 system, ThinkPHP version 5, Dell G3 computer.
What should I do if thinkphp resource routing error occurs?
thinkphp5 resource routing access 404 error
Solution: redirect public
Recommended learning: "thinkPHP Video Tutorial"
The above is the detailed content of What to do if thinkphp resource routing error occurs. For more information, please follow other related articles on the PHP Chinese website!