Quick way to know if your domain rediret works or not.

Usually webmasters use 301 and 302 to redirect a site from an old domain to a new domain.

If you use 302 make you set the second=0 then 302 shall be same as 302 for 301 redirect.

After couple days google search engine updates data centers. You can check google [ info: ] and [ cache: ] to see whether your domain has been really redirected or not.

Here I like to add some how redirection scripts work information:

How the header 301 quick redirect work

PHP script
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http : // next-site /”);

ASP script
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http : // next-site /”

However some webmasters are using it for gaining fake PR ( Google PageRank )

By knowing how some black hat SEO webmasters use header 301 redirect you can avoid to buy fake PR domain name.

Example 301 scripts:

PHP script
if (strstr($_SERVER[‘HTTP_USER_AGENT’], “Googlebot”)) {
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://G/&#8221;);
else {

ASP script
if instr(Request.ServerVariables(“HTTP_USER_AGENT”),”googlebot”)>0 then
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http:// G /”
end if

302 – redirection – example

redirection refresh count by second

html meta
<meta http-equiv=”refresh” content=”0; url=http://——.com”>

Example Code:
<meta http-equiv=”refresh” content=”10; url=http://——.com”>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<meta name=”title” content=”” />
<meta name=”description” content=”” />
<meta name=”keywords” content=”” />
<meta name=”publisher” content=”” />
<meta name=”copyright” content=”” />
<meta name=”rating” content=”General” />
<meta http-equiv=”reply-to” content=”” />
<link rel=”stylesheet” type=”text/css” href=”” />
<meta http-equiv=”refresh” content=”60;url=” />

302 redirect tips
When “refresh” content=0 second may have similar to 301 redirect for bots.
You may use <meta http-equiv=”refresh” content=”0;url=http : // a new URL” />


Free Short URL redirect

Google PageRank checker tool


Tags: , , , , , ,

One Response to “Quick way to know if your domain rediret works or not.”

  1. Deandra Bazylewicz Says:

    Fantastic posting, I bookmarked your site so I can visit again in the near future, Cheers, Deandra Bazylewicz

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: