Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php redirect with query string

<?php
    header("Status: 301 Moved Permanently");
    header("Location:./content/index.html?". $_SERVER['QUERY_STRING']);
    exit;
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #redirect #query #string
ADD COMMENT
Topic
Name
6+1 =