Jump to content


IPFeeder


  • Please log in to reply
10 replies to this topic

#1 Guest_SniperX_*

Guest_SniperX_*
  • Guests

Posted 11 December 2004 - 03:04 PM

I have added a new snippet to the Snippet Library!

Snippet name: IPFeeder
Author: Father Claus
Version: 1.0 (Final)
More info: View this snippet
Description:
Detects IP addresses contained within an array and feeds different content depending on the IP Address being detected.

Please feel free to comment on this snippet, suggest improvements, or simply praise my work! ;)

[This is an automatically created message]

#2 Guest_SniperX_*

Guest_SniperX_*
  • Guests

Posted 11 December 2004 - 09:12 PM

I just want to reaffirm the importance of understanding this snippet before using it.

I strongly suggest reading this link and the links at the bottom of it before even considering using it.

IP Delivery is a proven but very controversial method of increasing search engine rankings. Please exercise caution.

#3 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,786 posts

Posted 14 December 2004 - 09:49 AM

Hi Father Claus!

I'm new to search engine stuff, and had never even contemplated going into the search engine area... I had successfully submitted my sites to the search engines, but never done any more... my sites got near the bottom of the page when looking for them...

Now I have a question... and was wondering if you could help or advise me...

I noticed the Write Your Content for the Search Engines page on the etomite site and decided to have a read... which helped me a bit :)

Now I find this snippet and decide I want to use it, but I need advice - what exactly do I put on the page that it goes to? just a string of keywords, separated by commas, links or what?

Like I said before, I have never ventured into the Search Engine playground, and I think I at least want to try and stand in it.. if you get what I mean... nothing ventured, nothing gained.

Any suggestions or advice appreciated.

Kind Regards,
Dean S

#4 Guest_SniperX_*

Guest_SniperX_*
  • Guests

Posted 14 December 2004 - 10:33 AM

Hi

Ok First let me stress again, some search engines take a very dim view of what they consider "cloaking" and may ban any site that they find using this method. That said, many thousands (probably millions) use it without any ill-effect. (Especially those in very cometitive markets, such as, <cough> the adult entertainment industry, as well as some SEO companies (despite what they tell you), and many other highly competitive areas.

My personal view is that it helps search engines sort the chaff from the wheat, so to speak, by giving it only the relevant content.

So What Do You Do With the New Page?

Essentially what you want to do is write a page purely for the search engines. This means, no images are required, no javascripts are required, etc. Just pure relevant content.

Please, whatever you do, don't write a page just full of keywords such as "keyword1, keyword2, keyword3, keyword4, over and over.

The directed-to page should make perfect sense to a human reader. The only difference really is that the content should be far more targeted.

For example, if your current homepage is about, I don't know, boats, then great, but if you write an entire homepage all about it, spanning several paragraphs, then users will invariably see all the text you have and figure they don't have time -- they go elsewhere.

Whereas, you can write as much as you like on the stealthed page as users won't see it. (I would suggest adding a "This is a text-only version of our site -- Click here to visit the full version" type of thing, linking back to the homepage.)

If you are new to search engine workings, then I would seriously suggest looking at improving existing content before attempting anything as brave as this snippet.

Please let me know if I can be of any further help. Perhaps it's time for me to get my finger out and write part 2 of the search engine document....

#5 Guest_SniperX_*

Guest_SniperX_*
  • Guests

Posted 14 December 2004 - 10:42 AM

For a better education on IP-Delivery than I could ever provide, you may want to browse the Fantomaster website. He's arguably the God of IP-Delivery.

It takes some navigation prowess however, as the site isn't the best laid out site there is.

#6 lianeb

lianeb

    Etomite Forum Fan

  • Member
  • Pip
  • 99 posts

Posted 18 December 2004 - 04:25 PM

I am writing a page for search engines that contains the exact same content as the page it corresponds to. No html except title, description, keywords, and then text content after the body tag, and navigation links at the bottom.

The fact that Google caches these pages is bothersome, but I've just used a bit of absolute positioning for a notice box - i.e. this is a text only version of mysite.com click here for html version.

I think that if you keep the content the same, and don't use any obvious spamming techniques like repetition or invisible links, that you're in the clear. At least I hope so! :)

#7 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,786 posts

Posted 24 December 2004 - 02:31 PM

