WordPress FAQs – Weblog Tools Collection https://weblogtoolscollection.com Weblog Tools Blogging Tools Blog Thu, 01 Dec 2011 08:54:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 1060991 WordPress, IIS and Plesk “Unable to find wp-content” Woes and Solution https://weblogtoolscollection.com/archives/2011/11/23/wordpress-iis-and-plesk-unable-to-find-wp-content-woes-and-solution/ https://weblogtoolscollection.com/archives/2011/11/23/wordpress-iis-and-plesk-unable-to-find-wp-content-woes-and-solution/#comments Wed, 23 Nov 2011 23:15:15 +0000 http://weblogtoolscollection.com/?p=10743 I tried to help a co-worker with a professional blog for a TV channel yesterday and ran into some weird issues. We host the blog on a Windows 2008 server with IIS and Plesk. The WordPress install from within the Plesk worked fine but ours did not. The “white screen of death” on the install screen was perplexing (more on that at the bottom of this article), but every time he tried to either upgrade WordPress or install or upgrade a plugin or theme, he would receive warnings or failures stating that WordPress was unable to find the wp-content directory. This warning can take various forms but circle around the fact that WordPress did not find the right directory in the expected place.

The obvious and painless solution is to upload the files directly to the server using FTP and then control the blog from within wp-admin. In this case, though I knew the simple solution, I wanted to get to the root of the problem. It turns out that weird permission issues with IIS and WordPress and in some extreme cases such as mine, can be solved with simple but somewhat hidden features to get the desired results.

A Google search revealed that adding a few lines of code to the end of your wp-config.php can solve most issues. As from Firdouss.com guide, try this solution first. Open up your production wp-config.php, find the end of the file and add the following lines at the end. Then save the file, upload to your server and try the process again.

if(is_admin()) {
	add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
	define( 'FS_CHMOD_DIR', 0751 );
}

If that does not solve your problem, you can use WordPress constants to solve your problem. It turns out (thanks to a comment on the Firdouss.com guide) that there are a host of constants that can be added to wp-config that can fix broken upload and install/upgrade problems among other things. That link to the Codex contains a detailed explanation of the constants and what they should be set to. Please refer to that link since it will continue to be updated. In my case, I had to add the following to the end of my wp-config.php file. I could also have modified the above code to return ftpext instead.

define('FS_METHOD', 'ftpext');

Now in my case, there were other permission issues that had to be resolved. Our Plesk install had a borked permission system and in order for uploads to be deleted after they are unzipped and copied (WP need to switch to a move), I had to also CHMOD the files. So I ended up with the following code at the end of wp-config.

if(is_admin()) {
	add_filter('filesystem_method', create_function('$a', 'return "ftpext";' ));
	define( 'FS_CHMOD_DIR', 0755 );
}

Now the uploads/upgrades/installs work fine. YMMV.

As for the weird installation issue, it turns out that when I uploaded the WordPress install files on the server and visited the URI, I got redirected to the following along with a white screen of death with no errors.

http://example.com/index.php/wp-admin/install.php

I needed to change that URI manually to the following for the install to continue. That was all.

http://example.com/wp-admin/install.php

Do you have any other suggestions? Are there any tricks that have helped you get similar issues resolved?

]]>
https://weblogtoolscollection.com/archives/2011/11/23/wordpress-iis-and-plesk-unable-to-find-wp-content-woes-and-solution/feed/ 2 10743
Fast as a CannonBall, in under 5 minutes! https://weblogtoolscollection.com/archives/2011/11/10/fast-as-a-cannonball-in-under-5-minutes/ https://weblogtoolscollection.com/archives/2011/11/10/fast-as-a-cannonball-in-under-5-minutes/#comments Fri, 11 Nov 2011 00:10:11 +0000 http://weblogtoolscollection.com/?p=10683 Notice anything different about Weblog Tools Collection? The name of the post probably gave it away. This blog is rocking in speed and deliverability! How you ask? Thanks to the fine work of the people over at Cloudflare.com

