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.
嗨,我dir1在我的网站上有一个目录。
dir1
不,我希望此目录中所有没有扩展名的页面都重定向到有.htm扩展名的页面。但他们应该继续工作。即不应该有 404 错误。
.htm
我正在尝试包含一些用于谷歌分析电子商务跟踪的 javascript。
在示例代码中,我看到类似这样的内容,其中我用自己的变量替换了变量。
<?php function getTransactionJs(&$order) { return <<<HTML ga('