PHP Htaccess javascript 实现网页自动跳转 重定向

PHP
header("location:http://www.multisilicon.com");

Javascript

<script language='javascript'>
  document.location = 'http://www.multisilicon.com'
</script>


Htaccess文件
AddType application/zip .zip
AddType application/x-rar-compressed .rar

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://www.multisilicon.com [R]


发表于:2013-01-26 03:40:48

原文链接(转载请保留): http://www.multisilicon.com/blog/a26164174.html

友情链接: MICROIC
首页