Perishable Press Comment Archive

Posted on September 15, 2008 by Jeff Starr

Welcome to the Perishable Press Comment Archive! Here you will find around 100 of the most recent comments made here at Perishable Press. Enjoy!

Subscribe to the Perishable Press Comment Feed

100 Latest Comments

  1. Nena Dockery: Jeff, I don't understand anything about slurps or other computer talk, but wonder if you can help me answer a nagging question. Please excuse my obvious ineptitude in this area. Last May my Yahoo mail was hacked. One of the several clues that led me to the hacker's identity was an email left in my ...
  2. Ryan: Thanks for this. Scouring the web looking for a solution described me perfectly. I was getting odd characters - looked like a hex number - before any zip files that I was sending through a script. They'd download okay in Chrome, but when I tried to get it to download via fsockopen the file was in...
  3. John M: @Bryan Nelson - Just put the IP addresses you want in an array then run the same check as above essentially as: $goodips = array('192.168.0.1','192.168.0.2'); if(!in_array($ipofvisitor, $goodips)) {    //send the visitor an error message or ne...
  4. php_pro: Hello --------------- I need to convert this URL for exampel:{like wordpress} ...../?p=26 ==> ...../user.php?username=26 I use this .htaccess but not work Options +FollowSymlinks RewriteEngine On RewriteRule ?p=([a-zA-Z0-9_-]+)$ user.php?...
  5. Bryan Nelson: Thanks for providing this code. I wanted to know Is there a way to block all ips except few. Do I have to write long array to achieve that? Please help...
  6. TJ: I tried using the list as posted and even the revised list, I get a 500 internal server error. Also, I want some bots like google and wireless versions of yahoo bing msn and the like to be able to reach the site. Does anyone have a good list for me to try. Our resources are under heavy use than...
  7. Jon: This helped me! I had previously been using the feedburner feedsmith plugin, but I needed to be more specific with specific feeds. Your solution did the trick. I reposted at one of my sites with a credit and link to your site: ...
  8. RichT: I saw smartReadFile (Reads the requested portion of a file and sends its contents to the client with the appropriate headers.) it started here http://php.net/manual/en/function.readfile.php#86244 and was updated at the end of https://groups.google.com/forum/#!msg/jplayer/n...
  9. Jack Demchak: How can I display the total comments from a Wordpress blog site on a web page? example : Blog Site Comments: 32 I would like to have a script to read the URL: monessen1963.wordpress.com/feed , then display the results on a web page. I know a little javascript, but not familiar ...
  10. Top 10 (standalone) Floyd: Things seem to work out great with Roger and David fighting; what it brings out of these two is equal parts self actualization and pure shining out of spite for each other. In all my years of listening I have never heard a more...perfect combination of subtlety and gore! Where Dave pours softness ov...
  11. Josh: Jani, I'm no expert, but that method seems to depend on the behavior of the user agent. IOW, the browser must (1) load multiple, repeated backgrounds and not the first or last only, and (2) further override the url()s with 'none'. While it may work, it would require testing and I'm guessing isn't de...
  12. mrtvy.kenny: thanks a lot, my wordpress generated htaccess script that was NOT working, you saved me after 2 hours of trying to solve this. im so angry right now.. :(...
  13. Ed Gonzalez: I personally lie to use "|" and "-" and has work the best formy title tags....
  14. Best Pink Floyd Albums: Awesome list! I adore Pink Floyd, my Best Pink Floyd Albums are: Dark Side of the Moon Meddle Animals Piper at the Gates of Dawn Wish You were Here ...
  15. Jeff Starr: Thanks ;)...
  16. GrammarFairy: "Chic," not "sheik."...
  17. Jeff Starr: Hey lan, that was most likely the dark/lite theme-switching I had set up. You can do it much easier by toggling an id to the body element and then styling from there....
  18. john: great tutorial! im not familiar with programming and i am confused where i should place those codes if i have a custom template also do you know if this is compatible with wordpress 3.3. I am using magazine-basic template . please, advice!!...
  19. lan: Hi Jeff, This is off topic but I'm pretty sure I read this particular css trick off your website about two years ago. I lost all my notes so please, I hope you don't mind me asking. It's in regards to style.css found in a website source code.. When user clicks on it, it opens a totally diffe...
  20. Jeff Starr: Hmmmm... I'll have to re-listen and see what's there.....
  21. Jeff Starr: Hey Mike, not sure but I've found that there are some text/character strings that just won't wrap in all browsers. Usually after some wrestling I can get things in shape, but really it's just a matter of experimenting and seeing what works with the design....
  22. Mike: Very informative! Thank you! "To enable word-wrapping for your content, use the following slice of CSS" I followed your instructions, but the result isn't still exactly the same in different browsers. Here's the embed code: <iframe src="//www.facebook.com/plugins/like.php? href=h...
  23. Reihaneh: What about Breakthrough?...
  24. michael soriano: Thanks Jeff. You can add Vaultpress in your plugin list. It works fine....
  25. Jeff Starr: Yeah the root folder enables the rules to protect everything. Moving it to another location is fine also, but the execution is top-down, so anything outside of the directory won't be protected by 5G. No need to include multiple copies in any subdirectories (wp-admin, et al) — one ...
  26. michael soriano: do you recomment pasting this code in the root wp folder only? or subdirectories as well such as "wp-admin" "wp-content" etc. also, has anybody tried this with vaultpress plugin?...
  27. Elijah Clark: thanks for the info. i still dont know if its what i need, but may get teh job done for now. was looking for something to pass protect the directory and that alone....
  28. jaffa: Hi Jeff Thanks for the quick reply. I tried that but it didn't work :s...
  29. Jeff Starr: Hey jaffa, adding an "Allow" line for your server's IP address usually does the trick.....
  30. jaffa: how do you allow images to be shown when using this method?No images are displayed...
  31. Joseph: You've offered some useful tips here. My site's hosted by TypePad so I'm unable to get to my site's htaccess, but I do have Pubsubhubbub enabled through feedburner. What's so disheartening about content theft/plagiarism is that some of these criminals actually promote their tech on the search engine...
  32. Jonathan: I used your code hoping it would solve my problem, but alas it did not. While it does stop image hot linking, the redirect does not work no matter what I do. As such I am unable to serve up my "angry" image. I believe this is because it conflicts with the rewrite rules of WordPress Multisite as if I...
  33. Chan: that worked fine, in google result another websites post is displayed first but that solution not working, cause that code block images also, this worked fine for a construction page. thanks :)...
  34. Nicole: Thank you, thank you, thank you - i have been searching for ages to find my OE files and could not unerstand why i could not import them but now i know that all the advice i was reading was in relaiton to outlook not OE. I have just retrieved years worth of personal folders etc and they are now all...
  35. Kalind: Damn! I have Obelisk the tormentor, but its a fake. Thanks for helping me, otherwise I would never have known....
  36. Josh: I had been getting corrupt zip files, and was searching everywhere for a fix, and these three lines just saved me. while (ob_get_level()) {      ob_end_clean(); } Thanks Vladimir!...
  37. Jeff Starr: Hey Sharon, looking at Cor-el's code, it looks like something that you would add to your browser, so it's only a local fix and won't change anything on other people's browsers. Adding the code anywhere in WordPress will do nothing, unfortunately. Good luck!...
  38. kaffeinewp: I congratulate you ofr your decision. I switched to Mac in 2003 (e-mac 1ghz Jaguar) and it's the best decision I take. Then in 2005 I switched the small network on my office(the old one) and I configured it my self. It took me about a morning. No bad, as it was my first time :) In 2008 I started ...
  39. Jeff Starr: It's not required, just comment it out with a # sign and see if it works. Here is official info on RewriteBase: http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase...
  40. Nashua: I have disabled my rss feed, because I find out that even when you block people, they can still read your website outside your website to use rss readers and that is not the meaning. So I have disabled my rss feeds, and use the .htacces files to block them, what else can you do?...
  41. Wendy: I was recently a victim of a hacker and destroyed almost every site I had developed. It was certainly a wake-up call for me to start learning about website security. I came to visit your site via Lynda Secure Sites tutorials and it has opened my eyes to all the "nasties" I had no idea existed. Than...
  42. Sharon: Hi Pinto and Perishable. The "missing" favicon issue is actually caused by the latest version (8.0.1) of FF that you may have upgraded to. Like you, my favicon is missing. And it happened after the upgrade. See this FF support article: https://support.mozilla.com/en-US/questions/890741?pag...
  43. J.Bex: orderby=rand increase msql query.how to minimalize it in wordpress?...
  44. Mark: I've put this code into my apache2.conf file, but when I include the "RewriteBase /" line I get the following error Syntax error on line 269 of /etc/apache2/apache2.conf: RewriteBase: only valid in per-directory config files ...fail! Do I need to have that line? ...
  45. Mark Burgess: I found your comments by accident and it sounds like your coming from the same place as me! After the ipad experience I just cant wait to junk my monster PC. Decisions decisions? you've gone a long way to help me out. Thanks....
  46. JohnnyB: My fav songs, not the best but the ones I'm addicted to: Echoes Matilda Mother Flaming Arnold Layne Corporal Clegg Let There Be More Light Dogs Astronomy Domine The Trial ( first time I listened to it, it bl...
  47. Paul McKeown: Sorry, Jeff, I guess humour and tongue in cheek doesn't always work on the net. I guess that's what smileys are for. Offence unconditionally untaken!...
  48. Nizzy: You are missing the awesome mod_rewrite DB way, so that you can build your DB dynamically. http://perlcode.org/tutorials/apache/attacks.html...
  49. Jeff Starr: Sorry didn't mean to hurt any feelings, just thought you were having fun with that first part.. I stand corrected....
  50. Alexandre Plennevaux: Paul, I find your concern to be right, and justified. My technique makes screen readers provide a very reasonable experience. It replaces the email mailto: link by html that explains how to reconstruct the email address: info(replace these parenthesis by @)pixeline.be Javasc...
  51. Paul McKeown: Jeff, The point is genuine. All the methods stated here prevent or obstruct different groups of genuine readers from obtaining or using an email address from a site that uses these methods. If you wish to take such a dismissive tone towards genuine concerns, why bother providing a comment f...
  52. Jeff Starr: LOL - relax Paul, nobody is gonna falsify WCAG/508 compliance without consulting you first! Thanks for the laugh....
  53. Paul McKeown: Interesting article, interesting comments. BUT utterly unconvincing. All the "solutions" provided have unacceptable accessibility and/or usability faults. Use them if you will, but never claim compliance to WCAG/508 or any other accessibility standard or code, if you should do so. Perhaps ...
  54. Jeff Starr: nev - great question.. I'm thinking that using display:none causes problems for some browsers.. (but it's been awhile)...
  55. nev: Why not just use display:none ?...
  56. NoahY: Top 10 Favorite Floyd Albums: Atom Heart Mother Zabriskie Point Session Animals Obscured by Clouds Dark Side of the Moon Meddle Wish you Were Here More OTC The Division Bell Ummagumma ...
  57. Dave Doolin: "Echoes" is my all time favorite. I probably first listened to it in 74, on vinyl. Meddle is my favorite alblum, probably followed by Ummagumma....
  58. David Eldridge: Thank you. That was very helpful. I've been using short tags for a while, and had a nagging idea that I should consider it more carefully. I can now use it more intelligently. I still favor them for reasons that Antoine gave early on, but your observations are enlightening (and delightfully unassumi...
  59. Andrew: I'd just like to say that RewriteLog should NEVER be used in a .htaccess file as it will throw an error 500. Keep it to your vhosts rather.....
  60. Richard: Thanks for posting this. I've been having trouble with hotlink protection on my site. I am using Cpanel's hotlink protection and have been unable to allow acces to Google images etc. Reading thru the comments I see that my situation is the same as that described by Ububtulinux help. Hopeful...
  61. Mike: hi, After applying the user agent black list in my htaccess, it triggered an error in the Facebook Comment. The error is: Warning: http://www.mysite.com/my-post/ is unreachable. What do I need to remove in the list in order to still allow facebook comments?...
  62. Alan: Hi Jeff S, I have been getting some great assistance & explanations from Jeff M. in regards to this WP pagination issue. Curious of your opinion about that code I mentioned above from the Thesis forum. Any thoughts on handling that way? Don't want to bother him w/ more :-) Although I see t...
  63. Lukic Milos: My version of CSS Optimizer with tips and techniques. http://www.lukicmilos.in.rs/CSSOptimizer/ Hope you like it. :D...
  64. Derick2012: i just wanna say thanks a ton for this jeff. this has really helped. my site was getting killed by bots and the first day of installing this i caught over 40 of them...
  65. Pete: Is there some variable that can replace the domain name in the following line? RewriteCond %{HTTP_REFERER} !.*perishablepress.com.* [OR] I am trying to put together a .htaccess that I can put on any host with out editing each copy. Thanks...
  66. Kelly: Hey, I just downloaded this, and after a couple touch up's it works great. Couple things I did were move blackhole.dat and blackhole.php out of my www directory. Then I made a php file called footer.php that just inserts the link for bad bots to follow. Then I edited my php.ini and added blackhol...
  67. Alan: @ Jeff M, Didn't realize who you were until now! Considering that you are the man behind the code in this post..I am all ears! ;-) I would greatly appreciate your help as well, if you're so inclined. Please read my last post for a better explanation. Sorry for all the comments Jeff S!...
  68. Alan: BTW, I also noticed something else in regards to the paginated comments... All of the dups reported in GWT that I checked have less than 50 comments yet are reporting as such: mypost.com mypost.com/comment-page-1 So, not sure why the latter is being created when there are not even 50 co...
  69. Alan: Huh? It's an issue on my site. Prefer not to use a plugin to fix it......
  70. Derick2012: nevermind i got it to work after hours after testing...
  71. JeffM: Dudes Pardon me, but this dupe-content-comment-paging thing has been a non-issue for ...like ...ages. ZB Phantom is fixing it, yawn, etc... Please don't blow me out on my birthday of all days, Perishable....
  72. Alan: Hi, True, but since most traffic comes from G, & not as much from the others, was thinking at least I would make G happy! If you don't mind...here is some code from girlie over at Thesis. What do you think of it & how is it different than yours? function robots_comment_pages()...
  73. Jeff Starr: Hi Ken, Yep, knew about it and even discussed it in detail in this comment thread. Thought about renaming it, and still might, but for now the easiest way to avoid conflicts is to change the version number to something crazy high, like 99999.99 or something so WP won't do the auto-update....
  74. Jeff Starr: Hi Alan, That's a great idea that should work for compliant search engine bots, but unfortunately there's not many of them these days. Even some of the larger bots like Yahoo Slurp are known to ignore robots.txt directives and crawl whatever they want. It gives them an "edge" in finding con...
  75. Derick2012: doesnt show for some reason but im referring to the step about what is suppose to be put at the top of each page. the step that was reccomended for the header cant get that to work on vbulletin. plz work. i really wanna ban these bots automatically...
  76. Derick2012: how do i get this to work on a vbulletin forum? everyone works fine except for the banning part. i cant seem to get that to work i get a syntax error no matter where i put this i put it everywhere possible. error, error error. ive been at this for hours i tried my header, skin, html...
  77. Alan: Hi Jeff, I just switched a site over to Thesis, & for some reason that seemed to cause hundreds of the /comment-page-1 duplicate titles & meta descriptions. Not sure what Thesis would have to do w/ it but either way, the problem now exists... Rather than fiddling w/ WP, why not simply ...
  78. Ken: I tried Authenticate, but it's way nifty... It doesn't do what I hoped. I have a site that has multiple content authors. I'm trying to find a way to add the author's name to a feed excerpt so that after (or before) the date it will include "Posted by: XYZ" Do I have to edit a WP core file? Is ...
  79. Ken: Hi Jeff, Did you know there is an "Authenticate" plugin on WordPress.org? And if you install your plugin, WP will tell you there's an update available. And if you chose update, your Authenticate is removed and replaced by the one WP.org has.. Ken...
  80. Michael: Great post! I am having an issue with the allowing of a website. I don't know wether I'm doing it wrong but, if I allow a website access to mine does that mean that I can put a link inside the website I am allowing access to my site which when clicked will allow people access to my site. Site (...
  81. jani anderson: Does anyone have an aversion to the following technique? #imagePreloader { display:none; background:url(images/image1.jpg); background:url(images/image2.jpg); background:url(images/image3.jpg); background:url(images/image4.jpg); background:url(images/image5.jpg); background:...
  82. Tim: Ran into this, had to throw in my 2 cents. Here's my 10 (at this moment): 1. One of these days ... for some reason, this track is just clicking on all cylinders lately. Both the meddle and pompeii versions. Not a heck of a lot to it, but an absolute masterpiece. Very intense, and everything is...
  83. Emily: I do think Macs are better than pc's. I still haven't made the switch though, although I would like to! I do think the graphics on the Mac are excellent - they can't be faulted! I think for business though, the PC is more appropriate and easier to use for a large group of people. And of course is ch...
  84. epic: hi, how do i implement this if my webserver is using NGINX? it does not have mod_rewrite or htaccess. thanks...
  85. iftekhar: Thank you so much for all the codes & instructions.. it helped me a lot. :)...
  86. Chaz: Hey, Very good post! I remember the first time I had my content scraped in this fashion. I was furious, because I had spent serious time and energy researching and writing a good article, just to have it stolen. After about a year and a half, I have come to appreciate the theft. My links leading ba...
  87. Chaz: Hey Jeff, Thanks for getting back to me so quickly. I saw the sample, that the above code came from work on the coders test site, but he never created folders for the parameters, or uploaded content. I think it was more of a take the money and run kind of thing. I can create folders and upload my f...
  88. Jeff Starr: Hey Chaz, generally speaking URL parameters are used by scripting languages such as PHP to keep track of things and enable specific, context-specific functionality. So if it were me, I would look at the site files and maybe scan/search for some of the parameter names to get an idea of their purpo...
  89. Jeff Starr: Hi Ralph, did you bother to check the date on the post before commenting? It's nearly three years old, a virtual lifetime in this field. Back then, the "accessibility" thing had yet to hit the mainstream. But now that it has, it's good to see that the general mindset hasn't changed. Either way, t...
  90. Ralph Hams: "hardcore accessibility puritans" ... as well as nearly all successful corporations, companies (clients) that don't want to be sued for ADA non-compliance, and people who cater their websites to a large audience would also fall into this group. Using outlines to enable ac...
  91. Chaz: Sorry, here it is. param name="FlashVars" value="ver=mk_design&t=orderFromTpl& tid=1513&category_id=484&uid=4af4dc0449&sku=484"...
  92. Chaz: Hello, I am working on an unfinished site for a friend of mine and I have no idea where these id's ? are pointing to. Are they pointing to folders and files on his server? It's a flash engine which pulls different editable images into it, and he had a falling out with the gentleman that was buildi...
  93. Russell Kasselman: Fantastic information. Since discovering your site, I have used it as a reference many times. Your posts are clear, concise and the code you provide just works. I just used this .htaccess trick today (skipping the IFModule as recommended by Andrew) and it works great. Much appreciated!...
  94. PhotoshopWarrior: Thanks for the post Jeff! I love the way you explaining it in ease but detailed. Thanks once again...
  95. Sumber Skripsi: Hello,can you post about how to change default post wordpress (-) to (+) ? example : http://www.domain.com/post/google-panda to http://www.domain.com/post/google+panda...
  96. Jeff Starr: Yep, perfect for beginner to intermediate - starts out with the basics, and ramps up as it digs into WordPress ;) More info here: http://digwp.com/book/...
  97. matt: Jeff... I cant thank you enough for making these tools to help block all the junk traffic on my sites. THANKS!!!...
  98. Jeff Starr: matt, the list blocks "google wireless" and "googlebot-image", but not "google" or "googlebot". Either of these may be removed if you want to allow access. "verif" is included, and may be removed as well. And to confirm: Bing, Ask, Yahoo and Google are not blocked by this blackli...
  99. matt: I see google, googlebot and verif in the user agent blacklist... Forgive me as I dont understand the code but by including them doesnt this mean that we are blocking google from indexing my website? Basically id like only bing,ask,yahoo and google to index my site. All others can be blocked. ...
  100. Alex Vera: It seems right for me. I am a newbie on WordPress. Do you think it is adequate for a beginner?...

[ No tags for this page ]