CloudFlare is a free(mium) service that was recommended to me by our own James. He had heard about it in conversations with some folks over dinner and wanted us to try it out. While this blog has gotten loaded over the years with JavaScript from various sources and code cruft of years, it has also gotten quite slow as a result. It is not the server (though Spam storms never help) and MySql running on the same server does not help. I had added caching thanks to WP Super Cache and had tweaked most of the settings to be tolerable on the server. I had even tried a CDN at one point but backed out because it turned out to be such a touchy beast.

The free CloudFlare product, which is what we use on here, is substantial enough to depend upon and is easy to set up. I might upgrade to their paid version once I am more comfortable with the results and have let it bake for a month or two. Signup was easy and it really took just under a few minutes to setup this blog. We have been running it for about three days now, with positive results and zero downtime. Let us go over some the details.

It takes just a few minutes to add your site to CloudFlare.com. Add it in, watch a video while it figures out all the details of your DNS, and then turn around and make the name server changes it asks you to make. There are instructions included on the page and it tries to help you make the best choices. It is worth noting that only self hosted WordPress blogs are capable of using CloudFlare. Since the actual change needs to happen at the registrar and name server level, TTL reduction will not help propagate it faster. While Go Daddy seemed to push the changes through quickly for us, it can take up to 48 hours for everything to work properly.

CloudFlare.com

Once the name server changes are made, you just sit back and watch. The free service from CloudFlare performs a bunch of automated magic, including using location aware technology to redirect your visitors to the right cache of your content. I know that the content is still live and interactive, but the seamless nature of the change makes this so easy and attractive. It speeds up your site using a variety of caching technologies and a CDN, including automatically minifying your scripts, reducing extra items in your HTML. It eventually reduces the amount of bandwidth you consume on your server and the number of requests actually hitting your server.

  • It works with static and dynamic content. Direct access is no sweat since a subdomain is created that goes directly to your site! For all of you using virtual hosts, let me calm your fears. CloudFlare works fine with virtual hosts.
  • It is always online, even buffeting traffic surges and reducing downtimes. (I have a concern about this. I turned off the MySql server by mistake and the blog displayed a DB error. I assume that if my server is down due to spam storm, the same thing will happen. I will have to investigate that.)
  • Reduces slowdown effect of third party tools and scripts such as FaceBook, Google AdSense or Analytics and Twitter. We have a lot of those!
  • Protects against network threats such as spammers, uses previously reported information for protection. This is fantastic, if it works.
  • Provides visitor analytics that are better than those based on JavaScript. I see a huge difference between thee results and those provided by StatCounter.
  • Provides a host of other third party plugins that can easily be installed. I use a couple of them.
Now to be honest, some of the more cool analytics and security features are behind a paywall. Some of us geeks will like the enhanced version better. The plugin ecosystem is also fantastic. Some of the plugins (apps) include Clicky, Google Analytics, Pingdom, Smartling and Blitz for load testing. The free version is enough for most needs and is substantial enough for us to recommend it to our readers. More about CloudFlare Features and Pricing.

Some recommendations for WordPress users:

  • There is a WordPress Plugin, use it to be safe. http://wordpress.org/extend/plugins/cloudflare/ Once it is installed, there is a setup page (which is not linked from the plugin page, fix?) that asks you to put in an API key and then lets you optimize your database.
  • Continue to use Akismet and any other Caching plugin you have. Instructions are everywhere. Be sure to mark spammers etc. All of it helps the ecosystem.
  • Be patient. In my case, the changes were up within an hour. It might take longer for you.
  • If all else fails, switch your name servers back and ask for help.
Have you used CloudFlare.com? How do you like it? Will you try it out?
]]>
https://weblogtoolscollection.com/archives/2011/11/10/fast-as-a-cannonball-in-under-5-minutes/feed/ 34 10683
WordPress and Internationalization https://weblogtoolscollection.com/archives/2011/10/19/wordpress-and-internationalization/ Wed, 19 Oct 2011 13:00:32 +0000 http://weblogtoolscollection.com/?p=10605 I’m sure that you’re all familiar with WordPress in English, but did you know that WordPress is available in 121 languages? There is definitely a lot of work that goes into that, and it’s just another reflection of the power of the WordPress community.

Maybe you want to know what goes into that, or how you can get involved. If you do, this presentation from WordCamp Montreal 2011, featuring Paolo Belcastro and Zé Fontainhas, offers a great peak into a world of WordPress that you may have never experienced or even expected.

]]>
10605
WordPress FAQ: Moving WordPress https://weblogtoolscollection.com/archives/2011/02/27/wordpress-faq-moving-wordpress/ https://weblogtoolscollection.com/archives/2011/02/27/wordpress-faq-moving-wordpress/#comments Sun, 27 Feb 2011 14:00:49 +0000 http://weblogtoolscollection.com/?p=9715 So, you’ve just installed WordPress, but you’re not happy about the /wordpress/ that it adds at the end of your domain, or you’d just like to move it elsewhere. Fortunately, the process is rather easy.

Go to the Settings section of your Dashboard and change the two URLs there to the location that you want to move WordPress to. Don’t panic, this will effectively kill your blog until you move all of the WordPress files to their new location.

You may need to re-generate your permalinks at Settings/Permalinks in your Dashboard.

Once that’s done, see our handy guide for changing links and images after a move.

Moving a WordPress installation is not too much of a complicated procedure, but feel free to contact the WordPress Support Forums if you run into trouble.

]]>
https://weblogtoolscollection.com/archives/2011/02/27/wordpress-faq-moving-wordpress/feed/ 5 9715
WordPress FAQ: Blocking Spam Registrations https://weblogtoolscollection.com/archives/2011/02/25/wordpress-faq-blocking-spam-registrations/ https://weblogtoolscollection.com/archives/2011/02/25/wordpress-faq-blocking-spam-registrations/#comments Fri, 25 Feb 2011 14:00:11 +0000 http://weblogtoolscollection.com/?p=9713 Spam is not limited to just comments. If you leave your WordPress blog open to new user registration, you could be hit by a wave of spam bots or rather nefarious individuals registering with hopes that you’ll give them a chance to post spam on your blog.

First of all, do you really need open registration? If not, uncheck “Anyone can register” from the Settings area of your Dashboard.

So, what if you need open registration? First, stop the bad bots from even visiting your blog with Bad Behavior.

Now, you could certainly use a CAPTCHA on your registration form, but I wouldn’t bother with that. Several CAPTCHA have been broken by a simple program, and they just aren’t accessible. Instead, use Ban Hammer, which compares registration email addresses with your comment blacklist (just add them if you notice a trend) and the collective blacklist at Stop Forum Spam.

Like comment spam, registration spam will be a constant battle, but Bad Behavior and Ban Hammer should at least make it easier on you.

]]>
https://weblogtoolscollection.com/archives/2011/02/25/wordpress-faq-blocking-spam-registrations/feed/ 7 9713
WordPress FAQ: Audio and Video https://weblogtoolscollection.com/archives/2011/02/21/wordpress-faq-audio-and-video/ https://weblogtoolscollection.com/archives/2011/02/21/wordpress-faq-audio-and-video/#comments Mon, 21 Feb 2011 14:00:40 +0000 http://weblogtoolscollection.com/?p=9708 If you attempted to upload an audio or video file to a post in WordPress, you may notice that all you get is a link to download the file. If you want the file to actually play, you’ll need to use an extra plugin.

By far, the most popular audio plugin is WordPress Audio Player. Video plugins are significantly less popular, probably because video files take up so much space and bandwidth, and it’s so easy to embed videos from external providers.

When embedding audio and video, I prefer to use the Degradable HTML5 Audio and Video Plugin. Sure, it may require some file conversion, but it’s a great way to embed both audio and video files that use the browser’s native (non-Flash) player while also providing the option of a Flash-based player for browsers that don’t support HTML5 embeds.

If you’d rather embed videos from an external provider, it’s easy to do (as mentioned above), but Viper’s Video Quicktags providers a few additional features and customizations, plus it uses XHTML-valid embeds, which most external providers tend to avoid for some strange reason.

