【发布时间】:2019-02-12 09:24:18
【问题描述】:
对于一个软件开发营销网站,我有 30 多个登录页面,我喜欢将它们保存在 ./pages/landing 文件夹中。因此,显然./pages/landing 中的文件可以通过以下方式访问,例如:
www.lorem.com/landing/python-development-experts/
www.lorem.com/landing/java-development-experts/
但我需要从路径中删除 /landing/ 并且仍然希望将文件保留在 ./pages/landing 文件夹中,但需要使用此路径访问文件:
www.lorem.com/python-development-experts/
www.lorem.com/java-development-experts/
请帮忙,谢谢。
【问题讨论】: