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.
我的主域domain.co.nz有一个静态主页,home但我也有一个非常适合 SEO 目的的 url,我想做的是弄清楚如何将我的seoDomain.co.nz观点指向具有相关信息的特定静态页面,但其余部分该网站仍然存在domain.co.nz
domain.co.nz
home
seoDomain.co.nz
如果我很好理解这就是您应该做的,在您想要显示来自另一个页面的信息的网站部分中,使用 PHP 的内置include()或require()函数并将其值设置为 $_GET 变量(如果您希望用户添加书签它)包含域中的其他页面。但这对您的网站来说确实很危险且不安全,因此在此之前,我建议您Remote File Inclusion/Local File Inclusion在执行上述任何操作之前先进行谷歌预防。
include()
require()
Remote File Inclusion/Local File Inclusion