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
%>

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

  1. Pingback: buy ruger firearms online

  2. Pingback: 메이저사이트

  3. Pingback: 토토사이트

  4. Pingback: shrimp

  5. Pingback: cbd for anxiety

  6. Pingback: replica rolex

Comments are closed.