Home  >  Article  >  Backend Development  >  laravel url suffix for example .html How did you solve it?

laravel url suffix for example .html How did you solve it?

WBOY
WBOYOriginal
2016-08-08 09:07:021367browse

laravel is similarhttp://www.example.com/article/169.html Is there any elegant solution
I now want to modify the rewrite rules of apache

Reply content:

laravel is similarhttp://www.example.com/article/169.html Is there any elegant solution
I now want to modify the rewrite rules of apache

Adding .html has no effect. Do you think websites such as Baidu Tieba, Weibo, and Bilibili will add .html?
Deceiving yourself and others has no effect. The SEOs of those big websites are not just freeloaders. Today’s search engines are already very smart.

Just write it directly in the router

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn