
![]() |
esrun
<?
//Author: esrun - admin@onlinehoster.com - http://www.onlinehoster.com // // Typogenerator// //Usage:Enter a keyword list and it will return an array for each keyword with a range of typos// //Big up my rude boy south east lad error_reporting(0); $keywordlist = $_POST['keywordlist']; function mixer($keyword){ //Array of letters to swap $layout = array( '1' => array('2','q'), '2' => array('1','q','w','3'), '3' => array('2','w','e','4'), '4' => array('3','e','r','5'), '5' => array('4','r','t','6'), '6' => array('5','t','y','7'), '7' => array('6','y','u','8'), '8' => array('7','u','i','9'), '9' => array('8','i','o','0'), 'q' => array( '1', '2', 'w', 'a'), 'w' => array( 'q', 'd', 'a', 's', 'e', '3', '2' ), 'e' => array( 'w' ,'f', 's', 'd', 'r', '4', '3' ), 'r' => array( 'e', 'd', 'f', 't', '5', '4' ), 't' => array( 'r', 'f', 'g', 'y', '6', '5' ), 'y' => array( 't', 'g', 'h', 'u', '7', '6' ), 'u' => array( 'y', 'h', 'j', 'i', '8', '7' ), 'i' => array( 'u', 'j', 'k', 'o', '9', '8' ), 'o' => array( 'i', 'k', 'l', 'p', '0', '9' ), 'p' => array( 'o', 'l', '-', '0' ), 'a' => array( 'z', 's' , 'w', 'q' ), 's' => array( 'a', 'z', 'x', 'd', 'e', 'w' ), 'd' => array( 's', 'x', 'c', 'f', 'r', 'e' ), 'f' => array( 'd', 'c', 'v', 'g', 't', 'r' ), 'g' => array( 'f', 'v', 'b', 'h', 'y', 't' ), 'h' => array( 'g', 'b', 'n', 'j', 'u', 'y' ), 'j' => array( 'h', 'n', 'm', 'k', 'i', 'u' ), 'k' => array( 'j', 'm', 'l', 'o', 'i' ), 'l' => array( 'k', 'p', 'o' ), 'z' => array( 'x', 's', 'a' ), 'x' => array( 'z', 'c', 'd', 's' ), 'c' => array( 'x', 'v', 'f', 'd' ), 'v' => array( 'c', 'b', 'g', 'f' ), 'b' => array( 'v', 'n', 'h', 'g' ), 'n' => array( 'b', 'm', 'j', 'h' ), 'm' => array( 'n', 'k', 'j' ) ); //PROXIMITY TYPOSfor($i=0;$i < strlen($keyword);$i++){ foreach($layout as $a => $b){ if(substr($keyword, $i, 1) == $a){ foreach($b as $replacement){ $keywords[] = substr_replace($keyword, $replacement, $i, 1); } } } } //END PROXIMITY TYPOS//MISSED LETTERS TYPOSfor($i=0;$i < strlen($keyword);$i++){ $keywords[] = substr_replace($keyword, "", $i, 1); } //END MISSED LETTERS TYPOS//DOUBLE LETTERS TYPOSfor($i=0;$i < strlen($keyword);$i++){ $keywords[] = substr_replace($keyword, substr($keyword, $i, 1), $i, 0); } //END DOUBLE LETTERS TYPOS//SWAP LETTERS TYPOSfor($i=0;$i < strlen($keyword);$i++){ $keywords[]=substr_replace($keyword, strrev(substr($keyword, $i, 2)), $i, 2); } //END SWAP LETTERS TYPOSreturn($keywords); } if(!$keywordlist){ echo "<form method='post' action='index. php'>Keyword List:<br /><textarea cols='40' rows='10' name='keywordlist'></textarea><input type='submit' value='Generate'></form>";} else { $keywordlist = explode(" ", $keywordlist); foreach($keywordlist as $keyword){ print_r(mixer(strtolower($keyword))); echo "<br /><br />"; } } ?> KaptainKrayola
w00t - you just saved the Kaptain a couple hour's work - thanks!
![]() m0nkeymafia
smart stuff, not even a hello, just straight into the code lol
![]() esrun
Enjoy guys
![]() perkiset
Sweetness Esrun.
@Synkd8 v2.0: I like to think of it more as a fork... there is a lot of stuff that we dont (and shouldn't!) discuss in this open forum, but a lot of stuff that is just vastly too technical and boring for Syndk8. Ergo the <>additional marketing opportunity> sister board. /p SEOidiot
Dont worry about my friend Esrun hes always that much of a grumpy mopheaded twat..... :
![]() perkiset
:thinks to self: Hmmmm... teakettle, pot... what was that analogy?
![]() SEOidiot
no mop but 2 outta three aint bad...
perkiset
@Esrun -
I have spider food for my most common typos ie., jewelrry jewelery, jewlry and such that've been all IDd via wordtracker and looking at our ref logs... at the end of the day, how much traffic do you see coming from yourtypos as opposed to correct spelling? Do you see 3%typod... 10%... 20% or more? Don't need real specifics here, but if you have a vague idea it would give me a notion of just how hard I might apply such a technique in the future. My application/model is a bit different from <folks that would find this most useful>, so I'd just love a sketch...Thanks! /p dink
I'm obviously not Esrun, but.....
I have used typos and misspellings for years now. Mostly on pill pushing affiliate sites. I always include them near the bottom of the index page with text kinda-sorta like - -"Trimspa" is sometimes found in the search engines as trimsap, timsayp, etc. you get it I'm sure. As a percentage of traffic? Hmm. Not sure, but I can go look at some logs and maybe tell. One thing I am sure of tho, the traffic for the typos and misspellings convert at a better rate than the mean.// goes off to look at log files... Hokey Doakey. I just checked the most obvious suspect and have some results for you. The product is Cortislim. Here are the relevant misspellings and typos with the appropriate %.The format is number of hits % word 18 40.00% cotrislim 8 17.78% quartaslim 5 11.11% cortosol 3 6.67% cottislim 2 4.44% cortslim 2 4.44% coritslim 2 4.44% cirtislim Without going into the various server logs, I believe that the above would be representative of all of my sites of this type. D nutballs
i have used
typos for quite a while as well. i found atypousage that works quite well... you have to target correctly, but when it works, it works well. people whotyposeem to be more willing to buy stuff. dunno why.dink
quote author=nutballs link=topic=238.msg1600#msg1600 date=1179637272 ... people who typoseem to be more willing to buy stuff. dunno why.Ya. They are more willing. I think it's because they're grateful. They found exactly what they searched for even if they can't spell. perkiset
I'm wondering about simply cloaking the
typo'd pages with an actual... ie., provide real content withouttypos, but cloaktypod version(s) to the spiders that resolve to the clean one... goes along with my "partially" cloaked site notion...esrun
I don't seem to be getting emails notifying me of replies. Anyway mr Pesky, I'm not a huge user of
typos so wouldn't have very good stats I'm afraid.perkiset
This is a strange issue... a couple other folks complained of this to me yesterday as well... I'm getting lots of topic notifications, but clearly there's something amiss... I'll be looking at it in the next day or so, thanks for the heads up!
/p SEOidiot
i dont get notifications either - so it isnt just esrun being awkward....
SEOidiot
erm i think you havent 'adjusted' the defaults to make all topics subscribe as default rather than us idiots having to choose.....</
![]() dink
quote author=perkiset link=topic=238.msg1608#msg1608 date=1179686382 I'm wondering about simply cloaking the typo'd pages with an actual... ie., provide real content withouttypos, but cloaktypod version(s) to the spiders that resolve to the clean one... goes along with my "partially" cloaked site notion...IMO it would work and work well. Upstream, you mentioned that the words you want to target have been verified as being searched for. Go for it. I don't know if the LSI stuff has any meat to it. It might be that you could make your cloaked typos read sorta like real text. Try putting some of them in bold and make a list of others.You have to report back tho. ![]() |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads