• Home
  • Contact Me
  • Forum
  • Podcast
WordPress Tavern
Where Every Drink Is On The House
Browse: Home / pressthis
Fixing PressThis On A HostGator Account

Fixing PressThis On A HostGator Account

By Jeffro on March 23, 2011

hostgator logoIt all started with a couple of tweets by Bradley Potter when he mentioned a HostGator specific bug to Andrew Nacin. Since WPTavern.com is also hosted on HostGator, I decided to try and replicate the bug. Following his instructions I was able to replicate the error pointing towards the possibility of something on HostGator not configured just right.

While testing another plugin by Trevor Fitzgerald that ties into his website PressTags.com, I noticed that the Reblog feature didn’t work. It provided the same error as the Comment Trash link bug that Brad had mentioned. The reblog feature uses the built in PressThis bookmarklet in WordPress to republish an article. After going back and forth with Trevor as I thought his plugin was the one causing the error, I decided to install a fresh copy of WordPress within a subfolder to see if I could recreate the PressThis bookmarklet error. Sure enough, even on a fresh install, I would receive a 404 error each time I tried to use it. However, the raw URL for the bookmarklet worked just fine. Thinking that it was an HTACCESS problem, I got with Peter Westwood on Skype to perform some more troubleshooting but we discovered that even with an empty HTACCESS file, the error still occurred.

Trevor and I finally came to the conclusion that there was something wonky with HostGator and the way it treats URLs that had the following in it: _wp_original_http_referer. Both the move comment to trash link and the PressThis bookmarklet utilized this text and from what I can tell, adds the URL to my site twice within the link. Trevor then discovered a thread on the HostGator support forum from 2008 that mentions an Apache upgrade that broke someones site. More specifically, the PressThis bookmarklet.

It looked as though mod_security had something to do with the breakage and in order for it to work again, the URL had to be whitelisted by HostGator. After I created a support ticket with HostGator explaining the situation and linking to the thread, they were able to tell me that some of the things I had been doing were definitely triggering some mod_security rules. They whitelisted those items which ended up fixing my problem not only with the PressThis Bookmarklet but with the Move Comment To Trash link as well.

So if you’re running on HostGator and the same thing is happening to you, create a support ticket and request that you be whitelisted for those mod_security rules. One of the questions I had received after publishing the answer to this support question is whether the whitelist for mod_security opens up the site to any security vulnerabilities. I have no idea. But if you do, please share those within the comments.

Posted in WordPress | Tagged hostgator, pressthis, wordpress | 3 Responses

Good Luck Charles Stricklin

Good Luck Charles Stricklin

By Jeffro on December 6, 2009

wppodcastlogoThe immediate future of The WordPress Podcast has been determined. Joost de Valk has purchased the name and rights to The WordPress Podcast for an undisclosed amount. Over time, PressThis and The WordPress Podcast will merge together with The WordPress Podcast eventually being the mainstay of the show. Also as part of the new format, Joost will be joined by Frederick Townes, author of the W3 Total Cache plugin and CTO of Mashable.com. He’ll be doing the news segment of the show each week. Personally, I enjoy listening to the show and am a fan of what they are doing. With WordPress Weekly, I’m either all news or all interview. These two will be mixing it up so you get the best of both worlds.

2009 has been an unfriendly year for Charles with financial troubles, personal issues, technical problems and sadly, the death of his mother. Charles is using this as opportunity to start fresh on a new project that will involve video. I wish him the best of luck. He’s a great guy and the primary inspiration for me starting WordPress Weekly.

In one of my favorite episodes of the podcast, I had the unique opportunity to chat with Charles Stricklin about his foray into WordPress, the difficulties involved with producing the show, podcasting in general and a few other tidbits.

Posted in News | Tagged charles stricklin, podcast, pressthis | 3 Responses

Yoast Interviews SmashingMagazine Creator

Yoast Interviews SmashingMagazine Creator

By Jeffro on October 7, 2009

pressthislogo Joost De Valk who hosts his own weekly WordPress podcast called PressThis recently interviewed Vitaly Friedman who is the creator of SmashingMagazine.com, one of the most popular sites dedicated to the topic of web design. During the interview, I found out that the site is run on eight different servers, two of which are media servers. I’ve also developed a new found respect for the people involved with SmashingMagazine as a bunch of hours and hardwork goes into everything they publish on the site. Another example of how consistent, quality content mixed with hardwork goes along way. Also part of the discussion is the reason why Smashing decided to acquire Noupe.com.

The episode is about 46 minutes in length but is well worth the listen.

Posted in News | Tagged magazine, pressthis, smashing, vitaly friedman | 2 Responses

© Copyright WPTavern 2012 All rights reserved About / Stats / Poll Archive / Site Archive // Powered by WordPress Mtn. Dew And Hybrid