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
How about using rel nofollow? It is safe too?
#yes, it’s
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?
[...] have learned how to create a HTML and PHP redirection links. Both methods are a bit hard, for newbie particularly, and a waste of time [...]
Layak dicoba nich…thanks for sharing this brilliant idea
makasih tips nya
is it for self hosted?
woow..
good guys!
^^