Embedding audio and especially video opens your blog to a whole new world of content. Give it a try, you may enjoy it.

]]>
https://weblogtoolscollection.com/archives/2011/02/21/wordpress-faq-audio-and-video/feed/ 4 9708
WordPress FAQ: Dealing with Malware https://weblogtoolscollection.com/archives/2011/01/10/wordpress-faq-dealing-with-malware/ https://weblogtoolscollection.com/archives/2011/01/10/wordpress-faq-dealing-with-malware/#comments Mon, 10 Jan 2011 14:00:18 +0000 http://weblogtoolscollection.com/?p=9480 Recentently, we published two FAQs on finding free themes and free plugins, and both contained strong warnings about malware and steps to avoid infection, but what if your WordPress blog is already infected?

The first thing to do is to confirm the existence of a malware infection by running the Exploit Scanner plugin. Once you have confirmed the existence of malware, refer to this handy Codex guide. Why simply link to the guide? Because this handy guide is updated by WordPress’ volunteer community to present the latest tips and tricks to clearing the latest malware infections from your blog.

Of course, the best way to prevent a malware disaster is to regularly backup your database and files, but WordPress’ volunteer community has also compiled a list of recommended security measures.

This is the fourth entry in our hopefully long-running WordPress FAQ series. What did you think, and what questions would you like us to answer next?

]]>
https://weblogtoolscollection.com/archives/2011/01/10/wordpress-faq-dealing-with-malware/feed/ 1 9480
How do WordPress Automated Upgrades Work? https://weblogtoolscollection.com/archives/2011/01/08/how-do-wordpress-upgrades-work/ https://weblogtoolscollection.com/archives/2011/01/08/how-do-wordpress-upgrades-work/#comments Sat, 08 Jan 2011 14:00:31 +0000 http://weblogtoolscollection.com/?p=9469 Have you ever wondered how WordPress handles the automated core, plugin, and theme upgrades? Well, it’s time for some quick weekend education!

Long-time support forum volunteer, Ipstenu, has done all the thinking for you and has clearly laid out the inner-workings of the automated upgrade process.

It’s a quick read, and you might leave with a new respect for the automated upgrade system, and a new understand for why you should create a child theme if you want to modify your own theme.

]]>
https://weblogtoolscollection.com/archives/2011/01/08/how-do-wordpress-upgrades-work/feed/ 12 9469
Mini Guide To Choosing A Web Host https://weblogtoolscollection.com/archives/2011/01/07/mini-guide-to-choosing-a-web-host/ https://weblogtoolscollection.com/archives/2011/01/07/mini-guide-to-choosing-a-web-host/#comments Fri, 07 Jan 2011 20:00:56 +0000 http://weblogtoolscollection.com/?p=9465 The one thing that most of us WordPress self installers have in common is that we’re using a web host of some kind whether it be shared hosting, VPS, or a dedicated server. Web hosting is one of those industries that has a very low entry barrier thanks to reselling. This enables fly by night shops to open up as a web hosting company only to disappear a few months later. This doesn’t happen in all cases as reselling provides a great opportunity to learn a thing or two but I’ve since lost my trust in resellers. Choosing a web host is probably the most important decision you make as everything rests on their shoulders for your web site to stay online. Without further adieu, here is a list of questions and things to consider when choosing a web host. Note: This mini guide is mainly geared towards shared hosting.

Trend spotting: WordPress Centric Hosting – Over the past two years, a new form of web hosting has cropped up that tries to bridge the gap between all the safety nets WordPress.com offers with the freedom to do whatever you want via the self installed version of WordPress. Examples of these types of companies include Page.ly and WPEngine. I’ve noticed more and more of these types of companies starting to open shop while at the same time, long time players in the web hosting industry are starting to create WordPress centric packages. One thing you need to keep in mind is that a WordPress centric host does not make them better than all of the other options.

