permanent redirection with http 301

  • HOME  • tutorials  • photos   • free grafics design    • questions and answers  • distance calculator  • maps
   



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
TOP LISTS
LATEST ARTICLES
md5 hash generator online tools windows linux c php
remove duplicates in html lines online javascript
documentgetelementbyid()innerhtml javascript set example
how to block processes from starting and running in windows xp
list of us american presidents with pictures
ucwords javascript convert online tool
hex to rgb converter javascript for colors online
letter-spacing css property for html pages
sql inject protection without complicated class php script and tutorial
how to insert decimal values into a sql table row
  home   HTML » PERMANENT REDIRECTION WITH HTTP 301
google ads
 
 
 

PERMANENT REDIRECTION WITH HTTP 301


Views: 17

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 related to PERMANENT REDIRECTION WITH HTTP 301
Zero result!




Leave a comment

Your name *
Your comment *
   Anti Spam code *

There are no comments on this article...Page not found!



the latest articles:
• MD5 hash generator Online tools Windows Linux C Php
• Remove duplicates in html lines online javascript
• documentgetElementById()innerHTML javascript set Example
• How to block processes from starting and running in Windows XP
• List of us american presidents with pictures
• Ucwords javascript convert online tool
• Hex to rgb converter javascript for colors online
• Letter-spacing CSS property for html pages
• SQL Inject protection without complicated class php script and tutorial
• How to insert decimal values into a SQL table row
what is the height of statue of liberty
hollywood movies
map from faisalabad to hasilpur pakistan
driving distance between tanga and bagamoyo
how to abbreviate million dollars
how long do butterflies live in captivity

 

eXTReMe Tracker