���� ���ö����ͧ

Blog SEO 300, 301, 302, 303, 305, 306, 307 Redirect

Blog SEO 300, 301, 302, 303, 305, 306, 307 Redirect

เช้าวันอาทิตย์ก่อนออกไป meeting honda car club มานั่งอัพเดด blog ก่อนดีกว่าครับพอดีรับงานทำ SEO มาแล้วเจอคนเดิมทำ black hat ที่เรียกว่า doorway page ไว้รับงานมาแล้วเคลียดเลยคิดไม่ออกว่าจะทำไงดีจะเอาของเดิมทำต่อ black hat ดำๆไหลๆต่อจากงานเก่าเค้าที่ทำมาดีรึเปล่าเพราะว่าเวลามันบังคับให้เวลาไม่กี่เดือนเอง นอนเอาตีนก่ายหน้าผากมาหลายวันแล้วจะเอายังไงดี จะทำหน้าใหม่แจ้ง de-index หน้าที่ติด google แล้วดีรึเปล่า คิดไม่ออกเคลียดบรมเลยตอนนี้ไหนๆก็ไหนๆแล้วเลยตามเลยดีกว่าครับ มาดูการรีไดเร็กที่ถูกหลัก SEO กันดีกว่าครับ

Redirect with meta http-equiv tags
ให้ใส่โค๊ดภายในส่วน<head> </head>

<meta http-equiv="refresh" content="0;url=http://blog.gootum.com" />

Redirect with javascript
ให้ใส่โค๊ดภายในส่วน <head> </head>
Basic javascript Redirect method
หน้านี้จะถูกรีไดเร็กโดยทันที

<script type="text/javascript">
window.location.href='http://blog.gootum.com';
</script>


Redirect after specific time period
หน้านี้จะถูกรีไดเร็กภายใน 2 วินาที

<body onload="javascript:setTimeout(function()
{window.location.href='http://blog.gootum.com'},2000);">

Redirect with PHP
Using “Location” header

<?php
header('Location:http://blog.gootum.com');
exit;
exit();
?>

Using “Refresh” header

<?php
header('Refresh: 0; URL=http://blog.gootum.com');
exit;
exit();
?>

Redirect with Perl
Simple 302 Redirect with perl

#!/usr/bin/perl
my $URL = "http://blog.gootum.com";
print "Status: 302 Moved\nLocation: $URL\n\n";

Simpler 302 Redirect with perl

#!/usr/bin/perl
print "Location: http://blog.gootum.com\n\n";
exit;

Redirect with ColdFusion (CFM)
Using cheader for 301 “permanent” redirect

<cfheader statuscode="301" statustext="Moved Permanently">
<cfheader name="Location" value="http://blog.gootum.com">
<cfabort>

Using clflocation for 302 “temporary” redirect

<cflocation url="http://blog.gootum.com">

Redirect with ASP (VB Script)
301 Redirect

<%@ Language=VBScript %>
<%
response.status="301 moved permanently"
Response.AddHeader "Location", "http://blog.gootum.com"
%>

Redirect with shell script
302 Redirect with sh shell script

#!/bin/sh
echo "Content-type: text/html"
echo "Location: http://blog.gootum.com";
echo "";
exit 0;

Redirect with mod_rewrite in apache htaccess

Bookmark and Share

Related Posts

You can leave a response, or trackback from your own site.

7 Responses to “Blog SEO 300, 301, 302, 303, 305, 306, 307 Redirect”

  1. [...] .htaccess จบข่าว 301 Redirect Social Bookmark Blog : These icons link to social bookmarking sites where readers can share and [...]

  2. ้ิheadbone says:

    ทำ seo นี่ ต้องมี pageview สักอย่างน้อยวันละกี่ page ครับ ถึงจะได้ตังหลักพันขึ้นอ่าครับ

  3. Gootum says:

    บางที pageview ไม่ต้องเยอะก็ได้ครับอยู่ที่ uip ที่เข้ามาเว็บเรามากกว่า ส่วน pageview นั้นอย่าไปสนใจครับมันคือการเปิดหน้าเว็บเราอ่าน สมมุติ 1 ip เข้ามาเปิดเว็บเรา 10 ครั้งไปมา มันก็ได้แค่ 1 uip ครับ ส่วน pv นั้นมีมากน้อยเท่าไหร่ไม่สามารถระบุได้ว่า uip จะได้เท่าไหร่ครับ

    ถ้าจะให้ uip 1 พันขึ้น pv ต้องประมาณ 1 พันขึ้นครับ (อิอิตอบง่ายดีไหม)

  4. ้ิheadbone says:

    แล้วเราทำหลาย web ได้เปล่าครับ เนื้อหาเดียวกัน แล้วก็เอา adsense เราไปแปะไว้

    สงสัยตรง uip ถ้า 1000 uip ก็เท่ากับ 1000 บาทขึ้นหรอครับ

  5. Gootum says:

    สงสัยตรง uip ถ้า 1000 uip ก็เท่ากับ 1000 บาทขึ้นหรอครับ

    อันนี้ไม่ใช่ครับผม เงินที่ได้จาก adsense นั้นคิดค่ามาจากการคลิ้กของแอดที่เราเอามาติดครับ ยิ่งคลิ้กมากแล้ว keyword คำนั้นแพงก็ยิ่งได้เยอะครับ

  6. แล้วแบบไหนดีสุดครับ

  7. sudej says:

    thx for all. nice guy

Leave a Reply