Apachefoorumi.net
Raikasta ja ravitsevaa sielunruokaa.
Quote from: Lexa on Fri 29.03.2013 12:20:48 (UTC+0200)
On vähän kuin ohjaisit postisi naapurille, jotta se voi edelleenohjata postit oman laatikkoosi jos jaksaa
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.domain.tld/");
exit();
?>
RewriteCond %{HTTP_HOST} ^domain\.tld$
RewriteRule ^.*$ http://www.domain.tld%{REQUEST_URI} [R=permanent,L]
RewriteRule ^index\.(php|html|htm) http://www.domain.tld/ [R=permanent,L]
<html>
<head>
<script type="text/javascript">
window.location.href='http://www.domain.tld/';
</script>
</head>
<body>
This page has moved to <a href="http://www.domain.tld/">http://www.domain.tld/</a>
</body>
</html>
Quote from: peter on Thu 28.03.2013 22:04:45 (UTC+0200):pstylach: edit:
Page created in 0.053 seconds with 21 queries.