【发布时间】:2015-04-15 01:34:52
【问题描述】:
目前我的 .htaccess 文件内容为:
DirectoryIndex dice.php
Dice.php 是一个加载页面,它在 (index.php) 中有一个 iframe,最终在完成加载时会破坏 iframe 并填充页面。但是它在网址中将其填充为https://example.com/index.php。
我希望它填写为https://example.com/play。
有人有什么想法吗?
【问题讨论】:
-
@Dagon 使example.com/index.php 显示为example.com/play
标签: php .htaccess iframe url-rewriting