How Up To Date Are Their Servers? – During the early part of 2010, there were a number of instances where large, well-known web hosting companies became victims to exploits and attacks thanks to outdated software in use on their servers. Before becoming a customer, ask the web host in question what versions they are using for php, MySQL, phpMyAdmin, etc. A good web host will generally always be using the most recent stable version of software.

Reputation Check – Type into Google the name of the web host you’re interested in followed by the word sucks. You should quickly noticed that every web host sucks. What you should really be paying attention to is not only the severity and amount of problems that users report, but how the company responded to those problems. Every web host is going to encounter its share of problems but it’s how they handle those problems that makes a big difference. An excellent resource for all things web hosting that has been in existence for years is WebHostingTalk.com. If you’re interested in hardware, software, all things related to what it takes to make a web hosting company run, that forum will make your mind explode with detailed discussions.

Human Recommendation – If you start a thread on the WordPress Support forum asking for advice on which web hosting company to go with, chances are you’ll get 3-5 different company names as recommendations. If one of these companies interest you, be sure to ask around to get personal experiences from folks, especially as they relate to customer service and up time. However, similar to the Google Research conundrum, it could turn out that all of your friends have had success with a particular company and you turn out to be the bad apple with a bad experience.

Check And Double Check Policies – It’s imperative that you read the Terms Of Service and Acceptable Use Policies for the host you’re interested in using. While many hosting companies advertise unlimited everything, you’ll find out by looking in the small print within their AUP that if your site goes overboard with CPU, space, or bandwidth resources, you’ll be cut off. Unlimited is a great marketing technique but there are always limitations so take the term unlimited with a grain of salt.

DoS And DDoS Attacks – I found this out the hard way early in 2010 when my own web site, WPTavern.com was hit with a denial of service attack. When I contacted support for AnHosting, they basically told me that I must figured out a way to stop the attacks because after the site gets suspended three times in a row for using too many resources, they would remove my site along with my account. Needless to say, this infuriated me as I’ve been a loyal customer for over two years and they failed to work with me to find a cause along with a resolution. DoS attacks are a common thing these days so please make sure that whatever web host you’re interested in using has a firewall or some type of preventive measures in place to help out instead of abandoning the customer as my previous host did.

Support – Probably one of the most important aspects of choosing a web host is their support system. Look for companies that offer a variety of support solutions such as forums, ticket system, email, and a phone number. I’d choose a web host that has 24/7 support versus week days only. Extra points to those web hosting companies that don’t outsource their support to countries/companies that don’t speak English very well.

Redundancy – If the companies website and services go down, do they have a fail-over system in place? Is your data mirrored to that fail-over system? Does it have the same security precautions as their first system? This is not overly important as their are a number of options available specifically for WordPress users to create redundancy of their data.

Communication – This is one area in which I see web hosting companies screwing up the most. You’d figure that by now, they would understand that communication with their customers is paramount but most of them still don’t get it. Ask the web host you’re interested in whether or not you’ll be contacted if maintenance is required on the box your site resides on. Also ask where all such service interruptions and other announcements will be published. Nothing like publishing a post in WordPress only to hit the button and see a site not found error.

Payment Options – Make sure you understand any money back guarantee that is offered. I recommend staying away from purchasing web hosting for more than one year at a time unless the money back guarantee specifically states that refunds can be pro-rated. Preferably at 1, 3, or 6 month periods at the most. This way, you’re not locked into a specific host. You’ll regret it when you’re halfway through your contract and the web host experiences severe technical difficulties that last a week or more but you can’t move to a new web host because you’ll lose money from not fulfilling the other half of the contract. It may seem like you’ll save tons of money by purchasing 3-5 years worth of hosting, but realize this is a very high risk you’d be taking.

SSH And SFTP – SSH stands for Secure Shell. It’s a Unix-based command interface and protocol for securely getting access to a remote computer. It is widely used by network administrators to control Web and other kinds of servers remotely. SSH is actually a suite of three utilities – slogin, ssh, and scp – that are secure versions of the earlier UNIX utilities, rlogin, rsh, and rcp. SSH commands are encrypted and secure in several ways. Both ends of the client/server connection are authenticated using a digital certificate, and passwords are protected by being encrypted.

