Today, I upgraded the WBlog program, that is, replacing the core of the WBlog with thinkphp3.1 with thinkphp3.12. Because the version is similar, there is no major change, but there are still some minor problems. After the upgrade, the homepage is normally browsed, but when you click the URL link in the navigation bar, a page error occurs, prompting that the page cannot be found, and then the page jumps to page 404. If you are not afraid of problems, you are afraid that you will not be able to find them. Discovering and solving problems is a pleasure for me. After careful observation and comparison, there is no error in the path. after entering the path, I upgraded the WBlog program today, that is, the core of WBlog
ThinkPHPReplace 3.1
ThinkPHP3.12, because the version is relatively close, there is no major change, but there are still some minor problems. After the upgrade, the homepage is normally browsed, but when you click the URL link in the navigation bar, a page error occurs, prompting that the page cannot be found, and then the page jumps to page 404. If you are not afraid of problems, you are afraid that you will not be able to find them. Discovering and solving problems is a pleasure for me. After careful observation and comparison, the path is correct, and then the input is case-sensitive.
The problem is found. Let's take a look at the solution.
1. Find the 'url 'in the configuration file thinkphp/Conf/convention. php of the core package.