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.
我要在我的一个网站上更改 wordpress 主题,这将更改所有链接。
将大约 100 个页面从 domain.com/portfolio/123重定向到domain.com/123(没有投资组合的名称)的最佳/最快方法是什么。
谢谢,朱莉娅
通过在 .htaccess 文件中使用规则。
RewriteRule ^portfolio/(.*)$ /$1 [L,R=301,QSA]