带有htaccess或php的自定义重定向程序
如何创建像这样的重定向器 或带有htaccess或php的自定义重定向程序,php,.htaccess,Php,.htaccess,如何创建像这样的重定向器 或 对不起,我的英语很差这里的问题是如何将url作为哈希而不是参数传递 <script> document.location = document.location.hash; </script> document.location=document.location.hash; 作为记录,如果您的目标是获取重定向到的url的哈希值,则需要在客户端执行此操作,哈希内容永远不会发送到服务器。此问题在PHP下标记?试一试 header('Lo
对不起,我的英语很差这里的问题是如何将url作为哈希而不是参数传递
<script>
document.location = document.location.hash;
</script>
document.location=document.location.hash;
作为记录,如果您的目标是获取重定向到的url的哈希值,则需要在客户端执行此操作,哈希内容永远不会发送到服务器。此问题在PHP下标记?试一试
header('Location: http://www.identi.li/u#http://google.com/');
在html文件头中尝试此标记
<meta http-equiv="refresh" content="20;url=http:www.redirected.com">
这将在20秒后重定向这是我理解的他在问的问题。