Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何重写 seo 的页面 url?example.com/3优于example.com/?page=3? _
example.com/3
example.com/?page=3
我希望搜索引擎记录我的产品列表页面的更多页面,那么哪个url更好?在网址中包含产品名称是否很好?
您需要将此文本放入.htaccess:
.htaccess
Options +FollowSymLinks RewriteEngine on RewriteRule ^(.*)/$ /?page=$1'