<?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>thisismyurl.com &#187; WordPress</title>
	<atom:link href="http://thisismyurl.com/category/tutorials/wordpress-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://thisismyurl.com</link>
	<description>Tutorials for WordPress and Website Design</description>
	<lastBuildDate>Wed, 16 May 2012 17:44:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Fetch Twitter Count for WordPress</title>
		<link>http://thisismyurl.com/7711/fetch-twitter-count-wordpress/</link>
		<comments>http://thisismyurl.com/7711/fetch-twitter-count-wordpress/#comments</comments>
		<pubDate>Mon, 14 May 2012 14:21:46 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[file_get_contents]]></category>
		<category><![CDATA[function_exists]]></category>
		<category><![CDATA[get_transient]]></category>
		<category><![CDATA[set_transient]]></category>
		<category><![CDATA[SimpleXMLElement]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7711</guid>
		<description><![CDATA[Looking for an easy way to include your current Twitter count in WordPress, here's a fast (and free) function to return your current Twitter count.]]></description>
			<content:encoded><![CDATA[<p>Looking for an easy way to include your current Twitter count in WordPress? Here&#8217;s a simple piece of code I&#8217;m using to fetch and display the current Twitter count, it includes transient caching of one hour for your most recent Twitter count.</p>
<pre>
/**
* Summary returns the current follower count of a specific Twitter account, or FALSE if not found
* @param String $twitter_username the username you wish to get a Twitter count for
* @param Number $transient_cache the time in seconds to cache the transient (default is one hour)
* @return String an unformatted number of followers from twitter
*
* @author Christopher Ross (@thisismyurl)
* @version 1.0.0
*/
function thisismyurl_twitter_count( $twitter_username = 'thisismyurl', $transient_cache = 3600 ) {

$current_twitter_count = get_transient( 'thisismyurl_twitter_count' );

if ( empty( $current_twitter_count ) ) {

$xml = file_get_contents ( 'http://twitter.com/users/show/' . $twitter_username );

if ( $xml ) {
$twitter_profile = new SimpleXMLElement ( $xml );
$current_twitter_count = $twitter_profile-&gt;followers_count;

if ( !empty( $current_twitter_count ) )
set_transient( 'thisismyurl_twitter_count' , $current_twitter_count, $transient_cache );
} else {
return FALSE;
}

}

return $current_twitter_count;

}
</pre>
<p>To display your current Twitter count in your WordPress theme, include the code:</p>
<pre>
if ( function_exists( 'thisismyurl_twitter_count' ) )
echo thisismyurl_twitter_count( 'thisismyurl', 3600 );
</pre>
<p>If the count can not be returned, the function will return FALSE which allows error checking such as:</p>
<pre>
if ( function_exists( 'thisismyurl_twitter_count' ) ) {

$twitter_count = thisismyurl_twitter_count( 'thisismyurl', 3600 );

if ( $twitter_count )
echo 'Twitter Count:' . $twitter_count;
}
</pre>
<p>What do you think? Is there a way to improve this function?</p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7711/fetch-twitter-count-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.4 allows for better theme file structures</title>
		<link>http://thisismyurl.com/7656/wordpress-34-theme-file-structures/</link>
		<comments>http://thisismyurl.com/7656/wordpress-34-theme-file-structures/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 17:14:04 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fire architecture]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7656</guid>
		<description><![CDATA[I was pretty impressed reading Andrew Nacin&#8217;s most recent post on the changes to how WordPress processes theme files, as of WordPress 3.4 the theme allows page files to be located in sub directories, without the need to specify the directory. So, instead of polluting the root directory with dozens of special cases you can now place [...]]]></description>
			<content:encoded><![CDATA[<p>I was pretty impressed reading Andrew Nacin&#8217;s most recent post on the changes to <a href="http://nacin.com/2012/03/29/page-templates-in-subdirectories-new-in-wordpress-3-4/">how WordPress processes theme files</a>, as of WordPress 3.4 the theme allows page files to be located in sub directories, without the need to specify the directory.</p>
<p>So, instead of polluting the root directory with dozens of special cases you can now place those files in a sub-directory (but not two levels deep!).</p>
<p>Here&#8217;s an example structure:</p>
<p>/theme-directory<br />
&#8212;-/pages<br />
&#8212;&#8212;&#8211;/page-about.php<br />
&#8212;&#8212;&#8211;/page-contact.php</p>
<p>There&#8217;s no need to worry about telling WordPress to find the files, as WordPress with automatically parse the directories for the page files (but only one level deep. Thanks for point it out Andrew, that&#8217;s a big improvement for structuring the theme!</p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7656/wordpress-34-theme-file-structures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change a WordPress theme with PHP</title>
		<link>http://thisismyurl.com/7644/change-wordpress-theme-php/</link>
		<comments>http://thisismyurl.com/7644/change-wordpress-theme-php/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 19:39:48 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[add_action]]></category>
		<category><![CDATA[code sample]]></category>
		<category><![CDATA[get_current_theme()]]></category>
		<category><![CDATA[get_stylesheet()]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[switch_theme()]]></category>
		<category><![CDATA[template_redirect]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7644</guid>
		<description><![CDATA[There are times when a programmer needs to change a theme using PHP rather than using the WordPress administration tool, this little piece of code will allow you to do that by placing it in your functions.php file. add_action( 'template_redirect' , 'thisismyurl_change_theme_manually' ); function thisismyurl_change_theme_manually() { if ( 'twentyeleven' != get_current_theme() ) switch_theme( 'twentyeleven', 'style.css' [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when a programmer needs to change a theme using PHP rather than using the <strong>WordPress</strong> administration tool, this little piece of code will allow you to do that by placing it in your functions.php file.</p>
<pre>
add_action( 'template_redirect' , 'thisismyurl_change_theme_manually' );
function thisismyurl_change_theme_manually() {
if ( 'twentyeleven' != get_current_theme() )
switch_theme( 'twentyeleven', 'style.css' );
}
</pre>
<p>Update: Nacin (<a href='http://twitter.com/nacin'>@nacin</a>) pointed out a couple fixes for this piece of code. First, the get_current_theme() is depreciated, so get_stylesheet() is a better function to use and secondly, running this on the front end of the site isn&#8217;t the best idea.</p>
<p>With that in mind, here&#8217;s the revised code.</p>
<pre>
add_action( 'template_redirect' , 'thisismyurl_change_theme_manually' );
function thisismyurl_change_theme_manually() {
if ( 'twentyeleven' != get_stylesheet() &#038;&#038; is_admin() )
switch_theme( 'twentyeleven', 'style.css' );
}
</pre>
<p>You can read more from Andrew Nacin at <a href='http://nacin.com/2012/03/29/page-templates-in-subdirectories-new-in-wordpress-3-4/'>nacin.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7644/change-wordpress-theme-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assign a Template to a Page and all Child Pages</title>
		<link>http://thisismyurl.com/7641/assign-template-page-child-pages/</link>
		<comments>http://thisismyurl.com/7641/assign-template-page-child-pages/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 11:48:21 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[add_action]]></category>
		<category><![CDATA[code sample]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[template_redirect]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7641</guid>
		<description><![CDATA[An interesting question popped up the other day while I was developing a theme for a WordPress website. The client wanted to load a specific template for a specific page, as well as all of the child pages. For example, the About Us section but also the Contact Us (assuming it was a child of [...]]]></description>
			<content:encoded><![CDATA[<p>An interesting question popped up the other day while I was developing a theme for a WordPress website. The client wanted to load a specific template for a specific page, as well as all of the child pages. For example, the About Us section but also the Contact Us (assuming it was a child of About Us).</p>
<p>If they&#8217;d just wanted to load a single page template, I would refer to the default hierarchal structure and simply create a theme file named <em>page-[slug].php</em> but how to do it for each of the subsection pages as well? On Friday when I wrote the a piece on <a title="WordPress easy redirect" href="http://thisismyurl.com/7638/random-post-wordpress-redirection/">redirecting WordPress based on the URL</a>, it occurred to me that there are a couple really easy ways to do it.</p>
<p>Here&#8217;s my solution:</p>
<pre>

add_action( 'template_redirect','thisismyurl_about_template_override' );
function thisismyurl_about_template_override() {
if (  strpos( $_SERVER['REQUEST_URI'], '/about-us' ) &gt; 0 ) {
include ( TEMPLATEPATH . '/page-about-us.php');
exit;
}
}
</pre>
<p>So what&#8217;s it do? Simply put, it waits until after WordPress has loaded everything it needs to load to run smoothly, then just before WordPress tries to load the theme file we intercept the logic and force it to load <em>page-about-us.php</em> instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7641/assign-template-page-child-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Post WordPress Redirection</title>
		<link>http://thisismyurl.com/7638/random-post-wordpress-redirection/</link>
		<comments>http://thisismyurl.com/7638/random-post-wordpress-redirection/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 11:39:01 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code sample]]></category>
		<category><![CDATA[function.php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Redirect]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7638</guid>
		<description><![CDATA[This morning I came across a fantastic post on Smashing Magazine dealing with WordPress redirection and how to create a random redirect for visitors to your website. The post is absolutely correct in its method for creating a redirect as presented but there&#8217;s a slightly more elegant approach I&#8217;ve learnt with building newspaper websites with [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I came across a fantastic post on Smashing Magazine dealing with <a href="http://wp.smashingmagazine.com/2012/04/19/random-redirection-in-wordpress/">WordPress redirection</a> and how to create a random redirect for visitors to your website. The post is absolutely correct in its method for creating a redirect as presented but there&#8217;s a slightly more elegant approach I&#8217;ve learnt with building <a title="WordPress newspaper website design" href="http://rodonic.com">newspaper websites with WordPress</a>, and that&#8217;s to use a hook.</p>
<p>A hook is a means in WordPress to override the default functionality of WordPress and in this case, what we want to do is force WordPress to redirect before it&#8217;s even begun loading all the extra logic. To do that, we&#8217;ll tap into the <a href="http://codex.wordpress.org/Plugin_API/Action_Reference/template_redirect">template_redirect</a> function. This function loads immediately after the website is initiated but before the theme file is loaded. It&#8217;s a perfect place to do things like redirect a page or, (as the name implies) the template. For example if you want to override a post or page template, this is where you can do it.</p>
<p>I&#8217;ve made two other small edits to the Smashing code example. First, I&#8217;ve added the redirect 302 value to the wp_redirect() function to tell Google that this is a temporary redirect (301 would be permanent) and I&#8217;ve combined the array for get_posts() into a single line as we won&#8217;t be reusing the variable.</p>
<pre>
add_action( 'template_redirect','thisismyurl_random_post' );
function thisismyurl_random_post() {
if (  '/random-post' == $_SERVER['REQUEST_URI'] ) {foreach ( get_posts ( array( 'numberposts' =&gt; 1, 'orderby' =&gt; 'rand' ) ) as $post ) {
wp_redirect ( get_permalink ( $post-&gt;ID ) , 302 );
exit;
}

}
}
</pre>
<p>Simply place this bit of logic in your functions.php file and you&#8217;ll be able to randomly redirect people to articles using a URL such as <a title="Random Redirect" href="http://thisismyurl.com/random-post">http://thisismyurl.com/random-post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7638/random-post-wordpress-redirection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s the Fastest, Cheapest Way to Get a Great Website?</title>
		<link>http://thisismyurl.com/7628/fastest-cheapest-great-website/</link>
		<comments>http://thisismyurl.com/7628/fastest-cheapest-great-website/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 18:04:05 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[Security (Money)]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[cheap hosting]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7628</guid>
		<description><![CDATA[Let&#8217;s pretend for a minute that you&#8217;re broke (or near broke) but you still want a good website for your small business. You can hire a website designer like me to build your site but it&#8217;s not going to come cheap (quality never does), you can learn to build your website yourself (that&#8217;ll take weeks to get [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s pretend for a minute that you&#8217;re broke (or near broke) but you still want a good website for your small business. You can hire a <a title="website designer" href="http://thisismyurl.com">website designer</a> like me to build your site but it&#8217;s not going to come cheap (quality never does), you can learn to build your website yourself (that&#8217;ll take weeks to get a basic site up), or you can settle for something that looks bad.<span id="more-7628"></span></p>
<p>What if there was another option?</p>
<p>Take for example a guy like me, I build dozens of sites a year and work around the clock for big, fancy companies so you have to assume that sometimes I get requests to build websites from friends and family members. I can&#8217;t really spot work on my national newspaper clients to build a free marketing tool for my mom, yet I also can&#8217;t ask her to do it herself.</p>
<p>What people want from a fast, cheap website is simple, here&#8217;s my list:</p>
<ol>
<li>to be able to update content easily</li>
<li>for it to look nice</li>
<li>easy to manage, with few technical issues</li>
<li>fast to setup</li>
<li>cheap</li>
</ol>
<p>My honest advice, to business owners looking for the best, cheapest, and fastest way to get a professional website up and running in minutes has two parts to it.</p>
<h2>WordPress.com</h2>
<p><img class="alignright size-full wp-image-7629" title="Website business stats" src="http://thisismyurl.com/files/2012/04/business-stats.jpeg" alt=" Whats the Fastest, Cheapest Way to Get a Great Website?" width="432" height="170" />First, I recommend people sign up for <a href="http://en.wordpress.com/business/">WordPress.com to run their website</a>. It&#8217;s free and it takes all the hosting issues away. It comes with an easy updating tool, web stats, marketing details, protection etc. and it has one more thing that makes it perfect for small business owners, you can register your domain name for $17 a year which includes your hosting.</p>
<p>$17 gets you a branded, professional hosting environment with a fully functional content manager and thousands of templates to choose from.</p>
<h2>Facebook.com</h2>
<p>Once you setup your website with WordPress.com (either free or with a domain name) you can add a Facebook business page to your website, where your customers can easily talk to you and share their questions. Facebook is free.</p>
<p>Setting up a WordPress.com account and a Facebook page should take you about two hours, once you&#8217;re done you&#8217;ll have a professional and amazing website with full social media integration. If you&#8217;re not technical and could use a hand setting up this combination, drop me a line and we can work something out .</p>
<p>When I&#8217;m asked by my close friends how to create a fast, cheap website without sacrificing quality &#8230; that&#8217;s my answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7628/fastest-cheapest-great-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Your Sitename as a shortcode</title>
		<link>http://thisismyurl.com/7611/adding-sitename-shortcode/</link>
		<comments>http://thisismyurl.com/7611/adding-sitename-shortcode/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 13:21:11 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code sample]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7611</guid>
		<description><![CDATA[When I add a generic Privacy Policy or Terms of Service to a WordPress website, I often forget to replace the placeholder website name and URL with site specific text, my solution? Instead I use shortcodes in the text. Here are two simple WordPress shortcodes that I can insert into any page or post to [...]]]></description>
			<content:encoded><![CDATA[<p>When I add a generic Privacy Policy or Terms of Service to a WordPress website, I often forget to replace the placeholder website name and URL with site specific text, my solution? Instead I use shortcodes in the text.<span id="more-7611"></span></p>
<p>Here are two simple WordPress shortcodes that I can insert into any page or post to automatically generate the sitename and siteurl for a website.</p>
<p>The shortcode siteurl generates <a href='http://thisismyurl.com' title='http://thisismyurl.com'>thisismyurl.com</a> which sitename creates <a href='http://thisismyurl.com' title='thisismyurl.com'>thisismyurl.com</a> automatically.</p>
<pre>
function rodonic_shortcodes_siteurl() {
return "&lt;a href='" . get_bloginfo('url') . "' title='" . get_bloginfo('url') . "'&gt;" . str_replace('http://','',get_bloginfo('url')) . "&lt;/a&gt;";
}
add_shortcode('siteurl', 'rodonic_shortcodes_siteurl');function rodonic_shortcodes_sitename() {
return "&lt;a href='" . get_bloginfo('url') . "' title='" . get_bloginfo('sitename') . "'&gt;" . get_bloginfo('name') . "&lt;/a&gt;";

}
add_shortcode('sitename', 'rodonic_shortcodes_sitename');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7611/adding-sitename-shortcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect WordPress from Hackers</title>
		<link>http://thisismyurl.com/7606/protect-wordpress-hackers/</link>
		<comments>http://thisismyurl.com/7606/protect-wordpress-hackers/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 13:14:59 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7606</guid>
		<description><![CDATA[Protecting your WordPress website from hackers isn&#8217;t easy, they&#8217;re hackers after all and they&#8217;re constantly looking for ways to hack into your website but there are a few things that you can do to protect WordPress without having to call in expensive security experts. Consider first off why people are hacking websites and then you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Protecting your <strong>WordPress website from hackers</strong> isn&#8217;t easy, they&#8217;re hackers after all and they&#8217;re constantly looking for ways to hack into your website but there are a few things that you can do to protect WordPress without having to call in expensive security experts.<span id="more-7606"></span></p>
<p>Consider first off <strong>why people are hacking websites</strong> and then you&#8217;ll be better prepared to defend them. Most hacks are simple, brute force attacks designed to gain access to as many websites as possible, as quickly as possible. This way, the hacker can insert their website links and increase their Search Engine Optimization without having to do any real work. In order to defeat them, you don&#8217;t have to make your WordPress website into an impenetrable fortress, you just need to make it harder to attack than another website.</p>
<h2>Harden your WordPress admin</h2>
<p>Ross wrote a piece on Blondish.net with some helpful tips on <a href="http://blondish.net/dont-get-hacked-6-wordpress-security-plugins/">hardening your WordPress admin</a> by using <a title="Limit Login Attempts Plugin Page" href="http://wordpress.org/extend/plugins/limit-login-attempts/">Limit Login attempts</a>, <a title="Wordpress Firewall Plugin Page" href="http://wordpress.org/extend/plugins/wordpress-firewall/">WordPress Firewall</a> and <a title="WP Security Scan Plugin Page" href="http://wordpress.org/extend/plugins/wp-security-scan/">WP security Scan</a> among others. As a first step, these are the bare minimum a serious WordPress admin should be using but there&#8217;s a few more steps you should take as well.</p>
<h3>Limit your WordPress admin directory</h3>
<p>The operating system WordPress works on is called Linux and it has its own, extremely powerful website security. <a href='http://www.dreamhost.com/r.cgi?1166870&s=http%3A%2F%2Fthisismyurl.com%2F7606%2Fprotect-wordpress-hackers%2F' rel='nofollow' target='_blank' title='Dreamhost web hosting' target='_blank'>Dreamhost</a> has a simple to follow tutorial on adding <a href="http://wiki.dreamhost.com/Password-protecting_directories">directory level password protection</a> to your website that will also work on <a href='http://www.bluehost.com/track/getawaygraphics/?s=http%3A%2F%2Fthisismyurl.com%2F7606%2Fprotect-wordpress-hackers%2F' rel='nofollow' target='_blank' title='Bluehost web hosting' target='_blank'>Bluehost</a> and other hosting companies. This will add a server level of security to your website, making it almost impossible for most hackers to get into your site.</p>
<p><img class="aligncenter size-full wp-image-7607" title="File:Passwordprotect-prompt" src="http://thisismyurl.com/files/2012/03/FilePasswordprotect-prompt.png" alt="FilePasswordprotect prompt Protect WordPress from Hackers" width="468" height="192" /></p>
<h3>Limit your WordPress admin to IP addresses</h3>
<p>Extending on the example above, you can also limit WordPress to specific IP addresses. An IP address is your unique identifier on the web, all devices have one and they&#8217;re limited (for a period of time) to your unique device.</p>
<p>Using .htaccess files and <a href="http://www.yorku.ca/computng/students/webpages/central_web/htaccess.html">following the tutorials</a>, you can limit who can access your WordPress administration area by limited which IP range can access your website&#8217;s admin control.</p>
<h3>Focus on passwords</h3>
<p>We all hate complex passwords but in a brute force attack, having a simple password (123456, password, letmein etc) is the easiest way to lose control of your website and with modern browsers, you can let it manage most of your passwords anyways so more complex passwords don&#8217;t have to be a headache.</p>
<p>There are three key passwords on a WordPress site. The hosting account password for FTP access, the database password and the WordPress admin password.  Each of your passwords should include at least 16 characters, including a mix of uppercase and lowercase, a number and at least one special character. Most importantly, the three should not use the same passwords.</p>
<p>If you suspect a password has been compromised, change all three immediately.</p>
<h2>Protect Your Website Code</h2>
<p>The methods above are focussed on protecting your WordPress administration and basic website server but there&#8217;s more to protecting WordPress than just protecting the website admin and server, you also need to protect the code that makes WordPress work.</p>
<h3>Review every plugin and theme</h3>
<p>If you&#8217;re a developer, know your code. Every plugin or theme you add to your website is a potential security hole. Even if you&#8217;re not a coder, take a few minutes to read forum posts about a plugin before adding it, review the code and understand what you&#8217;re adding to your website.</p>
<h3>Backup often</h3>
<p>The WordPress database is fairly small, use a tool such as the <a href="http://wordpress.org/extend/plugins/wp-db-backup/">WordPress Database Backup plugin</a> to do daily backups of your WordPress database. If you suspect your website has been hacked, simply restore to an earlier version of your site.</p>
<p>If you&#8217;d like a more robust solution, <a href="http://vaultpress.com/">VaultPress</a> by <a href="http://automattic.com/">Automattic</a> will do a great job backing up your site as well, for a reasonable fee.</p>
<h3>Hide your WordPress version</h3>
<p>By default, WordPress displays it&#8217;s current version number for everybody (including hackers) to see. It&#8217;s a little like advertising your weaknesses, so a great idea is to hide the current version number using my <a href="http://thisismyurl.com/downloads/wordpress-plugins/">WordPress plugin</a> or by <a href="http://www.problogdesign.com/wordpress/11-best-ways-to-improve-wordpress-security/">adding the proper hooks to your code</a>.</p>
<p>Do you have any other tips, or do you do something differently? If so, please share!</p>
<div class='rodonic_full_disclosure'><strong>Disclosure</strong><br>
					In accordance with the FTC Endorsements and Testimonials in Advertising, please note that this post includes reviews
					or links to affiliate programs. The reviews provided in this post are unbiased and presented a fair manner. This post does 
					not include misleading or paid reviews.</div>]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7606/protect-wordpress-hackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress RSS Feeds for Authors, Categories and More</title>
		<link>http://thisismyurl.com/7451/wordpress-rss-feeds-authors-categories/</link>
		<comments>http://thisismyurl.com/7451/wordpress-rss-feeds-authors-categories/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 14:43:27 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7451</guid>
		<description><![CDATA[Hopefully everybody knows that a WordPress website comes with a great RSS feed right out of the box by simply adding the /feed/ to your domain (ie http://thisismyurl.com/feed/) but did you know that WordPress supports feeds for all sorts of other pages in the same way? RSS Feeds for author pages can be found at http://thisismyurl.com/author/thisismyurl/feed/ [...]]]></description>
			<content:encoded><![CDATA[<p>Hopefully everybody knows that a WordPress website comes with a great RSS feed right out of the box by simply adding the /feed/ to your domain (ie <a href="http://thisismyurl.com/feed/">http://thisismyurl.com/feed/</a>) but did you know that WordPress supports feeds for all sorts of other pages in the same way?<span id="more-7451"></span></p>
<p><strong>RSS Feeds for author pages</strong> can be found at <a href="http://thisismyurl.com/author/thisismyurl/feed/">http://thisismyurl.com/author/thisismyurl/feed/</a></p>
<p><strong>RSS for categories</strong> can be found at <a href="http://thisismyurl.com/category/tutorials/wordpress-tutorials/feed/">http://thisismyurl.com/category/tutorials/wordpress-tutorials/feed/</a></p>
<p>If you want to <strong>subscribe to comments on a post</strong>, you can do that at <a href="http://thisismyurl.com/4747/goodbye-adsense-adchoices/feed/">http://thisismyurl.com/4747/goodbye-adsense-adchoices/feed/</a></p>
<p>In fact, almost every page you reach on a WordPress powered website can be subscribed to as an RSS feed simply by adding <em>/feed/</em> to the end!</p>
<h2>So what is RSS anyway?</h2>
<p>It&#8217;s great that WordPress lets you publish your content in RSS feeds, but what practical good is it? What is RSS? RSS (Really Simple Syndication) is a standard format that computers can read. In it&#8217;s simplest form, RSS is a way for your blog and another piece of software to speak to each other but in practice it&#8217;s a whole lot more.</p>
<p>With RSS Feeds, readers can subscribe to your website and receive notifications when new content is published. Google can quickly crawl new pages, complex web applications can analyse your web content and Facebook can read your RSS straight onto a business page.</p>
]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7451/wordpress-rss-feeds-authors-categories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building an Online Newspaper with WordPress</title>
		<link>http://thisismyurl.com/7412/building-online-newspaper-wordpress/</link>
		<comments>http://thisismyurl.com/7412/building-online-newspaper-wordpress/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 15:00:50 +0000</pubDate>
		<dc:creator>Christopher Ross</dc:creator>
				<category><![CDATA[Security (Money)]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[co-author plus]]></category>
		<category><![CDATA[editflow]]></category>
		<category><![CDATA[image credit]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[newspaper]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://thisismyurl.com/?p=7412</guid>
		<description><![CDATA[If you&#8217;ve ever wanted to build an online newspaper, WordPress is the perfect tool for publishers of all sizes. The free, downloadable software package may have started out as a mere blogging tool, but it&#8217;s evolved into one of the most user friendly publishing tools available today. What makes WordPress such a good solution for [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever wanted to <strong><a href="http://thisismyurl.com/7412/building-online-newspaper-wordpress/">build an online newspaper</a></strong>, WordPress is the perfect tool for publishers of all sizes. The free, downloadable software package may have started out as a mere blogging tool, but it&#8217;s evolved into one of the most user friendly publishing tools available today.<span id="more-7412"></span></p>
<h2>What makes WordPress such a good solution for online newspaper publishing?</h2>
<p>First and foremost, WordPress is easy.</p>
<p><strong>It&#8217;s easy to install</strong> (<a href='http://www.bluehost.com/track/getawaygraphics/?s=http%3A%2F%2Fthisismyurl.com%2F7412%2Fbuilding-online-newspaper-wordpress%2F' rel='nofollow' target='_blank' title='Bluehost web hosting' target='_blank'>Bluehost</a> offers a one click install) or you can download the files for free and upload them to your own hosting environment.</p>
<p><strong>It&#8217;s easy to scale</strong>, starting small with WordPress is simple. You can start off small with a $75 a year hosting account, or even host on <a href="http://WordPress.com">WordPress.com</a> while you&#8217;re figuring out how it works. Moving from a small hosting account to a large account is as straight forward as moving the database.</p>
<p><strong>It&#8217;s easy to build a great site</strong>. There are already plenty of free or commercial themes on the market for WordPress, and a number of them are ideal for publishing newspapers and magazines with but creating a custom, unique theme is as easy as <a title="WordPress developer" href="http://rodonic.com">hiring a WordPress developer</a> to create a new theme.</p>
<p><strong>It&#8217;s easy to optimize your newspaper</strong> because WordPress takes care of most of the Search Engine Optimization for you and the things it doesn&#8217;t natively do, it can be easily augmented with plugins or custom coding.</p>
<p><strong>It&#8217;s easy to integrate</strong> with powerful social media tools, search engines, advertising solutions, membership tools and commenting systems.</p>
<p><strong>It&#8217;s easy to use</strong> and I think this is the most important things for newspaper publishers. WordPress is easy to use, not just from a technical side but also for writers, editors, publishers, the advertising department and the readers who are looking for a strong, easy to read newspaper.</p>
<h2>How do you build an online newspaper with WordPress?</h2>
<p>Now that we&#8217;ve established why WordPress is a great choice for building an online newspaper, let&#8217;s take a closer look at how to actually go about turing WordPress into an online newspaper or magazine.</p>
<p><strong>First, you&#8217;ll need to install WordPress</strong>. Installing WordPress through <a href='http://www.bluehost.com/track/getawaygraphics/?s=http%3A%2F%2Fthisismyurl.com%2F7412%2Fbuilding-online-newspaper-wordpress%2F' rel='nofollow' target='_blank' title='Bluehost web hosting' target='_blank'>Bluehost</a> or a similar website provider is simple. Most include a one click solution, but if you need to do it the long way, you can <a href="http://wordpress.org">download WordPress</a> for free and setup the software using their built it auto installer.</p>
<p>Once you have WordPress installed, you&#8217;ll need to find a <strong>great WordPress theme for your newspaper</strong>. This can actually be the most difficult part of the process, as each newspaper needs a unique and attractive theme. <a href="http://rodonic.com">Building newspaper themes</a> is what I do for a living, so feel free to contact me but alternatively there are some great low cost theme solutions.</p>
<ul>
<li><a href="http://wordpress.org">WordPress.org </a>has a number of free WordPress newspaper themes available;</li>
<li><a href="http://Bavotasan.com">Bavotasan.com</a> has one of the more popular newspaper themes for WordPress, both a paid and free version;</li>
</ul>
<p>As well, there are a number of premium (commercial) WordPress newspaper themes available for download.</p>
<p>With your theme in place, <strong>setting up WordPress as a newspaper</strong> is remarkably straight forward. There are a few plugins that I highly recommend for newspaper WordPress sites, such as:</p>
<ul>
<li><a href="http://jetpack.me">JetPack</a>, a plugin from the makers of WordPress which includes a few great tools. It ships with <strong>WordPress.com Statistics</strong> for determining your most popular posts, as well as an <strong>email based subscription</strong> tool, a <strong>spell checker</strong>, <strong>social sharing tools</strong> and <strong>distribution enhancements</strong>.</li>
<li><a href="http://editflow.org">EditFlow</a>, from the people behind the company behind WordPress (the developers of this plugin are employees of Automattic) allows you to add editorial process to WordPress. This simple feature turns regular WordPress websites into a newsroom with an approval process, editorial notes and a publishing calendar.</li>
<li><a href="http://digitalize.ca/wordpress-plugins/co-authors-plus/">Co-Author Plus</a> lets you assign multiple authors to a WordPress newspaper bi-line.</li>
<li><a href="http://wordpress.org/extend/plugins/image-credit/">Image Credit</a> adds an image credit to your images for photographers.</li>
</ul>
<p>Now, you should be ready to start publishing your own online newspaper!</p>
<div class='rodonic_full_disclosure'><strong>Disclosure</strong><br>
					In accordance with the FTC Endorsements and Testimonials in Advertising, please note that this post includes reviews
					or links to affiliate programs. The reviews provided in this post are unbiased and presented a fair manner. This post does 
					not include misleading or paid reviews.</div>]]></content:encoded>
			<wfw:commentRss>http://thisismyurl.com/7412/building-online-newspaper-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

