Permanent redirection with HTTP 301,HTML,PHP,java,Perl - html

permanent redirection with http 301

 
  • HOME  • tutorials  • photos   • free grafics design   
   



CATEGORIES
EXCEL TUTORIAL
SQL TUTORIAL
WEB INFORMATION
WINDOWS
JAVASCRIPT SCRIPTS
COMPUTER SECURITY
GRAFIC DESIGN
HTML
PHP
CSS STYLE
ATLAS OF THE WORLD
DEVELOPER
PHOTOSHOP
MAGAZINE
LATEST ARTICLES
how to insert decimal values into a sql table row
asrep.com adsense traking script is down
list of walt disney animated movies
free php and ajax captcha scripts
convert uppercase to lowercase javascript online script
detect and block uppercase (up letters) in a string (form text input) php script
php googlebot detection script
replace breaking lines in text or textarea input using php
rounded borders corners css without images
photoshop styles, asl photoshop style free download
  home   HTML » PERMANENT REDIRECTION WITH HTTP 301
google ads
 
 
 


PERMANENT REDIRECTION WITH HTTP 301


PERMANENT REDIRECT HTTP 301

Permanent Redirection  help us to maintain permanent connections to the old page, he tells to the search engine that the page has been permanently moved and if the new adress  has a new  url avoid penalizing SEO for duplicat content.

We present below redirect codes for various types of pages:





HTTP 301 Redirect in HTML ( HEADER REFRESH ):


    <meta http-equiv="refresh" content="0;url=http://page.html">

 


HTTP 301 Redirect in PHP : 

 <?php // Permanent redirection
 header("HTTP/1.1 301 Moved Permanently");
 header("Location: http://www.himmera.com/page.html");
 exit(); ?>
 

HTTP 301 Redirect in ASP-VBScript:

<%@ Language=VBScript %>
<%
' Permanent redirection Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.himmera.com/"
Response.End
%>
 


HTTP 301 Redirect in ColdFusion :

 

<CFHEADER statuscode="301" statustext="Moved Permanently">
<CFHEADER name="Location" value="http://www.himmera.com/">

 


HTTP 301 Redirection In Perl


#!/usr/bin/perl -w
use strict;
print "Status: 301 Moved Permanantly\n";
print "Location: http://www.himmera.com/page.htm\n\n";
exit;

 

HTTP 301 Redirection with mod_rewrite
 


rewriteEngine on
rewriteRule ^category\.php$ http://www.himmera.com/page.php [R=permanent,L]

 


HTTP 301 Redirection with Javascript


<html>
<head>
<script type="text/javascript"> window.location.href='http://www.himmera.com/'; </script>
</head>
<body> This page has moved to <a href="http://www.himmera.com/">http://www.himmera.com/</a>
</body>
</html>

 


 


ARTICLES IN PERMANENT REDIRECTION WITH HTTP 301 CATHEGORY

Zero result!!



Tags : ,






Leave a comment
Your name *
E-mail * ( it not be posted)
Comment title *
Your comment *
   Anti Spam (fill the number CASE SENSITIVE - UP LETTERS ) *

There are no comments ...The page was not find

 

 

the latest articles :
• How to insert decimal values into a SQL table row
• Asrep.com adsense traking script is down
• List of Walt Disney animated movies
• Free PHP and AJAX CAPTCHA scripts
• Convert uppercase to lowercase javascript online script
• Detect and block uppercase (up letters) in a string (form text input) php script
• Php Googlebot detection script
• Replace breaking lines in text or textarea input using php
• Rounded borders corners css without images
• Photoshop styles, asl photoshop style free download

 

eXTReMe Tracker