![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
HyperActive Warrior
War Room Member
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 446
Thanks: 239
Thanked 33 Times in 25 Posts
|
Hey guys,
I've been using a basic html re-direct to cloak my affiliate links. It looks like this; Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Refresh" content="1; URL=AFF LINK" target="_blank"> <title>TITLE</title> </head> <body> <br /> </body> </html> Am I right that I just have to add Code:
<meta name="robots" content="nofollow" /> If yes, is this the place where I'm supposed to put it? Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Refresh" content="1; URL=AFF LINK" target="_blank"> <title>TITLE</title> <meta name="robots" content="nofollow" /> </head> <body> <br /> </body> </html> Thanks in advance! |
|
|
|
|
|
#2 |
|
Ultimate War Machine
War Room Member
Join Date: Oct 2009
Posts: 53
Thanks: 2
Thanked 12 Times in 12 Posts
|
Yep, that's the place you put them (anywhere within the <head> tag)
![]() Alternatively, you can also centralize it in your robot.txt files. Helps a lot if you have a huge number of pages. |
|
Last edited by TheLimeDesign; 10-07-2009 at 04:08 AM. Reason: extra tip |
|
|
|
|
| The Following User Says Thank You to TheLimeDesign For This Useful Post: |
|
|
#3 | |
|
HyperActive Warrior
War Room Member
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 446
Thanks: 239
Thanked 33 Times in 25 Posts
|
Quote:
What do I need to put in my robots.txt? | |
|
|
|
|
|
#4 |
|
Ultimate War Machine
War Room Member
Join Date: Oct 2009
Posts: 53
Thanks: 2
Thanked 12 Times in 12 Posts
|
okay, this is your basic robot.txt file content:
Code:
User-agent: * Disallow: /examplefolder1/ User-Agent: Googlebot Disallow: /examplefolder2/ This way, you can sort out which FOLDERS you want to index and which you want to leave out. This covers the WHOLE FOLDER. To customize this further, you can use the following: To block the entire site, use a forward slash. Code:
Disallow: / Code:
Disallow: /junk-directory/ Code:
Disallow: /private_file.html Code:
User-agent: Googlebot-Image Disallow: /images/dogs.jpg Code:
User-agent: Googlebot-Image Disallow: / Code:
User-agent: Googlebot Disallow: /*.gif$ Code:
User-agent: * Disallow: / User-agent: Mediapartners-Google Allow: / Code:
User-agent: * Disallow: /file1.html Disallow: /page4.html User-Agent: Googlebot Disallow: /examplefolder2/ Disallow: /junk-page.html
|
|
|
|
|
|
|
| The Following User Says Thank You to TheLimeDesign For This Useful Post: |
|
|
#5 | |
|
HyperActive Warrior
War Room Member
Join Date: Jan 2009
Location: Melbourne, Australia
Posts: 446
Thanks: 239
Thanked 33 Times in 25 Posts
|
Quote:
All of the links I'm talking about are in a folder called "Recommends" so would the following set up; Code:
User-agent: * Disallow: /Recommends/ | |
|
|
|
|
|
#6 |
|
Ultimate War Machine
War Room Member
Join Date: Oct 2009
Posts: 53
Thanks: 2
Thanked 12 Times in 12 Posts
|
Hey Pat,
I'm really sorry, I overlooked the post. If index is what you are looking for, then follow the post above I gave. You are right, nofollow and noindex are not the same. A page can be indexed and nofollowed at the same time and vice versa. The main purpose of these are actually related to the indexing, ability of crawling and the PR of the page. Basically, nofollow could not be integrated into robots.txt. That said, you will have to insert the nofollow meta tag in the head section of all pages of yours (I hope you are using PHP). To make it easier to understand, noindex (meta) - disables indexing of the page, but your page will still be crawled and the PR will be affected nofollow (meta) - does index your page still, but the links are NOT crawled and it does NOT contribute to your PR at all robots.txt - This is the file the bot searches first before finding the pages. robots file will only send the URL of your pages to google and whether or not it should be processed further. It does not have any affect on the crawling of your pages but it does affect PR rate of your page. Once again, sorry for the confusion. I hope I made it clearer this time. ![]() Cheers~ |
|
|
|
|
|
|
| The Following User Says Thank You to TheLimeDesign For This Useful Post: |
![]() |
|
| Tags |
| html, link, redirect |
| Thread Tools | |
|
|
![]() |