<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Swank Web Style Blog &#187; Web 101</title>
	<atom:link href="http://swankwebstyle.com/blog/category/web-101/feed/" rel="self" type="application/rss+xml" />
	<link>http://swankwebstyle.com/blog</link>
	<description>Web Design and Hosting</description>
	<lastBuildDate>Thu, 17 Jun 2010 17:46:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Web 101: Fixed a hacked site and prevent it from happening again &#8211; Part 2</title>
		<link>http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/</link>
		<comments>http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 20:27:54 +0000</pubDate>
		<dc:creator>Emily</dc:creator>
				<category><![CDATA[Web 101]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://swankwebstyle.com/blog/?p=71</guid>
		<description><![CDATA[In my previous post I talked about what to do to fix a hacked site. This post is about things you can do to make WordPress more secure so that something like that doesn&#8217;t happen again (or ever). The basic things were mentioned in the last post: change your passwords regularly, use strong passwords and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/">In my previous post</a> I talked about what to do to fix a hacked site.  This post is about things you can do to make WordPress more secure so that something like that doesn&#8217;t happen again (or ever).  The basic things were mentioned in the last post: change your passwords regularly, use strong passwords and always have the most current version of WP.  But here are some other things you can do:</p>
<p><span id="more-71"></span></p>
<p><strong>DON&#8217;T FORGET ABOUT YOUR PLUGINS!</strong> Security vulnerabilities can be just as much of an issue with plugins so they need to be updated, too.  The newest version of WP makes this easier than ever.  It tells you when you have a plugin that needs updating (a bubble pops up on the plugins link like it does for new comments) and all you have to do is press on &#8220;upgrade automatically&#8221;.  On many servers, you don&#8217;t need to do anything it will upload and install the plugin in seconds.  If your server isn&#8217;t set up that way, then you just need to put in your ftp host (in most cases, ftp.yourdomain.com), username and password.  Your host would have sent all this info to you, so you should have it.  If you don&#8217;t then get it, this is really important information to have.</p>
<p><strong>ADD SECRET KEYS TO YOUR WP-CONFIG.PHP</strong>.  As of WP 2.5 and then later in 2.6, they introduced the addition of several keys that can be added to increase security for your blog.  Open up wp-config.php and find this line:</p>
<blockquote><p>define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);    // 99% chance you won&#8217;t need to change this value</p></blockquote>
<p>Under it add these:</p>
<blockquote><p>define(&#8216;SECRET_KEY&#8217;, &#8216;PuT-in-A-bunCh-of-ranDom-leTTers,NumBers-and-syMbolS&#8217;);</p>
<p>define(&#8216;AUTH_KEY&#8217;, &#8216;PuT-in-A-bunCh-of-ranDom-leTTers,NumBers-and-syMbolS&#8217;);</p>
<p>define(&#8216;SECURE_AUTH_KEY&#8217;, &#8216;PuT-in-A-bunCh-of-ranDom-leTTers,NumBers-and-syMbolS&#8217;);</p>
<p>define(&#8216;LOGGED_IN_KEY&#8217;, &#8216;PuT-in-A-bunCh-of-ranDom-leTTers,NumBers-and-syMbolS&#8217;);</p></blockquote>
<p>You need to put a different random string of characters in each line.  You will <strong>never</strong> have to remember these, so make them as long and as random as possible.  <a href="http://api.wordpress.org/secret-key/1.0/">This handy site</a> will generate a random string for your every time you refresh the page.</p>
<p><strong>EDIT UNSECURE TEMPLATE TAGS</strong>.</p>
<p>In search.php or searchform.php find this:</p>
<blockquote><p><code>&lt;?php echo $_SERVER ['PHP_SELF']; ?&gt;</code></p></blockquote>
<p>And replace it with this:</p>
<blockquote><p><code>&lt;?php bloginfo ('home'); ?&gt;</code></p></blockquote>
<p>That makes it so it can only search your blog and not your entire server.</p>
<p>Also check search.php, searchform.php or header.php for this:</p>
<blockquote><p><code>&lt;?php echo $s; ?&gt;</code></p></blockquote>
<p>This allows malicious code injection so replace it with this:</p>
<blockquote><p><code>&lt;?php echo wp_specialchars($s, 1); ?&gt;</code></p></blockquote>
<p><strong>MAKE IT IMPOSSIBLE FOR SEARCH ENGINES TO INDEX WORDPRESS FILES</strong>.  It&#8217;s not a good idea to let search engines like google index every single part of your site, specifically your WordPress files.  Say that a vulnerability is discovered in one of the files in the wp-admin folder.  A hacker could just google that file name and the first site at the top of the list is the one he&#8217;s going to hack today.  To prevent this simply open up notepad or an HTML/text editor and add this:</p>
<blockquote><p>User-agent: *<br />
Disallow: /*/feed/<br />
Disallow: /*/feed/rss/<br />
Disallow: /*/trackback/<br />
Disallow: /wp-<br />
Disallow: /feed/<br />
Disallow: /trackback/<br />
Disallow: /tag/</p></blockquote>
<p>Name it <strong>robots.txt</strong> and upload the file to your WordPress directory (same place where you should find wp-config.php and .htaccess).  This not only disallows search engines from indexing private WP files, but also prevents them from indexing redundant files (which search engines can read as trying to spam them).</p>
<p><strong>DON&#8217;T ADVERTISE WHAT VERSION YOU ARE RUNNING</strong>.  If all your blog pages say &#8220;Powered by WordPress 2.5&#8243; (when the current version is 2.6.2), then you are just asking to be hacked.  Take that version out of your template.  In most cases this is going to either be in the sidebar.php or footer.php files.  Look for either of these template tags and delete them:</p>
<blockquote><p><code>&lt;?php get_bloginfo('version'); ?&gt;</code><br />
<code>&lt;?php bloginfo('version'); ?&gt;</code></p></blockquote>
<p>Also, check header.php, look for this line and delete it:</p>
<blockquote><p><code>&lt;meta name="generator" content="WordPress 2.5" /&gt;</code></p></blockquote>
<p>Unfortunately, in 2.5+ WordPress has started inserting this automatically.  This is bad because hackers only need to put that line into a search engine to find people using old versions of WP. If you have your robots.txt in place then this is not a major issue, because your template won&#8217;t be showing up.  But if you are still uncomfortable with having your version so public (they only need to view the page source to see it), then open up notepad or an HTML/text editor and paste this in:</p>
<blockquote><p><code>&lt;?php remove_action( 'wp_head', 'wp_generator' ); ?&gt;</code></p></blockquote>
<p>Save as functions.php and upload it to your theme folder.  If you have widgetized sidebars, then you probably already have a functions.php, so just edit the file and insert that code in there.</p>
<p>*Hat tip to <a href="http://www.binarymoon.co.uk/2008/04/how-to-stop-your-wordpress-blog-from-being-hacked-or-banned-by-technorati/">Binary Moon</a> for this.</p>
<p><strong>MAKE SURE YOUR DATABASE PASSWORD IS NOT THE SAME AS ANY OTHERS</strong>.  Your wp-config.php is a very easy file to find.  It has your database password sitting right inside it.  You absolutely must make sure that your database password is completely different from your WordPress password and your FTP/cpanel password.  If you are using the same password for all, a hacker can easily find this file and get in everywhere. If it is the same, then it will probably be simpler for you to change your WP and FTP passwords.  But changing your database password isn&#8217;t too hard through cpanel (click on MySQL and add a new user and password, then assign that user to your WP database, then go and update your wp-config.php file with the new user info).</p>
<p><strong>DON&#8217;T USE THE DEFAULT SETTINGS</strong>.  Most of the time, when you install WordPress it automatically gives you the username &#8216;admin&#8217;.  Hackers know this, so it can be unsafe because then all they have to do to get in is guess the password.  Go to Users and add a new username for yourself.  For the role, choose Administrator.  Once you&#8217;ve added your new username, log out and log in as the new user.  It&#8217;s better to have your nickname (what is displayed publicly on your blog) be different from your username, so you might want to edit your new user profile to change that.  Then check the box next to the admin username and delete it.  It will ask if you want to attribute all of admin&#8217;s posts to someone else, choose your new username.  This will transfer all your posts over to the new username.</p>
<p><strong>CHANGE THE DATABASE PREFIX.</strong> This is really a recommendation for when you are setting up a new installation of WordPress.  It&#8217;s not recommended for already installed blogs, especially for beginners as you can severely mess up your blog.  But if you are setting up a new WP blog, it&#8217;s a simple thing you can do to help increase security.  In the wp-config file, just look for the line that says:</p>
<blockquote><p>// You can have multiple installations in one database if you give each a unique prefix<br />
$table_prefix  = &#8216;wp_&#8217;;   // Only numbers, letters, and underscores please!</p></blockquote>
<p>wp_ is the default prefix and hackers know this, so this is just another case of changing the default WP options.  Change it to anything you want, though you&#8217;ll probably want to keep it short and random like kb_, cc_, ibc_, aba_, etc.</p>
<p>The plugin I mentioned in my previous post, <a href="http://semperfiwebdesign.com/plugins/wp-security-scan/">WP Security Scan</a>, will actually change the prefix for an already installed blog, but proceed with caution and make sure to backup your database before you try it.</p>
<p><strong>Here are some other plugins I know of that can help make your blog more secure:</strong></p>
<p><a href="http://wordpress.org/extend/plugins/askapache-password-protect/">AskApache Password Protect</a> &#8211; The author describes this plugins as creating a virtual wall around your blog to stop attackers from exploiting any kind of vulnerabilities.  Has some server requirements, though, so make sure you have those before installing.</p>
<p><a href="http://www.bad-neighborhood.com/login-lockdown.html">Login Lockdown</a> &#8211; Records the IP of every failed login attempt of your blog, the IP gets locked out after a certain number of failed attempts.  You can set this number and how long they get locked out, but the default is 3 failed attempts locks them out for an hour.</p>
<p><a href="http://wordpress.org/extend/plugins/stealth-login/">Stealth Login</a> &#8211; You can customize the login and registration URLs of your blog.  Just another example of changing the default options, making it harder for hackers to get in.</p>
<p><a href="http://wordpress.org/extend/plugins/secure-wordpress/">Secure WordPress</a> &#8211; This plugin removes the error info on the login page (so it doesn&#8217;t say &#8220;Wrong Password&#8221; anymore when you try to log in), removes the WP version from your theme and adds an index file to your plugin directory, so it can&#8217;t be accessed directly.</p>
<h2>Related posts:</h2><ul><li><a href="http://swankwebstyle.com/blog/2009/09/05/secure-your-wordpress-blog-upgrade-now/" rel="bookmark" title="Permanent Link: Secure your WordPress Blog. Upgrade Now!">Secure your WordPress Blog. Upgrade Now!</a></li><li><a href="http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/" rel="bookmark" title="Permanent Link: Web 101: Fixed a hacked site and prevent it from happening again &#8211; Part 1">Web 101: Fixed a hacked site and prevent it from happening again &#8211; Part 1</a></li><li><a href="http://swankwebstyle.com/blog/2009/07/01/notice-to-hosting-clients-billing-issues/" rel="bookmark" title="Permanent Link: Notice to Hosting Clients: Billing issues">Notice to Hosting Clients: Billing issues</a></li><li><a href="http://swankwebstyle.com/blog/2008/03/27/notice-to-swank-web-hosting-customers/" rel="bookmark" title="Permanent Link: Notice to Swank Web Hosting Customers">Notice to Swank Web Hosting Customers</a></li><li><a href="http://swankwebstyle.com/blog/2009/07/09/wordpress-2-8-1-is-out/" rel="bookmark" title="Permanent Link: WordPress 2.8.1 is out">WordPress 2.8.1 is out</a></li></ul><br />
<a href="http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/" title="Permalink">Permalink</a> | <a href="http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/#comments" title="Comments">Leave a Comment</a><br />
<hr />
<small>Copyright &copy; <a href="http://swankwebstyle.com">Swank Web Style</a> 2005-2009.<br />
This feed is for personal, non-commercial use only. The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 3218012a1d52458cc65f7ca3d7cc59c7)</small>]]></content:encoded>
			<wfw:commentRss>http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web 101: Fixed a hacked site and prevent it from happening again &#8211; Part 1</title>
		<link>http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/</link>
		<comments>http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 14:35:55 +0000</pubDate>
		<dc:creator>Emily</dc:creator>
				<category><![CDATA[Web 101]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://swankwebstyle.com/blog/?p=58</guid>
		<description><![CDATA[A client and Swank hostee emailed me a few days ago because her browser had notified her that her blog had been marked as suspicious by Google and she didn&#8217;t know how or why that had happened.  Further checking revealed that google had found malicious software being downloaded and installed without user consent.  Her site [...]]]></description>
			<content:encoded><![CDATA[<p>A client and Swank hostee emailed me a few days ago because her browser had notified her that her blog had been marked as suspicious by Google and she didn&#8217;t know how or why that had happened.  Further checking revealed that google had found malicious software being downloaded and installed without user consent.  Her site had been hacked and the hacker had added malicious code to her blog template.</p>
<p>Unfortunately, this can happen to anyone and there are a myriad of ways that a hacker can get into your site.  I believe in this instance that the hacker was able to guess her password, which was a very simple name.  So what is one to do if your site is hacked?  My client had no clue and I know that not everyone has a trusted designer or tech support that they can email with problems such as these (plus speed is key, so waiting around for help can be frustrating), so I thought I&#8217;d write up a checklist of things you should do to remove malicious code from your hacked site and prevent it from happening again (or ever if it hasn&#8217;t happened yet).  I&#8217;m specifically going to be using WordPress blogs as an example since almost my entire clientele uses WordPress, but most of these things can be applied to all content management systems.</p>
<p><span id="more-58"></span></p>
<p><strong>CHANGE YOUR PASSWORDS.</strong> First things first when you discover your site has been hacked is to change your passwords FOR EVERYTHING.  You&#8217;ll absolutely want to change your blog password and your FTP/control panel passwords (if they aren&#8217;t the same).  But if you use the same or similar password for your email or anywhere else, you are going to want to change them as well.  Even if you&#8217;ve never been hacked, it&#8217;s good practice to change your passwords regularly, at the very least yearly.  Make your passwords as secure as possible and try not to use the same password for everything:</p>
<ul>
<li>Use a combination of letters and numbers as well as lowercase and uppercase and possibly even some symbols</li>
<li>Try not to use recognizable names or dates/numbers</li>
<li>6-8 characters is a good length (though the longer the better)</li>
</ul>
<p>Here&#8217;s a password trick I learned a while back that has been invaluable to me.  It&#8217;s a way to make every password for every site you visit different, but also something that you can remember.  First think of a good base using the rules I mentioned above, like: <strong>Xd5ye8*K</strong></p>
<p>It may be hard to remember at first, but you are going to be typing it over and over so you should have no problem memorizing it eventually.  Next, you&#8217;re going to add an identifier of the site your password is for, so you need to come up with a system.  Examples of this could be the first four letters of the site name or the first two and last two.  It doesn&#8217;t really matter how you want to do it, just come up with a rule that can be applied to all sites.  Once you&#8217;ve done that add the letters to front or back of the base password you already came up with.</p>
<p>So for flickr, you password would be: flicXd5ye8*K.  For gmail it would be gmaiXd5ye8*K. For facebook faceXd5ye8*K, and so on.</p>
<p><strong>DELETE/CHANGE YOUR USERS&#8217; PASSWORDS.</strong> The hacker could have registered themselves as a user on you blog so that they could get in again.  Or they could have changed the password for one of your users so they could log in under that username.  Click on Users in your WP admin and look over the list of registered users.  If you have too many users and don&#8217;t want to have to change them all, you might consider deleting them all (except for yourself, of course).  People can always re-register.</p>
<p>Look for users with suspicious or spammy looking emails and delete them.  Many of my blogs have been getting a lot of registration spam lately.  Delete these users immediately, specifically if any of the users have an email address like xzy@mail.ru or anything else that looks random or generic.</p>
<p>If you don&#8217;t have a lot of users, then if may just be better in the long run to turn that option off altogether.  Go to Settings and under Membership, un-check the box next to &#8220;Anyone can register&#8221;.</p>
<p><strong>SEARCH YOUR THEME FILES</strong>.  Next you&#8217;ll need to find whatever the hacker added and take it out.  The first place to look, especially if you are a WordPress user, is your template.  In your WP admin, click on Design and then Theme Editor.  A list of all your theme files will be down the right side.  The main ones you want to check are header.php, sidebar.php, footer.php and index.php, but you will want to check every single file listed for anything suspicious.</p>
<p>So what is suspicious code?  Look for anything that looks like a bunch of garbled text/code, or maybe a bunch of links to spammy-looking sites.  <strong>Specifically look for anything that uses the <code>eval()</code> command, <code>base64_decode()</code>, k1b0rg or keymachine.de and delete these lines of code.</strong> (You may want to back up your theme files before doing this in case you accidentally remove something important.)</p>
<p><strong>UPGRADE/REPLACE YOUR WORDPRESS FILES</strong>.  If you don&#8217;t have the most recent version of WordPress, upgrade immediately.  <a href="http://swankwebstyle.com/blog/2007/06/21/upgrading-wordpress/">Here&#8217;s a tutorial I wrote if you need help.</a> Even if you are current, you should replace all your files with a fresh install in case the hacker modified any of the files or added any new files to your WP folders.  This means completely removing your wp-admin and wp-includes folders and all of the wp-something.php files that are in the main WP directory.  <strong>DO NOT remove wp-config.php or the wp-content folder.</strong> Everything else is replaceable, though.</p>
<p><strong>CHECK FOR SUSPICIOUS FILES IN (AND AROUND) YOUR WORDPRESS DIRECTORY</strong>.  You can access this via FTP or through your control panel file manager.  First look at your .htaccess file, which is in the main WP directory (or root as it&#8217;s called).  If you have nice permalinks (links to posts look like http://yoursite.com/2008/09/08/post-title/) it should look like this:</p>
<blockquote><p><code># BEGIN WordPress<br />
<ifmodule mod_rewrite.c><br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
</ifmodule><br />
# END WordPress</code></p></blockquote>
<p>There probably won&#8217;t be much else in there unless you&#8217;ve specifically added something.  Though some plugins like WP-Super Cache or feed/site redirecting plugins do add things to this file, so just be careful about if you delete anything from this (again make sure you have a backup).</p>
<p>Since you didn&#8217;t delete your wp-content folder, you will need to check this for suspicious files as well.  The main place to look will be your <strong>uploads folder</strong>, where the pictures you upload to your blog are stored.  For most WP blogs this is in wp-content>uploads though some older blogs may not have the uploads folder.  They might also be separated into year and month folders.  Look through all the files and make sure they are the right file extensions.  Picture file extensions are .jpg, .gif, .png and bmp.  Delete anything that isn&#8217;t one of these extensions unless you uploaded it yourself.  Nothing with a .php file extension should be in your uploads folder.  Those kinds of files are most certainly bad.  Besides looking for weird file extensions, look for files that have strange/random names that you know you did not upload.  If you see a folder called js_cache with a file in it starting with tinymce_, that is supposed to be there, so don&#8217;t delete that.</p>
<p>After checking your uploads folder go through and also check your plugins and themes folders for the same kind of files.  Make sure to check the images folder in your themes.  You may want to reinstall all your plugins as well to make sure none of them had been modified either. (I&#8217;ve never seen that happen, but you never know).  I have seen and heard of files being added the cache folder if you have WP Super Cache or the image-headlines folder if you using that plugin (or ones like it), so those are definitely ones to delete and reinstall if you have them.  Also, be sure to check any and all other folders and files in your root directory for anything suspicious that you know you did not put there.</p>
<p>Checking all these things may sound tedious, but if you know the exact day the hack happened, you can look for things that were added/modified on that day.</p>
<p><strong>CHECK AGAIN.</strong> So you went through all your files and you think you got everything bad removed, but how can you be sure?  That&#8217;s where these handy plugins come in:</p>
<p><a href="http://ocaoimh.ie/exploit-scanner/">WordPress Exploit Scanner</a> &#8211; This will scan your files and your database for suspicious activity.</p>
<p><a href="http://semperfiwebdesign.com/plugins/wp-security-scan/">WP Security Scan</a> &#8211; This will scan your site and show you any vulnerabilities you have.  This is for more advanced users, as it doesn&#8217;t always tell you how to fix these vulnerabilities (it assumes you already know).  I&#8217;ll talk more in my next post about some of the simpler things that you can do to make your site more secure.</p>
<p>Also <a href="http://ocaoimh.ie/2008/06/08/did-your-wordpress-site-get-hacked/">check out this article</a> which goes into a bit more depth about some of the specific hacks that can happen to WordPress users and some fixes for them. (There&#8217;s some good tips in the comments as well.)</p>
<p><strong>NOTIFY GOOGLE THAT YOUR SITE IS SAFE.</strong> Now that you&#8217;ve gotten everything removed and your site is safe again, how do you get google to remove that warning?  When I visited my client&#8217;s hacked site in Firefox 3, it wouldn&#8217;t let me view it.  It gave me a big red screen saying the site was dangerous.  Unfortunately, this doesn&#8217;t automatically go away once you remove the malicious files.  You need to notify google to re-scan your site and verify that it is safe again.  You can do this by putting in your <acronym title="Uniform Resource Locator">URL</acronym> here: <a href="http://www.google.com/safebrowsing/report_error/?tpl=mozilla">http://www.google.com/safebrowsing/report_error/?tpl=mozilla</a></p>
<p>You can also request a review using <a href="http://www.google.com/webmasters/tools/">Google Webmaster Tools</a>.  You have to register and verify your site first, so it&#8217;s a little more involved, but I think you may get faster results if you go through the effort.  <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=45432&#038;topic=15265">Here&#8217;s some more info about that straight from Google.</a></p>
<p>In my next post I will talk about some of the things you can do to keep your site secure and prevent it from being hacked.</p>
<p><a href="http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/">Go to Part 2.</a></p>
<h2>Related posts:</h2><ul><li><a href="http://swankwebstyle.com/blog/2009/09/05/secure-your-wordpress-blog-upgrade-now/" rel="bookmark" title="Permanent Link: Secure your WordPress Blog. Upgrade Now!">Secure your WordPress Blog. Upgrade Now!</a></li><li><a href="http://swankwebstyle.com/blog/2008/09/16/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-2/" rel="bookmark" title="Permanent Link: Web 101: Fixed a hacked site and prevent it from happening again &#8211; Part 2">Web 101: Fixed a hacked site and prevent it from happening again &#8211; Part 2</a></li><li><a href="http://swankwebstyle.com/blog/2009/07/01/notice-to-hosting-clients-billing-issues/" rel="bookmark" title="Permanent Link: Notice to Hosting Clients: Billing issues">Notice to Hosting Clients: Billing issues</a></li><li><a href="http://swankwebstyle.com/blog/2008/03/27/notice-to-swank-web-hosting-customers/" rel="bookmark" title="Permanent Link: Notice to Swank Web Hosting Customers">Notice to Swank Web Hosting Customers</a></li><li><a href="http://swankwebstyle.com/blog/2009/07/09/wordpress-2-8-1-is-out/" rel="bookmark" title="Permanent Link: WordPress 2.8.1 is out">WordPress 2.8.1 is out</a></li></ul><br />
<a href="http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/" title="Permalink">Permalink</a> | <a href="http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/#comments" title="Comments">Leave a Comment</a><br />
<hr />
<small>Copyright &copy; <a href="http://swankwebstyle.com">Swank Web Style</a> 2005-2009.<br />
This feed is for personal, non-commercial use only. The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 3218012a1d52458cc65f7ca3d7cc59c7)</small>]]></content:encoded>
			<wfw:commentRss>http://swankwebstyle.com/blog/2008/09/09/web-101-fixed-a-hacked-site-and-prevent-it-from-happening-again-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web 101: Full vs Partial Feeds</title>
		<link>http://swankwebstyle.com/blog/2008/03/24/web-101-full-vs-partial-feeds/</link>
		<comments>http://swankwebstyle.com/blog/2008/03/24/web-101-full-vs-partial-feeds/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 21:12:51 +0000</pubDate>
		<dc:creator>Emily</dc:creator>
				<category><![CDATA[Around the Web]]></category>
		<category><![CDATA[Web 101]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Feeds]]></category>
		<category><![CDATA[full feed]]></category>
		<category><![CDATA[partial feed]]></category>

		<guid isPermaLink="false">http://swankwebstyle.com/blog/2008/03/24/web-101-full-vs-partial-feeds/</guid>
		<description><![CDATA[Over at the Blog Herald, there&#8217;s a great article on why people shouldn&#8217;t be using partial feeds. The author makes a lot of good points, essentially boiling it down to the fact that there are no benefits to using a partial feed. It doesn&#8217;t deter sploggers from stealing your content and it doesn&#8217;t bring extra [...]]]></description>
			<content:encoded><![CDATA[<p>Over at the <a href="http://www.blogherald.com/">Blog Herald</a>, there&#8217;s a great article on <a href="http://www.blogherald.com/2008/03/24/why-not-to-switch-to-partial-feeds/">why people shouldn&#8217;t be using partial feeds</a>.  The author makes a lot of good points, essentially boiling it down to the fact that there are no benefits to using a partial feed.  It doesn&#8217;t deter sploggers from stealing your content and it doesn&#8217;t bring extra traffic to your site; you are basically just frustrating your regular readers and alienating new ones.  Read the <a href="http://www.blogherald.com/2008/03/24/why-not-to-switch-to-partial-feeds/">full article</a> for more.</p>
<p>What I find funny is his rationalizing of why it&#8217;s okay for <em>some</em> blogs (*ahem* the one he&#8217;s writing on) to use partial feeds.  The only instance in which I think it&#8217;s okay to offer a partial feed is if you offer a full feed as well.  I have seen several blogs that offered a full feed with ads and a partial feed without ads.  I have no problem with that, it even kind of makes sense.  Although, I can&#8217;t imagine there are an overwhelming number of people that hate ads so much they would put up with the frustration of a partial feed.  But different strokes, right?  </p>
<p>You should respect your readers enough to let them choose how they want to view your site. Offering just a partial feed takes that choice away and more often than not, they won&#8217;t bother reading at all.</p>
<h2>Related posts:</h2><ul><li><a href="http://swankwebstyle.com/blog/2008/10/24/wordpress-263/" rel="bookmark" title="Permanent Link: WordPress 2.6.3">WordPress 2.6.3</a></li><li><a href="http://swankwebstyle.com/blog/2008/03/18/wordpress-25-rc1-available/" rel="bookmark" title="Permanent Link: WordPress 2.5 RC1 available">WordPress 2.5 RC1 available</a></li><li><a href="http://swankwebstyle.com/blog/2008/03/27/notice-to-swank-web-hosting-customers/" rel="bookmark" title="Permanent Link: Notice to Swank Web Hosting Customers">Notice to Swank Web Hosting Customers</a></li><li><a href="http://swankwebstyle.com/blog/2007/06/21/upgrading-wordpress/" rel="bookmark" title="Permanent Link: Upgrading WordPress">Upgrading WordPress</a></li><li><a href="http://swankwebstyle.com/blog/2008/01/14/beginners-guide-to-wordpress-plugins/" rel="bookmark" title="Permanent Link: Beginners Guide to WordPress Plugins">Beginners Guide to WordPress Plugins</a></li></ul><br />
<a href="http://swankwebstyle.com/blog/2008/03/24/web-101-full-vs-partial-feeds/" title="Permalink">Permalink</a> | <a href="http://swankwebstyle.com/blog/2008/03/24/web-101-full-vs-partial-feeds/#comments" title="Comments">Leave a Comment</a><br />
<hr />
<small>Copyright &copy; <a href="http://swankwebstyle.com">Swank Web Style</a> 2005-2009.<br />
This feed is for personal, non-commercial use only. The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 3218012a1d52458cc65f7ca3d7cc59c7)</small>]]></content:encoded>
			<wfw:commentRss>http://swankwebstyle.com/blog/2008/03/24/web-101-full-vs-partial-feeds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web 101: Why links shouldn&#8217;t be opened in new windows</title>
		<link>http://swankwebstyle.com/blog/2007/06/26/web-101-why-links-shouldnt-be-opened-in-new-windows/</link>
		<comments>http://swankwebstyle.com/blog/2007/06/26/web-101-why-links-shouldnt-be-opened-in-new-windows/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 19:43:58 +0000</pubDate>
		<dc:creator>Emily</dc:creator>
				<category><![CDATA[Web 101]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://swankwebstyle.com/new/blog/2007/06/26/web-101-why-links-shouldnt-be-opened-in-new-windows/</guid>
		<description><![CDATA[I get this request a lot: &#8220;Can you make all my links open in a new window?&#8221; This is a widely done practice, I used to do it, too. Unfortunately, what I didn&#8217;t know before, and what most people still don&#8217;t know is that it&#8217;s a really bad practice to have. The whole point of [...]]]></description>
			<content:encoded><![CDATA[<p>I get this request a lot: &#8220;Can you make all my links open in a new window?&#8221;  This is a widely done practice, I used to do it, too.  Unfortunately, what I didn&#8217;t know before, and what most people still don&#8217;t know is that it&#8217;s a really bad practice to have.</p>
<p>The whole point of putting an external link on your site is to guide your audience to someone else&#8217;s site.  It&#8217;s usually an act of kindness, not only toward the person you are linking to, but to the people reading your site, who you are sharing this link with. So isn&#8217;t it pretty hypocritical to make your links open in a new window?  You&#8217;re saying &#8220;Here, go to this site, it&#8217;s awesome, but you&#8217;re not allowed to leave my site, because I&#8217;m more awesome.&#8221;  If you don&#8217;t want people to leave your site, then you shouldn&#8217;t have external links at all.  And if people want to stay on your site, then they will, they&#8217;re not going to stay just because you force them to leave the window open.</p>
<p>Not only that, but there are major usability issues with having your links open in new windows.  I think a lot of people assume that everyone is on the same technological level as they are or maybe that most people know <em>more</em> than they do.  &#8220;If I know how to do this, then everyone else does, too.&#8221;  But that&#8217;s just not true.  I&#8217;ve met people who think Internet Explorer <em>is</em> the internet (and it runs on a series of tubes&#8230;).  No matter how simple a concept you think it is, there&#8217;s always someone that just can&#8217;t wrap their mind around it.  </p>
<p>There are some things that most people understand, though.  They understand what a link is and how it should work.  When they click on a link they are expecting it to go to the new site.  This is what they <em>want to do</em>, so by making the link open in a new window, you are actively ignoring their needs.  People understand how the back button works, too.  The back button is fundamental in any browser and most people use it liberally.  What happens when you open a link in a new browser?  Well, it resets the back button.  You can&#8217;t go back.  When someone clicks on a link they are expecting it to go to the new page and if they want to come back to your page they will just click the back button.  This is how the internet is supposed to work.  Instead a new window is going to pop up (which they are not expecting) and they are probably going to close the original window because who wants the clutter of having so many windows open?  Then they&#8217;ll try to go back and realize they can&#8217;t because the back button doesn&#8217;t work anymore.  So not only have you confused and frustrated someone, you&#8217;ve just lost a reader.  </p>
<p>But, you say, &#8220;What about all the people who <em>are</em> technologically savy? They won&#8217;t be confused.&#8221;  No, they won&#8217;t but I can bet that a lot will still be frustrated.  If you are technologically savy then you already know how to make a link open up in a window, it&#8217;s very easy.  So if people want to do that, then they will, they don&#8217;t need you to do it for them. </p>
<p>If you absolutely must have something open in a new window (there are a few instances where it may be necessary), then warn your readers about it so they&#8217;ll know what to expect.  Make sure &#8220;opens in new window&#8221; is included in the actual link text (this is better for accessibility and usability).  Add a little icon by the link to show that it will open in a new window.  Give people a choice about it.  Maybe the link works like normal, but the little icon opens in a new window.  There are a lot of different options, just make sure your readers know what&#8217;s what.</p>
<p>In the end it&#8217;s always a bad idea to try to control how your readers view your site.  People expect browsers to work a certain way and you shouldn&#8217;t try to change that.  People will come back to your site if they want to, don&#8217;t make things more complicated for them.</p>
<h2>Related posts:</h2><ul><li><a href="http://swankwebstyle.com/blog/2008/06/17/firefox-3-released/" rel="bookmark" title="Permanent Link: Firefox 3 Released!">Firefox 3 Released!</a></li><li><a href="http://swankwebstyle.com/blog/2007/09/25/wordpress-23-released/" rel="bookmark" title="Permanent Link: WordPress 2.3 released!">WordPress 2.3 released!</a></li><li><a href="http://swankwebstyle.com/blog/2007/06/21/upgrading-wordpress/" rel="bookmark" title="Permanent Link: Upgrading WordPress">Upgrading WordPress</a></li><li><a href="http://swankwebstyle.com/blog/2008/09/15/wordpress-27-navigation-options-survey/" rel="bookmark" title="Permanent Link: WordPress 2.7 Navigation Options Survey">WordPress 2.7 Navigation Options Survey</a></li><li><a href="http://swankwebstyle.com/blog/2008/10/02/pink-for-october/" rel="bookmark" title="Permanent Link: Pink for October!">Pink for October!</a></li></ul><br />
<a href="http://swankwebstyle.com/blog/2007/06/26/web-101-why-links-shouldnt-be-opened-in-new-windows/" title="Permalink">Permalink</a> | <a href="http://swankwebstyle.com/blog/2007/06/26/web-101-why-links-shouldnt-be-opened-in-new-windows/#comments" title="Comments">Leave a Comment</a><br />
<hr />
<small>Copyright &copy; <a href="http://swankwebstyle.com">Swank Web Style</a> 2005-2009.<br />
This feed is for personal, non-commercial use only. The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 3218012a1d52458cc65f7ca3d7cc59c7)</small>]]></content:encoded>
			<wfw:commentRss>http://swankwebstyle.com/blog/2007/06/26/web-101-why-links-shouldnt-be-opened-in-new-windows/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

