301 Yönlendirme Nedir- 301 Yönlendirme Nasıl Yapılır- - Peakment Digital
301 Yönlendirmesi ve SEO İlişkisi
Yeni Bir Alan Adına 301 Yönlendirmesi Nasıl Yapılır-
301 Yönlendirmesi Örnekleri
.htaccess 301 Yönlendirmesi
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^siteniz.com [nc]
rewriterule ^(.*)$ http://www.siteniz.com/$1 [r=301,nc]
Php 301 Yönlendirmesi
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.siteniz.com” );
?>
ASP 301 Yönlendirmesi
<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”;
Response.AddHeader(“Location”,”http://www.yenisayfa.com/”);
%>
ASP.NET 301 Yönlendirmesi
private void Page_Load (object sender, System.EventArgse)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(“Location”, “http://www.yenisayfa.com”);
}
HTML 301 Yönlendirmesi
[syntax type=”html|php|js|css”]<html>
<head>
<meta http-equiv=”refresh” content=”0; url=http://www.yenisiteniz.com/“>
</head>
</html>[/syntax]
Javascript 301 Yönlendirmesi
[syntax type=”html|php|js|css”]<html>
<head>
<script type=”text/javascript”>
window.location.href=’http://www.yenisiteniz.com/‘;
</script>
</head>
</html>[/syntax]
301 Yönlendirmesi ve SEO İlişkisi
Yeni Bir Alan Adına 301 Yönlendirmesi Nasıl Yapılır-
301 Yönlendirmesi Örnekleri
.htaccess 301 Yönlendirmesi
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^siteniz.com [nc]
rewriterule ^(.*)$ http://www.siteniz.com/$1 [r=301,nc]
Php 301 Yönlendirmesi
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.siteniz.com” );
?>
ASP 301 Yönlendirmesi
<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”;
Response.AddHeader(“Location”,”http://www.yenisayfa.com/”);
%>
ASP.NET 301 Yönlendirmesi
private void Page_Load (object sender, System.EventArgse)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(“Location”, “http://www.yenisayfa.com”);
}
HTML 301 Yönlendirmesi
[syntax type=”html|php|js|css”]<html>
<head>
<meta http-equiv=”refresh” content=”0; url=http://www.yenisiteniz.com/“>
</head>
</html>[/syntax]
Javascript 301 Yönlendirmesi
[syntax type=”html|php|js|css”]<html>
<head>
<script type=”text/javascript”>
window.location.href=’http://www.yenisiteniz.com/‘;
</script>
</head>
</html>[/syntax]
Hiç yorum yok:
Yorum Gönder