SFTP on the other hand is the secure version of the FTP protocol. SFTP, or secure FTP, is a program that uses SSH to transfer files. Unlike standard FTP, it encrypts both commands and data, preventing passwords and sensitive information from being transmitted in the clear over the network. It is functionally similar to FTP, but because it uses a different protocol, you can’t use a standard FTP client to talk to an SFTP server, nor can you connect to an FTP server with a client that supports only SFTP.

Sandboxing – Probably the most important question you can ask to a shared hosting company is how they secure/sandbox the user account space. By default *nix systems don’t protect user home directories. Also, how do they secure/sandbox the php processes. By default, php has to run with apache privileges and any code that runs on the server, regardless of user, runs in the same security context. Sandboxing the PHP code to a specific user account is important on a shared host so that user1 can’t write some code that hijacks user2?s site.

Conclusion:

While this isn’t the all encompassing guide to choosing a great web host to put your WordPress powered web site on, it does provide food for thought. This is just a short list of things to consider but in reality, having a great experience with a webhosting company is almost like winning the lottery because it’s so rare. In my experience with WPTavern.com, I experienced 2 great years with my previous host and then it turned into a nightmare in just a matter of two weeks forcing me to move. In fact, I moved twice in one week due to the problems I was having with migrating my site. Ultimately, it comes down to gathering as much information as possible in order to make an informed decision as to whether a particular webhost is right for you. Price should not be the only determining factor for hosting your site, especially if you plan on taking things seriously.

]]>
https://weblogtoolscollection.com/archives/2011/01/07/mini-guide-to-choosing-a-web-host/feed/ 11 9465
Add Voice Search to WordPress https://weblogtoolscollection.com/archives/2011/01/06/add-voice-search-to-wordpress/ https://weblogtoolscollection.com/archives/2011/01/06/add-voice-search-to-wordpress/#comments Thu, 06 Jan 2011 14:00:42 +0000 http://weblogtoolscollection.com/?p=9450 Do you have a WordPress blog? Do you want to add voice search to your blog? Well, thanks to Otto the Tech Ninja, you can with just a slight modification to your theme!

Yes, this will only work in Google Chrome if you have the Voice Search extension or if you’re using the latest development version, but with most computers shipping with built-in microphones these days, Voice Search certainly makes searching easy, and it’s a great way to impress your friends.

]]>
https://weblogtoolscollection.com/archives/2011/01/06/add-voice-search-to-wordpress/feed/ 2 9450
WordPress FAQ: Finding Free WordPress Plugins https://weblogtoolscollection.com/archives/2011/01/04/wordpress-faq-finding-free-wordpress-plugins/ https://weblogtoolscollection.com/archives/2011/01/04/wordpress-faq-finding-free-wordpress-plugins/#comments Tue, 04 Jan 2011 14:00:54 +0000 http://weblogtoolscollection.com/?p=9436 Without a doubt, the best place to find free WordPress plugins is the official Plugin Directory. With over 12,000 plugins, compatibility polls, support tags, and usage statistics, it’s definitely the most complete resource out there.

Most WordPress users can easily find and install plugins from the official directory via Plugins -> Add New in their Dashboard, but some may need to complete a manual installation. To install a plugin manually, download it and then use an FTP or SFTP client to upload the decompressed archive to your blog’s /wp-content/plugins/ directory. Once the plugin has been uploaded, you should be able to activate it from the Plugins section of your Dashboard. If it isn’t appearing, the plugin may have additional installation instructions.

Plugins are not free from the dangers of malware, and can sometimes be far more dangerous than themes. Unfortunately, the plugin directory does not have a volunteer review staff like the theme directory does, so users need to be extra careful. Always check a new plugin’s tagged support topics before installing it and run the Exploit Scanner plugin before activating it. If it finds any results for the plugin files in the “Level Severe” category, just delete the plugin and find another. If you are ever uncomfortable with any of the results from the Exploit Scanner plugin, delete the plugin and find another.

