Skip to content

September 12, 2009

7

Creating Php Extension Redirect Pages

This tutorial of creating php redirect pages is useful for hiding affiliate links pages from search engine. It can keep our Google PR intact otherwise we’ll be regarded as a paid-linking blog / website and will get penalized accordingly.

Here’s a simple way to create:

1. Copy the following code into notepad:

<html>
<head>
<title>Co.CC free Domain</title>
<meta name="robots" content="noindex,nofollow">
<script>window.location="http://www.co.cc/?id=147405";</script>
<meta http-equiv="refresh" content="1; url=http://www.co.cc/?id=147405">
</head>
<body>
<p align="center">You are being taken to the correct page.
<br>If the page does load after 5 seconds,
<a href="http://www.co.cc/?id=147405">click here</a>.</p>
</body>
</html>

2. Save it into a php file. In my case, I name it cocc.php (of course, you have to change the affiliate links above into your own links).

3. Upload into a folder in your root server. I create a folder called “go”. And upload it there.

So, the affiliate link I put on my website will be fatihsyuhud.com/go/cocc.php. Not co.cc/?id=147405

7 Comments Post a comment
  1. Sep 12 2009

    How about using rel nofollow? It is safe too?

    #yes, it’s

    Reply
  2. Sep 14 2009

    Hi, could you give more specific detail about number 2. You said “Upload into a folder in your root server” To where? Where I could create a folder? Which root server?

    Reply
  3. Sep 18 2009

    Layak dicoba nich…thanks for sharing this brilliant idea :-)

    Reply
  4. Oct 7 2009

    makasih tips nya

    Reply
  5. Oct 27 2009

    is it for self hosted?

    Reply
  6. woow..
    good guys!
    ^^

    Reply

Trackbacks & Pingbacks

  1. Redirection Wordpress Plugins

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments