php和asp的301 重定向

PHP:

<?php
header(‘HTTP/1.1 301 Moved Permanently’);
header(‘Location: http://www.haohtml.com‘.$request_uri);

ASP:

<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.haohtml.com/
Response.End
%>

4 thoughts on “php和asp的301 重定向

  1. Pingback: dentist atlanta

  2. Pingback: dang nhap w88top

  3. Pingback: transporte carro cegonha

  4. Pingback: bags game

Comments are closed.