Plugin malware is a serious issue. By simply installing and activating a plugin, you could instantly lose all of your data, subjecting your visitors to invasive scripts, or leaving your blog open to malicious attack.

To be safe, always run the Exploit Scanner plugin before activating a new plugin.

This is the third entry in our hopefully long-running WordPress FAQ series. What did you think, and what questions would you like us to answer next?

]]>
https://weblogtoolscollection.com/archives/2011/01/04/wordpress-faq-finding-free-wordpress-plugins/feed/ 4 9436
Adding Menus To The Admin Bar https://weblogtoolscollection.com/archives/2010/12/17/adding-menus-to-the-admin-bar/ https://weblogtoolscollection.com/archives/2010/12/17/adding-menus-to-the-admin-bar/#comments Fri, 17 Dec 2010 20:00:29 +0000 http://weblogtoolscollection.com/?p=9239 As part of their ongoing series, WPEngineer has published a cool post that explains how to add new menus to the admin bar coming in WordPress 3.1. In the example, Frank adds a Codex Search button to the admin bar which is pretty convenient! He covers the function add_menu() and it’s various parameters as well. In the comments of that post however, Latz brings up an interesting point.

Oh great, now every plugin will put a menu in the admin bar, Next stop: a plugin preventing others from cluttering the admin bar.

While it’s pretty funny to think about the admin bar containing menus for all sorts of different plugins, it’s a potential problem that users may have to deal with in the future. Hopefully, plugin authors are diligent with not adding a menu to their options page as part of the default package of a plugin. For certain plugins, the idea works well but not for all of them.

So while this is a neat little tutorial on how to add menus to the admin bar, are you worried that plugin developers may take this too far?

]]>
https://weblogtoolscollection.com/archives/2010/12/17/adding-menus-to-the-admin-bar/feed/ 5 9239
WordPress FAQ: Finding Free WordPress Themes https://weblogtoolscollection.com/archives/2010/12/17/wordpress-faq-finding-free-wordpress-themes/ https://weblogtoolscollection.com/archives/2010/12/17/wordpress-faq-finding-free-wordpress-themes/#comments Fri, 17 Dec 2010 14:00:48 +0000 http://weblogtoolscollection.com/?p=9236 With theme malware on the rise, many users are left wondering where the safest place to find free WordPress themes is, or how to protect themselves from potentially dangerous themes.

Without a doubt, the best place to find free WordPress themes is the official WordPress Theme Directory. Themes can be submitted to the directory by almost any author, but the themes are thoroughly checked for quality and safety by a team of dedicated volunteers. With over 1,200 free themes and a handy tag filter interface, you’d have a hard time not finding the perfect theme for your blog.

There are certainly other places to find free themes, like Theme Lab, but how can you be sure that the theme you downloaded is safe? If you plan to download themes from anywhere but the official WordPress Theme Directory, you should install both the Exploit Scanner and Theme-Check plugins.

Run the Exploit Scanner plugin immediately after installing the theme. If it finds any results for the theme files in the “Level Severe” category, just delete the theme and find another. If the Exploit Scanner gives it a pass, activate the theme and run the Theme-Check plugin. If the Theme-Check plugin gives the theme a pass, you should be good to go.

If you are ever uncomfortable with any of the results from the Exploit Scanner or Theme-Checker plugins, delete the theme and find another.

It’s generally safe to download and install a free theme from the actual developer’s site, but you should still run both plugins just to be sure.

Theme malware is a serious issue. By installing a free theme from any source except the official WordPress Theme Directory, you could be unknowingly running spam ads, subjecting your visitors to invasive scripts, or leaving your blog open to malicious attack.

To be safe, make sure that you either get your free themes from the official WordPress Theme Directory or at least run the Exploit Scanner and Theme-Check plugins.

This is the second entry in our hopefully long-running WordPress FAQ series. What did you think, and what questions would you like us to answer next?

]]>
https://weblogtoolscollection.com/archives/2010/12/17/wordpress-faq-finding-free-wordpress-themes/feed/ 10 9236
WordPress FAQ: Changing Links and Images After a Move https://weblogtoolscollection.com/archives/2010/12/13/wordpress-faq-changing-links-and-images-after-a-move/ https://weblogtoolscollection.com/archives/2010/12/13/wordpress-faq-changing-links-and-images-after-a-move/#comments Mon, 13 Dec 2010 14:00:04 +0000 http://weblogtoolscollection.com/?p=9189 So, you’ve just moved your WordPress blog following the official instructions, but what about all of your internal links and images?

Even though you may have changed your main URL during the move process, your internal links and images will remain unchanged, leaving images broken and internal links pointing toward the old domain or directory. Sure, you could manually edit every single post or page, but there are other ways.

The easy way is to use a plugin called Velvet Blues Update URLs. It’s a very simply plugin. You just enter your old URL, then enter your new URL, and this plugin take cares of the rest. I know, it almost seems too easy, but in this case it really is just that easy. Of course, if you want to make it a little bit more difficult, we sure can.

What if Velvet Blues Update URLs disappears and you’re left to fend for yourself? You can use the Search and Replace plugin to search for your complete old URL and replace it with your new URL. A note on searching for the complete URL, don’t take shortcuts. If you moved from maindomain.com/blog/ to maindomain.com, do not simply search for and replace all instances of /blog. This will all affect all instances of /blog, including links to other sites and blogs that may have /blog in the URL. Instead, search for maindomain.com/blog/ in its entirety and replace it with maindomain.com.

What if you can’t use plugins? What if you have an illogical need to do everything the hard way? Well, we haven’t forgotten about you. There’s a hard way to do just about anything. Simply backup your database and open the .sql file in a plain text editor. As above, search for and replace all instances of the complete old URL with the new URL. The same warning about shortcuts applies here as well. Once you’re done, save the file and restore your database.

As always, if you run into any problems, the volunteers in the WordPress Support Forums will be more than happy to help.

This is the first entry in our hopefully long-running WordPress FAQ series. What did you think, and what questions would you like us to answer next?

]]>
https://weblogtoolscollection.com/archives/2010/12/13/wordpress-faq-changing-links-and-images-after-a-move/feed/ 12 9189
Add Hovercards to Your WordPress Blog https://weblogtoolscollection.com/archives/2010/10/10/add-hovercards-to-your-wordpress-blog/ https://weblogtoolscollection.com/archives/2010/10/10/add-hovercards-to-your-wordpress-blog/#comments Sun, 10 Oct 2010 13:00:08 +0000 http://weblogtoolscollection.com/?p=8795 Gravatar recently launched Hovercards, a new feature that servers as a nifty bridge between your Gravatar and your Gravatar Profile.

Hovercards have already been enabled throughout WordPress.com and WordPress.org, and there is an official plugin in the works, but what if you can’t wait for the official plugin to add Hovercards to your WordPress blog?

If your theme has a functions.php file, just add the following line within the file:

wp_enqueue_script( 'gprofiles', 'http://s.gravatar.com/js/gprofiles.js', array( 'jquery' ), 'e', true );

If your theme doesn’t have a functions.php file, or you’d rather not mess with it, use a plain text editor to create a file called hovercards.php with the following content, then use an FTP or SFTP client to upload it to the /wp-content/plugins/ directory, and activate it via the Plugins section of the admin panel.

<?php
/*
Plugin Name: Hovercards
*/
wp_enqueue_script( 'gprofiles', 'http://s.gravatar.com/js/gprofiles.js', array( 'jquery' ), 'e', true );
?>

Credit for the above code goes entirely to Otto and Alex. It is not official and not supported, so you should probably switch over to Gravatar’s official plugin when it’s released, but at least this will hold you over until then.

What do you think of the new Hovercard feature? Will you be adding it to your blog?

Update: The code listed above, while leaner, enables Hovercards everywhere (including the admin panel), which may not be a desired outcome for some users. If you find this to be a tad bit annoying, Otto’s code properly displays Hovercards on the blog side only.

]]>
https://weblogtoolscollection.com/archives/2010/10/10/add-hovercards-to-your-wordpress-blog/feed/ 40 8795