怎么设置完整的、完善的 301 跳转: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 September 2025

  • curprev 10:1410:14, 29 September 2025Mwroot talk contribs 1,880 bytes +1,880 Created page with "有时,为了网址更短,我们往往会利用 .htaccess 实现改写网址。改写前的网址是 abcd.com/loooog/index.php/page.html,改写后的网址是 abcd.com/short/page.html,这样更美观,节约屏幕纵向空间。 在服务器内部实现改写后,会出现一个问题,那就是改写前后的两个网址都能正常访问,对搜索引擎来说不太友好,会抱怨有页面存在大量重复内容。即主观上改写前后是同一个..."