I am writing a page for search engines that contains the exact same content as the page it corresponds to.  No html except title, description, keywords, and then text content after the body tag, and navigation links at the bottom.

Hi Father Claus, I have done the same above, and I have entered my IP address as one of them in the list - but it just displays the normal page, not the one it should have gone to :(

My pages aren't cached (I don't use that feature of :eto:)

I have generated one page that uses basically the entire site's text copied and pasted into the page - but no, it shows the original... d'oh!

:) any advice appreciated.. oh and merry xmas :)

The IPFeeder feature, in theory, could be used to "ban" users from within a specific IP range, could it not? send them off somewhere else like google :lol:

#8 lianeb

lianeb

    Etomite Forum Fan

  • Member
  • Pip
  • 99 posts

Posted 26 December 2004 - 12:08 PM

Hi Father Claus, I have done the same above, and I have entered my IP address as one of them in the list - but it just displays the normal page, not the one it should have gone to :(

My pages aren't cached (I don't use that feature of :eto:)

I have generated one page that uses basically the entire site's text copied and pasted into the page - but no, it shows the original... d'oh!

:) any advice appreciated.. oh and merry xmas :)

The IPFeeder feature, in theory, could be used to "ban" users from within a specific IP range, could it not? send them off somewhere else like google :lol:


You should double check your IP # - http://www.whatismyip.com/ will tell you what it is. I have this installed and it works like a charm.

#9 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,786 posts

Posted 26 December 2004 - 12:54 PM

You should double check  your IP # - http://www.whatismyip.com/ will tell you what it is.  I have this installed and it works like a charm.

Hi, yes my IP is correct, I just double-checked...

Is anyone able to re-post their code here for the actual snippet as I believe the snippet library bug hasn't been fixed yet... it may be worth my comparing of the snippet against my own.

thanks for your help

Dean S

#10 Guest_SniperX_*

Guest_SniperX_*
  • Guests

Posted 26 December 2004 - 06:21 PM

1. Yes it could easily be used as a Member banning system.

2. I note you're in UK. Make sure that if (like me) you are using NTL cable (or one of many others) that any IP Detector you are using is picking up your IP Address and not that of the ISP transparent proxy. I get banned from many sites who fall for this one and ban the transparent proxy IP Address and not the actual IP Address.

Other than that, I'm at a loss as it was by using my own IP Address that I tested it.

Here's the original code:

//*************************************************************
// Snippet Name:  IPFeeder
// Purpose:       Feed content depending on IP Address
// Author:        sniperx admin@studiox-designs.org
//
// History:       11 December 2004 - Original Release
//
// Use:           Build and save snippet as IPFeeder,
//                add {!IPFeeder!] to pages you want to
//                detect IP Addresses.
//
// LICENSE:       For use only within LEGALLY Licensed 
//                copies of Etomite CMS.
//                You are free to amend this snippet for
//                your own needs. Please consider sharing
//                any modifications with the Etomite community.
//**************************************************************

// Add IP Addresses to Detect.
$ips = array('192.168.1.1','192.168.1.2','192.168.1.3','192.168.1.4'); // CHANGE ME

// Page to Redirect To Upon Detection.
$redirect = "/stealth.html"; //CHANGE ME
$retval="";

if (isSet($_SERVER)) {
   if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) {
      $realip = $_SERVER["HTTP_X_FORWARDED_FOR"];
   } 
   elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) {
      $retval = $_SERVER["HTTP_CLIENT_IP"];
   } 
   else {
      $retval = $_SERVER["REMOTE_ADDR"];
   }
} 
else {
   if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
      $retval = getenv( 'HTTP_X_FORWARDED_FOR' );
   } 
   elseif ( getenv( 'HTTP_CLIENT_IP' ) ) {
      $retval = getenv( 'HTTP_CLIENT_IP' );
   } 
   else {
      $retval = getenv( 'REMOTE_ADDR' );
   }
}

if (in_array($retval, $ips)) {
   header("Location: $redirect");
}


#11 lianeb

lianeb

    Etomite Forum Fan

  • Member
  • Pip
  • 99 posts

Posted 29 December 2004 - 04:26 PM

Question - in my logs, all the google ips start with 66.249 - is it possible to just redirect all IPs with that #? Just checked and Google crawled my site, but the bot list was not up to date and it didn't go to my SE page. Would I do it like in .htaccess, using 66.249.*?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users