<?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>Blog Design Studio &#187; Wordpress Tutorials</title> <atom:link href="http://blogdesignstudio.com/category/wordpress-tutorials/feed/" rel="self" type="application/rss+xml" /><link>http://blogdesignstudio.com</link> <description>Best Wordpress Themes By Blog Design Studio</description> <lastBuildDate>Thu, 11 Mar 2010 15:54:13 +0000</lastBuildDate> <generator>http://wordpress.org/?v=abc</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>MySQL database tricks/tutorial through phpMyAdmin for WordPress that you must know!</title><link>http://blogdesignstudio.com/wordpress-tutorials/mysql-database-trickstutorial-through-phpmyadmin-for-wordpress/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/mysql-database-trickstutorial-through-phpmyadmin-for-wordpress/#comments</comments> <pubDate>Mon, 11 Jan 2010 16:35:25 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[phpmyadmin]]></category> <category><![CDATA[troubleshooting]]></category><guid isPermaLink="false">http://blogdesignstudio.com/wordpress-tutorials/mysql-database-trickstutorial-through-phpmyadmin-for-wordpress/</guid> <description><![CDATA[ As we all know that WordPress is powered through PHP &#38; MySql and by far phpMyAdmin is considered to be most adopted way of managing the MySQL databases. Most of the web hosting companies have it installed for their users and most of the users find it pretty intuitive. Same goes with WordPress these days. [...]]]></description> <content:encoded><![CDATA[<p><img src="http://cdn.blogdesignstudio.com/wp-content/uploads/2010/01/phpmyadmin.jpg" width="455" height="241" alt="phpmyadmin.jpg" /></p><p>As we all know that WordPress is powered through PHP &amp; MySql and by far phpMyAdmin is considered to be most adopted way of managing the MySQL databases. Most of the web hosting companies have it installed for their users and most of the users find it pretty intuitive. Same goes with WordPress these days. At times, it looks like a perfect marriage between the two!</p><p>When it comes to WordPress, there are various obnoxious situations that we can avoid with the help of phpMyAdmin and its neat little tricks. Thankfully, Many tech savvy and generous bloggers have shared those neat tricks with the world and in this post, I would like to accentuate them.</p><h3>Tricks related to WordPress Users</h3><p>1. <a href="http://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/">Reset WordPress user password using phpMyAdmin</a> &#8211; by WPBeginner.<br /> 2. <a href="http://www.maheshkukreja.com/how-to-change-wordpress-username-through-phpmyadmin">Change WordPress admin username</a> &#8211; by Mahesh Kukreja<br /> 3. <a href="http://www.rajeshpatel.net/disable-new-user-registration-in-wordpress-phpmyadmin/">Disable New User Registration</a> &#8211; by Rajesh Patel [I don't see any reason for taking this step as it can be easily done through options under settings, but still you never know when these things can come handy].<br /> 4. <a href="http://www.wprecipes.com/how-to-change-author-attribution-on-all-posts-at-once">Change post attribution from one author to another</a> &#8211; WpRecepies.</p><h3>Tricks related to WordPress Posts &amp; Comments</h3><p>1. <a href="http://technofriends.in/2009/07/04/how-to-delete-wordpress-spam-comments-using-phpmyadmin/">Delete all spam comments using phpMyAdmin</a> &#8211; by Technofriends<br /> 2. <a href="http://www.wprecipes.com/how-to-batch-deleting-post-revisions">Batch delete posts revisions</a> &#8211; by WPRecepies<br /> 3. <a href="http://www.speedofcreativity.org/2009/05/02/wordpress-commenting-restored-thanks-to-phpmyadmin-table-repair/">Restore commenting back using repair feature of WordPress</a> &#8211; by Speed of Creativity [of course, this is more of a troubleshooting trick, but one handy trick that may help you at certain time]</p><h3>Troubleshooting WordPress using phpMyAdmin when nothing works</h3><p>There are times, when you might be playing with some broken plugin/theme or not an updated plugin/theme that can cause WordPress to break then it gets little hard to Troubleshoot things if you don&#8217;t have the database backup already. However, you can save yourself by ensuring that you can create the database backup or restoring it with the help of phpMyAdmin -</p><p>1. <a href="http://codex.wordpress.org/Backing_Up_Your_Database">Create WordPress database backup using phpMyAdmin</a>.<br /> 2. <a href="http://codex.wordpress.org/Restoring_Your_Database_From_Backup">Restore WordPress database backup using phpMyadmin</a>.</p><h3>Various other useful tricks</h3><p>1. <a href="http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/">Move WordPress blog from one domain to another</a>.<br /> 2. <a href="http://www.poundbangwhack.com/2009/12/05/12-quick-and-easy-mysql-tricks/">12 quick and easy MySql tricks</a>. [This is not through phpMyAdmin, however can come in handy through SSH]<br /> 3. <a href="http://blog.gadodia.net/running-multiple-wordpress-installations-using-the-same-mysql-database/">Running multiple WordPress blog on single database</a>. [not recommended, however if you are running out of number of database then this is the only solution - else change your hosting provider - <a href="http://blogdesignstudio.com/wordpress-customization/easiest-quickest-way-ever-to-move-a-wordpress-blog-from-one-host-to-another/">Here's the guide to do so</a>]</p><p><b>If you know more tricks, feel free to share it with us as we&#8217;ll keep this page up to date with all those wonderful tricks</b>!</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2010. | <a href="http://blogdesignstudio.com/wordpress-tutorials/mysql-database-trickstutorial-through-phpmyadmin-for-wordpress/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/wordpress-tutorials/what-should-one-do-if-the-wordpress-automatic-upgrade-fails/" title="What should one do if the WordPress automatic upgrade fails? (April 30, 2009)">What should one do if the WordPress automatic upgrade fails?</a> (3)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/mysql-database-trickstutorial-through-phpmyadmin-for-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Installing WordPress Locally on Your Computer</title><link>http://blogdesignstudio.com/wordpress-tutorials/installing-wordpress-locally-on-your-computer/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/installing-wordpress-locally-on-your-computer/#comments</comments> <pubDate>Tue, 05 Jan 2010 09:35:32 +0000</pubDate> <dc:creator>Igor</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[Install]]></category> <category><![CDATA[locally]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[XAMPP]]></category><guid isPermaLink="false">http://blogdesignstudio.com/?p=1057</guid> <description><![CDATA[ In a previous post I wrote about a simple and easy way to convert your html into WordPress theme. Starting from today I will post a small series of articles that will explain the sweet little details when building a new WP theme. So first things first, we will start by explaining how to install [...]]]></description> <content:encoded><![CDATA[<p><a href="http://cdn.blogdesignstudio.com/wp-content/uploads/2010/01/no-place-localhost.jpg" rel="shadowbox[post-1057];player=img;"><img src="http://cdn.blogdesignstudio.com/wp-content/uploads/2010/01/no-place-localhost-300x195.jpg" alt="The LocalHost" title="no-place-localhost" width="300" height="195" class="alignnone size-medium wp-image-1225" /></a></p><p>In a previous <a href="http://blogdesignstudio.com/wordpress-tutorials/wordpressify-your-xhtml-in-5-simple-steps/">post</a> I wrote about a simple and easy way to convert your html into WordPress theme. Starting from today I will post a small series of articles that will explain the sweet little details when building a new WP theme. So first things first, we will start by explaining <strong>how to install WordPress on a local computer</strong> (<a href="http://blogdesignstudio.com/blogging-tools/how-to-set-up-wordpress-locally-on-your-mac-os-x/">Learn how to install wordpress locally on mac</a>). By doing so, it will save you time from updating and previewing files, also we will mention some problems that you may encounter during the installation and after it.<br /> <span id="more-1057"></span></p><p>1. First get <a href="http://www.apachefriends.org/en/xampp.html"> XAMPP lite, </a> open the exe file, and install it at the root of some of your drives, usually C, but I prefer to install it on D to keep it separate.</p><p>2. Than go to <strong>C:\xampplite</strong> (or D:\xampplite in my case) and double click on <strong>setup_xampp.bat</strong> file. Than open <strong>xampp-control.exe</strong> and start the <strong>Apache </strong>and <strong>Mysql </strong>services, the upper two boxes.</p><p>3. Now Open your browser and go to <strong>http://localhost/</strong> and click on <strong>phpMyAdmin</strong> on the left column. Now you should create a new database by entering <strong>wordpress </strong>in the field and than select <strong>utf8_unicode_ci</strong> in the drop down box in the next field. That’s it. Xampp setup is done.</p><p>4. Now you need <strong>WordPress</strong>. Go to their <a href="http://wordpress.org/download/">site</a> and download the latest version of <strong>WordPress</strong>, than go to the <strong>c:\xampplite\htdocs</strong> folder in which you installed the Xampp and unzip it there.</p><p>5. Than find the file named <strong>wp-config-sample.php</strong> in that folder, open it in your favourite text editor and update the database details (db_name, user, password, host).</p><p>6. Finally open your browser and go to <strong>http://localhost/wordpress/wp-admin/install.php</strong> , follow the instructions and install WordPress.</p><p>There is just one little thing left: If you already have <strong>Skype </strong>installed it will occupy <strong>port 80</strong> which is the port that XAMPP needs to communicate with your Internet connection, so open Skype and go to <strong>Tools </strong>and than select <strong>Options</strong>. From the list select <strong>Advanced </strong>and then <strong>Connection</strong>. There is a checkmark inside where it says <strong>&#8220;Use port 80 and 443 as alternatives for incoming connections&#8221;</strong> uncheck that box and save your changes. Don’t worry, Skype will still function as usual but now XAMPP will be able to use port 80 to run.</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© Igor for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2010. | <a href="http://blogdesignstudio.com/wordpress-tutorials/installing-wordpress-locally-on-your-computer/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/blogging-tips/what-you-need-to-learn-from-valleywags-blogger/" title="What you need to learn from Valleywag&#8217;s blogger! (October 22, 2008)">What you need to learn from Valleywag&#8217;s blogger!</a> (1)</li><li><a href="http://blogdesignstudio.com/recent-work/medical-tourism-guide/" title="Medical Tourism Guide (April 3, 2009)">Medical Tourism Guide</a> (0)</li><li><a href="http://blogdesignstudio.com/premium/blog-design-studio-edge-minimal-wordpress-theme-with-javascript-effects/" title="Blog Design Studio Edge &#8211; Minimal wordpress theme with javascript effects! (August 20, 2008)">Blog Design Studio Edge &#8211; Minimal wordpress theme with javascript effects!</a> (20)</li><li><a href="http://blogdesignstudio.com/wordpress-tutorials/what-should-one-do-if-the-wordpress-automatic-upgrade-fails/" title="What should one do if the WordPress automatic upgrade fails? (April 30, 2009)">What should one do if the WordPress automatic upgrade fails?</a> (3)</li><li><a href="http://blogdesignstudio.com/blogging-tips/how-to-choose-webhost-for-your-wordpress-blog/" title="How to choose webhost for your WordPress blog ? (June 30, 2008)">How to choose webhost for your WordPress blog ?</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/installing-wordpress-locally-on-your-computer/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Coding the WordPress Loop explained</title><link>http://blogdesignstudio.com/wordpress-tutorials/coding-the-wordpress-loop-explained/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/coding-the-wordpress-loop-explained/#comments</comments> <pubDate>Tue, 20 Oct 2009 05:32:14 +0000</pubDate> <dc:creator>Igor</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[Code]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://blogdesignstudio.com/?p=765</guid> <description><![CDATA[The Loop is used by WordPress to display each of your posts. It’s the most important set of PHP codes. Basically, it’s what displays the content you see on your homepage, your single posts, pages, archives, search results, etc. Any HTML or PHP code placed in the Loop will be repeated on each post. The [...]]]></description> <content:encoded><![CDATA[<p>The Loop is used by WordPress to display each of your posts. It’s the most important set of PHP codes. Basically, it’s what displays the content you see on your homepage, your single posts, pages, archives, search results, etc. Any HTML or PHP code placed in the Loop will be repeated on each post. The Loop should be placed inside index.php and in any other Templates used to display post information.</p><p><span id="more-765"></span></p><h2>Parts of the loop</h2><p>The loop has three parts:</p><pre>&lt;?php if (have_posts()) : ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;</pre><p>Part 1) Here stands the content that you want to be displayed in the Loop</p><pre>&lt;?php endwhile;?&gt;</pre><p>Part 2) Here stands what is displayed when the Loop is over</p><pre>&lt;?php else : ?&gt;</pre><p>Part 3) If there’s nothing to display</p><pre>&lt;?php endif; ?&gt;</pre><h2>Template Tags in the Loop</h2><p>Basic tags:</p><p>if (have_posts()) &#8211; checks to see if you have any post.</p><p>while (have_posts()) &#8211; if you do have it, while you have any post, execute the_post().</p><p>the_post() &#8211; call for the posts to be displayed.</p><p>endwhile; &#8211; this is used to close while()</p><p>else &#8211; is what to do when you don’t have any post at all</p><p>endif; &#8211; close if()</p><p>Than there are more template tags within the Loop that will output things such as the post title, the permalink, the content, etc:</p><pre>&lt;?php the_permalink() ?&gt;</pre><p>– This tag echos the permalink of the post</p><pre>&lt;?php the_title(); ?&gt;</pre><p>– This one echos the post title</p><pre>&lt;?php the_time(’F jS, Y’) ?&gt;</pre><p>– This will echo the date, for example July 4th, 1776.</p><pre>&lt;?php the_author() ?&gt;</pre><p>– This will display the author’s name</p><pre>&lt;?php the_tags(’Tags: ‘, ‘, ‘, ‘&lt;br /&gt;’); ?&gt;</pre><p>– This will display the tags assigned to the post, separated by commas, and followed by a line break</p><pre>&lt;?php the_category(’, ‘) ?&gt;</pre><p>– This will display the categories</p><pre>&lt;?php edit_post_link(’Edit’, ”, ‘ | ‘); ?&gt;</pre><p>– This will display the  edit post link which will be visible only to those with permission.</p><pre>&lt;?php comments_popup_link(’No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?&gt;</pre><p>– Will display the link to the comments. This will not be displayed on single posts or pages.</p><p>The rest of the tags are available at <a href="http://codex.wordpress.org/Template_Tags">WordPress Codex</a>.</p><h2>Posts Nav Link</h2><p>After the loop you should make the pagination that you see on the homepage, archives, and search results (but not on the single posts or pages):</p><pre>&lt;div&gt;

&lt;?php posts_nav_link(); ?&gt;

&lt;/div&gt;</pre><p>where</p><p>posts_nav_link() &#8211; call for the Next and Previous links</p><p>If there are no posts to display then the following will be displayed after the &lt;?php else : ?&gt;:</p><pre>&lt;h2&gt;Not Found&lt;/h2&gt;
&lt;p&gt;Sorry, but you are looking for something that isn't here.&lt;/p&gt;</pre><h2>Insert ads after the first post</h2><p>OK, now let&#8217;s hack it just a little bit. The ads usually are displayed on the blog sidebar, footer or header, but if you think that’s not the best solution then you can insert them after the first post. You can do this by replacing your current loop with the following one:</p><pre>&lt;?php if (have_posts()) : ?&gt;

&lt;?php $count = 0; ?&gt;

&lt;?php while (have_posts()) : the_post(); ?&gt;

&lt;?php $count++; ?&gt;

&lt;?php if ($count == 2) : ?&gt;

//Paste your ad code here

&lt;h2&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;

&lt;?php the_excerpt(); ?&gt;

&lt;?php else : ?&gt;

&lt;h2&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;

&lt;?php the_excerpt(); ?&gt;

&lt;?php endif; ?&gt;

&lt;?php endwhile; ?&gt;

&lt;?php endif; ?&gt;</pre><p>That’s more or less what the loop in WordPress is about, its parts, template tags, necessary “navigation” after it and maybe the “ads” too.</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© Igor for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-tutorials/coding-the-wordpress-loop-explained/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/free-wordpress-themes/free-custom-blog-design-contest-group-writing-project/" title="Free custom blog design contest &#8211; group writing project! (November 11, 2008)">Free custom blog design contest &#8211; group writing project!</a> (40)</li><li><a href="http://blogdesignstudio.com/wordpress-tutorials/what-you-need-to-try-before-upgrading-to-wordpress-27/" title="What you need to try before upgrading to WordPress 2.7 (December 11, 2008)">What you need to try before upgrading to WordPress 2.7</a> (1)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/widgetizing-your-non-widget-wordpress-theme/" title="Widgetizing Your Non-Widget WordPress Theme (January 8, 2010)">Widgetizing Your Non-Widget WordPress Theme</a> (0)</li><li><a href="http://blogdesignstudio.com/blog-marketing/84-of-bloggers-believe-that-blog-design-helps-in-increasing-blogs-popularity/" title="84% of bloggers believe that Blog Design helps in increasing blog&#8217;s popularity! (April 4, 2009)">84% of bloggers believe that Blog Design helps in increasing blog&#8217;s popularity!</a> (2)</li><li><a href="http://blogdesignstudio.com/blogging-resources/10-hottest-bloggers-you-must-check-out/" title="10 Hottest Bloggers You Must Check Out (September 7, 2009)">10 Hottest Bloggers You Must Check Out</a> (3)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/coding-the-wordpress-loop-explained/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>WordPressify your XHTML in 5 simple steps</title><link>http://blogdesignstudio.com/wordpress-tutorials/wordpressify-your-xhtml-in-5-simple-steps/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/wordpressify-your-xhtml-in-5-simple-steps/#comments</comments> <pubDate>Fri, 09 Oct 2009 15:59:22 +0000</pubDate> <dc:creator>Igor</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[design]]></category> <category><![CDATA[Themes]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://blogdesignstudio.com/?p=684</guid> <description><![CDATA[ Some time ago I decided to give WordPress a try and convert some of my XHTML codes to WordPress. I looked for tutorials on this topic and find a lot of them and the WordPress website has lessons too. But can those tutorials and lessons be really helpful to you if you don’t know PHP [...]]]></description> <content:encoded><![CDATA[<p><img src="http://blogdesignstudio.com/images/php_code.jpg" alt="php code" /><br /> Some time ago I decided to give WordPress a try and convert some of my XHTML codes to WordPress. I looked for tutorials on this topic and find a lot of them and the <a href="http://codex.wordpress.org/Main_Page" target="_blank">WordPress website</a> has lessons too. But can those tutorials and lessons be really helpful to you if you don’t know PHP and don’t understand the terminology used in them? I was a little bit confused by the huge amount of information at the beginning. So let’s keep it simple at least for now.</p><p><span id="more-684"></span><strong>WordPress is a blog publishing application and content management system</strong>. It has a templating system, which includes widgets that can be rearranged without editing PHP or HTML code, as well as themes that can be installed and switched between.</p><p>Theme or WP theme are all the files you’re using: texts, images, codes, etc, etc. Every theme has at least two files: index.php and style.css.<strong> </strong>You tell your theme where everything goes within index.php same as you do in index.htm and you tell your theme how everything will look like within style.css. Apart from these two files the theme can contain:  home.php, single.php, page.php, category.php, archive.php, search.php, 404.php, comments.php, comments-popup.php, author.php etc.</p><p>Probably you already know how to install WordPress by now. Make sure that your WordPress engine is running, then go ahead and drop your folder that contains all the HTML in it into the wp-content/themes folder. Wp-content contains all the content, uploads, themes, plugins, upgrade files, etc, etc.</p><p>OK, let’s go.</p><h2>Step 1 – The basic template files</h2><p>First of all change the style.css by pasting this into it:</p><pre>/*
Theme Name: WordPressify your XHTML in 5 simple steps
Theme URI:
Version: 1
Author: Blog Design Studio
Author URI: http://blogdesignstudio.com/
*/</pre><p>After that change index.htm to index.php and that’s it, now you have the two basic template files.</p><h2>Step 2 – The breakup</h2><p>Now open the index.php file, than simply cut and paste the content this way: the header of the code in new file named header.php, the right column in a new file called sidebar.php, the footer in footer.php than just save the rest of it like it is.</p><h2>Step 3 – header.php</h2><p>After all that done, now let’s take care of the separate files one by one. Open header.php and replace the &lt;head&gt; with this code:</p><pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" &lt;?php language_attributes(); ?&gt;&gt;
&lt;head profile="http://gmpg.org/xfn/11"&gt;
&lt;meta http-equiv="Content-Type" content="&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;" /&gt;
&lt;title&gt;&lt;?php wp_title('&amp;laquo;', true, 'right'); ?&gt; &lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;
&lt;link rel="stylesheet" href="&lt;?php bloginfo('stylesheet_url'); ?&gt;" media="screen" /&gt;
&lt;script type="text/javascript" src="&lt;?php echo bloginfo(stylesheet_directory) .'/js/domtab.js'; ?&gt;"&gt;&lt;/script&gt;
&lt;?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?&gt;
&lt;?php wp_head(); ?&gt;</pre><p>Done? Than go to the menu, get rid of the li&#8217;s, but keep the wrapping ul and the current page item. Type this in:</p><pre>&lt;?php wp_list_pages('title_li='); ?&gt;</pre><p>Than put these into the current page item:<br /> Into &lt;li class=”</p><pre>page_item page_item_1 &lt;?php if ( is_home() ) { ?&gt;current_page_item&lt;?php } ?&gt;</pre><p>than into &lt;a href=”</p><pre>&lt;?php echo get_settings('home'); ?&gt;</pre><p>Save, refresh, and that’s it. Your menu is dynamic now.</p><h2>Step 4 – index.php</h2><p>Now let’s take care of the posts. Here you got “the Loop”. “The Loop” is a code that has information passed through it. Then it &#8216;loops&#8217; or goes through the Database number of times to get the data required.</p><p>OK, now take the beginning of the loop:</p><pre>&lt;?php if(have_posts()) : while(have_posts()) : the_post(); ?&gt;</pre><p>And place it before your content i.e. the post, than close the loop with this:</p><pre>&lt;?php endwhile; endif; ?&gt;</pre><p>Now fill in the content tags, the tags that pull the information from the database within the loop.</p><pre>&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title() ?&gt;</pre><p>gets the title of the post</p><pre>&lt;?php the_time('j M, Y'); ?&gt;</pre><p>gets the time (day, month, year)</p><pre>&lt;?php the_author_posts_link() ?&gt;</pre><p>gets the author</p><pre>&lt;?php the_category(', '); ?&gt;</pre><p>the category</p><pre>&lt;?php the_content('read more'); ?&gt;</pre><p>displays the contents of the current post.</p><pre>&lt;?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?&gt;</pre><p>displays a link to the comments</p><p>Here is an example with the content tags in bold:</p><pre>&lt;div id="leftcolumn"&gt;

<strong> &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;</strong>
&lt;div class="post"&gt;
&lt;div class="title"&gt;
&lt;h2&gt;&lt;a href=" <strong>&lt;?php the_permalink() ?&gt;</strong> "&gt; <strong>&lt;?php the_title() ?&gt;</strong>&lt;/a&gt;&lt;/h2&gt;
&lt;div class="postdata"&gt;
<strong>&lt;?php the_time('j M, Y'); ?&gt;</strong> written by <strong>&lt;?php the_author_posts_link() ?&gt;</strong> in <strong>&lt;?php the_category(', '); ?&gt;</strong>
&lt;/div&gt;
&lt;/div&gt;
<strong>&lt;?php the_content('read more'); ?&gt;</strong>
&lt;div class="postcom"&gt; <strong>&lt;?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?&gt;</strong>&lt;/div&gt;
&lt;/div&gt;
<strong>&lt;?php endwhile; ?&gt;</strong>
<strong>&lt;?php else : ?&gt;</strong>
&lt;h2 class="center"&gt;Not Found&lt;/h2&gt;
&lt;p class="center"&gt;Sorry, but you are looking for something that isn't here.&lt;/p&gt;
<strong>&lt;?php get_search_form(); ?&gt;</strong>
<strong> </strong>
<strong> &lt;?php endif; ?&gt;</strong>
&lt;/div&gt;</pre><p>Just don’t forget to put these include tags in the code:</p><p>At the beginning of the index.php:</p><pre>&lt;?php get_header(); ?&gt;</pre><p>This tag includes the file header.php from your current theme&#8217;s directory.</p><p>At the end of the index.php:</p><pre>&lt;?php get_sidebar(); ?&gt;</pre><p>includes the file sidebar.php from your current theme&#8217;s directory.</p><pre>&lt;?php get_footer(); ?&gt;</pre><p>includes the file footer.php</p><h2>Step 5 – sidebar.php</h2><p>The Sidebar may look difficult, but it isn’t at all. Simply put this into the ul:</p><pre>&lt;?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar('Sidebar') ) : else : ?&gt;

&lt;?php endif; ?&gt;</pre><p>Than create a new file called functions.php, and paste this into it:</p><pre>&lt;?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' =&gt; 'Sidebar',
'before_widget' =&gt; '&lt;li id="%1$s"&gt;',
'after_widget' =&gt; '&lt;/li&gt;',
'before_title' =&gt; '&lt;h2&gt;',
'after_title' =&gt; '&lt;/h2&gt;',
));
?&gt;</pre><p>Now you can go to Appearance &gt;Widgets in your wp-admin and add the some widgets like categories, archives etc.</p><p>Well, that&#8217;s it, now you have a fully functioning homepage. The only small thing left is to take care of the single.php, page.php, archive.php and 404.php. Now again create four new php files: single, archive, page and 404.</p><p>Copy the contents of index.php. Paste that in archive.php, than replace</p><pre>the_content()</pre><p>to</p><pre>the_excerpt()</pre><p>than paste it into single.php. Delete the comments_popup_link, navigation links and the read more link. Paste that in page.php. Copy everything from <em>page.php</em> now, and paste it into 404.php. Than post this in the post area:</p><pre>&lt;div class="post"&gt;
&lt;div&gt;
&lt;h2&gt;Error 404 - Not Found&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;</pre><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© Igor for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-tutorials/wordpressify-your-xhtml-in-5-simple-steps/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/wordpress-plugins/maintain-a-wordpress-blog-in-hindi-tamil-telugu-arabic-and-other-languages/" title="Maintain a WordPress blog in hindi, tamil, telugu, arabic and other languages (June 1, 2009)">Maintain a WordPress blog in hindi, tamil, telugu, arabic and other languages</a> (2)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/why-it-makes-sense-to-have-permalink-present-in-the-feed-footer/" title="Why it makes sense to have permalink present in the feed footer (April 3, 2009)">Why it makes sense to have permalink present in the feed footer</a> (2)</li><li><a href="http://blogdesignstudio.com/mini-blog/thanks-a-ton-to-rajesh-and-wpwebhost/" title="Thanks a ton to Rajesh and WPWebhost (May 20, 2009)">Thanks a ton to Rajesh and WPWebhost</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/rip-my-hacks-php-in-wordpress-2-8/" title="RIP my-hacks.php in WordPress 2.8 (June 25, 2009)">RIP my-hacks.php in WordPress 2.8</a> (0)</li><li><a href="http://blogdesignstudio.com/blogging-tips/why-choose-wordpress-as-the-blogging-platform/" title="Why choose WordPress as the blogging platform! (June 21, 2008)">Why choose WordPress as the blogging platform!</a> (1)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/wordpressify-your-xhtml-in-5-simple-steps/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>So now you understand the importance of Upgrading WordPress?</title><link>http://blogdesignstudio.com/wordpress-tutorials/so-now-you-understand-the-importance-of-upgrading-wordpress/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/so-now-you-understand-the-importance-of-upgrading-wordpress/#comments</comments> <pubDate>Sun, 06 Sep 2009 07:18:25 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[design]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://blogdesignstudio.com/wordpress-tutorials/so-now-you-understand-the-importance-of-upgrading-wordpress/</guid> <description><![CDATA[My apologies for not updating the blog since long time. Thanks to Vivekk for point it out to me and reminding me about that how he&#8217;s missing the content of this blog (definitely makes me feel good). Coming back to the actual blog post and the talks of WordPress not being a secure blog engine [...]]]></description> <content:encoded><![CDATA[<p>My apologies for not updating the blog since long time. Thanks to <a href="http://www.voicetap.in/">Vivekk</a> for point it out to me and reminding me about that how he&#8217;s missing the content of this blog (definitely makes me feel good). Coming back to the actual blog post and the talks of WordPress not being a secure blog engine and the <a href="http://www.informationweek.com/blog/main/archives/2009/09/old_wordpress_s.html;jsessionid=FEISNASW4F4LXQE1GHPCKH4ATMY32JVN">questions being raised about the security of WordPress</a> tells me that how we all tend to blame others for our own faults!</p><p><span id="more-659"></span><p>Recently, there have been <b><a href="http://lorelle.wordpress.com/2009/09/04/old-wordpress-versions-under-attack/">reports</a> that older versions of WordPress self-hosted blogs are under attack by an online creature named “eval/base64_decode&#8221;</b> that changes the <a href="http://blogdesignstudio.com/wordpress-customization/how-to-integrate-and-customize-permalink-in-wordpress/">Permalinks (URL-Structure)</a> of your blog posts such as : example.com/category/post-title/%&amp;(%7B$%7Beval(base64_decode($_SERVER%5BHTTP_REFERER%5D))%7D%7D|.+)&amp;%/.</p><h2>Why I say that it&#8217;s our own fault?</h2><p>WordPress team has been working hard all the time to give us new features in the new versions. They have been quick enough to supply the security updates, in case there is any in the new versions. It&#8217;s only the bloggers who don&#8217;t really give importance to these new updates by not updating the engines and we tend to raise the question about WordPress Security or play the blame game after our blog&#8217;s get attacked by these nasty tricks played by &#8220;some jerk&#8221;.</p><p>Will it be not your fault, if you don&#8217;t lock the doors of your house and go out on a holiday. Will it not be like, giving an open invitation to thieves? It&#8217;s exactly the same here as well, by not upgrading your WordPress installations, you are inviting hackers to exploit your blog.</p><h2>What all can I do to keep my blog safe?</h2><p>I&#8217;ve already written a <b><a href="http://blogdesignstudio.com/index.php?s=Security+Check+%3A">series on how to secure your WordPress installations</a></b> and I&#8217;m sure that those safety measures will surely keep your blog safe from prying eyes. However, that are the safety measures that you can take. However, if your blog is already hit by &#8220;<b>eval/base64_decode</b>&#8221; then you should go ahead and <a href="http://codex.wordpress.org/FAQ_My_site_was_hacked">follow these FAQ</a> on how you can save yourself from this nasty attack.</p><h2>Suggestions for the Automattic team</h2><p>Considering that how WordPress has grown in the internet world and how other engines are secure enough that they don&#8217;t get attacked by these exploits (It&#8217;s pretty much same as why Microsoft Windows gets viruses and other operating systems don&#8217;t), there are certain suggestions for the Automattic team that they should implement to keep things more secure than ever -</p><p><b>1. Certify the plugins</b> &#8211; This wonderful suggestion came from <a href="http://www.linkedin.com/in/allenstern">Allen Stern</a> and I think he&#8217;s right on the money. If there will be a system in WordPress or someone who&#8217;d look in the code of every WordPress plugin that&#8217;s uploaded on <a href="http://wordpress.org/extend/plugins/">WordPress Extend</a>, then it&#8217;ll give more assurance to the bloggers about the authenticity of the plugin.</p><p><b>2. Put Some WatchDog</b> &#8211; <a href="http://cocaman.ch/wp/2009/09/anti-wordpress-hacking-suggestions/">Corsin Camichel</a> suggests that it&#8217;ll be nice if the bloggers get an automated report every day by WordPress installation that tells them about the activity of the blog. I&#8217;m sure that a person will get alerted if he sees that 30 new posts were added on his/her blog when he was busy somewhere else.</p><p><b>3. Educated users through WordPress.TV</b> &#8211; WordPress.TV is an excellent resource that has lots of videos that educate users about various sections of WordPress. I&#8217;m sure bloggers will certainly appreciate if they can get more videos (<a href="http://wordpress.tv/2009/07/11/brad-williams-security-montreal09/">other than this video</a>) on the topic of security and what all they can do to keep their blogs safe from prying eyes.</p><p>If you have any more suggestions for the Automattic team, then why not take part in the conversation and let them know that what all we are expecting from them! &lt;sarcasm&gt;After all, it was their fault that they built such a wonderful app; people will automatically have lot more expectations from them.&lt;/sarcasm&gt;</p><h3>Is your blog doesn&#8217;t look as cool as other blogs? <a href="http://blogdesignstudio.com/enquiry-form/">Feel free to contact us</a> (Free quote) and we&#8217;d love to help you in building a beautiful blog for you!</h3><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-tutorials/so-now-you-understand-the-importance-of-upgrading-wordpress/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/blogging-resources/10-hottest-bloggers-you-must-check-out/" title="10 Hottest Bloggers You Must Check Out (September 7, 2009)">10 Hottest Bloggers You Must Check Out</a> (3)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/how-to-add-a-flickr-photostream-to-your-wordpress-blog/" title="How to add a Flickr PhotoStream to your Wordpress Blog (September 7, 2008)">How to add a Flickr PhotoStream to your Wordpress Blog</a> (1)</li><li><a href="http://blogdesignstudio.com/web-design/chromotherapy-in-blog-design/" title="Chromotherapy in Blog Design! (November 23, 2009)">Chromotherapy in Blog Design!</a> (1)</li><li><a href="http://blogdesignstudio.com/recent-work/evolution-theme-for-kevin-of-bloggingtipscom/" title="Evolution theme for Kevin of BloggingTips.com (May 5, 2008)">Evolution theme for Kevin of BloggingTips.com</a> (0)</li><li><a href="http://blogdesignstudio.com/contact-us/" title="Contact us (November 10, 2009)">Contact us</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/so-now-you-understand-the-importance-of-upgrading-wordpress/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Security Check : Role of Username in securing your WordPress blog</title><link>http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/</link> <comments>http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/#comments</comments> <pubDate>Fri, 22 May 2009 07:37:33 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Customization]]></category> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[password]]></category> <category><![CDATA[security]]></category> <category><![CDATA[username]]></category><guid isPermaLink="false">http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/</guid> <description><![CDATA[We&#8217;ve already stressed on the importance of strong password in the security check series. And i&#8217;m sure that some of you&#8217;ll be surprised to find out that &#8220;Username&#8221; of the blog plays an important role in the security of the blog. If you don&#8217;t tend to agree, then here&#8217;s some food for thought &#8211; Will [...]]]></description> <content:encoded><![CDATA[<p style="clear: both">We&#8217;ve already stressed on the <a href="http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/" title="stronger password for security" target="_blank">importance of strong password</a> in the <a href="http://blogdesignstudio.com/tag/security/" title="secure wordpress blog" target="_blank">security check series</a>. And i&#8217;m sure that some of <strong>you&#8217;ll be surprised to find out that &#8220;Username&#8221; of the blog plays an important role in the security of the blog</strong>. If you don&#8217;t tend to agree, then here&#8217;s some food for thought &#8211; Will it be difficult if you were to guess only password or will it be difficult for you to guess both username &amp; password?</p><p style="clear: both">While you ponder over the question (are you still thinking about it? if the answer is yes, go ahead and <a href="http://self-help.bafree.net/three-ways-for-exercising-your-mind" title="mind exercise" target="_blank">take these mind exercises</a> or <a href="http://www.lifeoptimizer.org/2008/04/09/brain-workout-10-free-mind-games-to-exercise-your-brain/" title="brain work-out" target="_blank">play these games</a>), I would remind you to ensure that you <a href="http://feeds2.feedburner.com/studiowordpress/" title="subscribe blog design studio" target="_blank">subscribe to our blog</a> for regular tips like these.</p><p><span id="more-584"></span><p style="clear: both;">WordPress by default has &#8220;admin&#8221; as the username and thus it becomes easier for the hackers to run the <a href="http://en.wikipedia.org/wiki/Brute_force" title="brute force" target="_blank">bruteforce attack</a> on your blog. If you use default username (i.e. &#8220;admin&#8221;), they just have to work on the password, however if you don&#8217;t use this username and have something different or personal, then it&#8217;ll be equally difficult for the hackers to crack the username and password (this explanation is for those who are still thinking about the question). Anyway, here are some of the steps that you should perform to ensure that you are safe from the &#8220;username&#8221; point of view as well -</p><p style="clear: both;"><strong>1. Rename the admin username</strong> -</p><p style="clear: both;">a. Using your webhost&#8217;s MySQL admin tool (e.g. phpmyadmin), locate and select your WordPress database.<br /> b. Then &#8211; locate and select the wp_users table (<a href="http://blogdesignstudio.com/wordpress-customization/security-check-wordpress-table-prefix-change-adds-more-security/" title="wordpress table prefix" target="_blank">wp prefix may differ</a>) and then click the browse icon.<br /> c. Locate &#8220;admin&#8221; and click the edit icon.<br /> d. Under the user_login section, change &#8220;admin&#8221; to your preferred name and click go.</p><p style="clear: both;"><strong>2. Mention your public name in profile</strong> &#8211; WordPress allows you to change your display name and gives the option of displaying the username, nickname, first name or full name as the author name in the post. It becomes an important step because by default, it displays your username as the author name.</p><p style="clear: both;">So, you should specify the first name, last name and if you want you may specify the nickname too and then change the display name accordingly.</p><p style="clear: both;"><strong>3. Create another username</strong> &#8211; I&#8217;ve been an avid supporter of not using the admin username for day to day stuff. It&#8217;s always sensible to have an extra and limited account. I will suggest you to add another username for your blog and give it the role of &#8220;editor&#8221; instead of admin rights and use it for everyday task.</p><p style="clear: both;">I hope that you&#8217;ll be finding this series a little bit useful and that you&#8217;ll be able to keep your blog safe from the prying eyes!</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/mini-blog/how-to-change-admin-username/" title="How to change Admin Username (September 5, 2008)">How to change Admin Username</a> (2)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/find-out-if-your-wordpress-theme-is-worth-your-love/" title="Find out if your WordPress theme is worth your love? (June 16, 2009)">Find out if your WordPress theme is worth your love?</a> (0)</li><li><a href="http://blogdesignstudio.com/blogging-tips/what-all-you-need-to-do-to-keep-your-blog-secure-from-hackers/" title="What all you need to do, to keep your blog secure from hackers! (November 5, 2008)">What all you need to do, to keep your blog secure from hackers!</a> (5)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/" title="Security Check &#8211; How about a stronger password for WordPress blogs? (May 15, 2009)">Security Check &#8211; How about a stronger password for WordPress blogs?</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/tools-that-can-help-you-make-wordpress-secure/" title="Tools that can help you make wordpress secure! (March 17, 2009)">Tools that can help you make wordpress secure!</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Security Check &#8211; WordPress table prefix change adds more security</title><link>http://blogdesignstudio.com/wordpress-customization/security-check-wordpress-table-prefix-change-adds-more-security/</link> <comments>http://blogdesignstudio.com/wordpress-customization/security-check-wordpress-table-prefix-change-adds-more-security/#comments</comments> <pubDate>Thu, 21 May 2009 10:11:01 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Customization]]></category> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[security]]></category> <category><![CDATA[Table prefix]]></category><guid isPermaLink="false">http://blogdesignstudio.com/uncategorized/security-check-wordpress-table-prefix-change-adds-more-security/</guid> <description><![CDATA[Till this time we&#8217;ve covered the basics of security measures that one should take to secure their blogs. Today we are going to take slightly advanced approach and will try to ensure that automatic bots will not be able to gain access to your blog easily as we&#8217;ll change the table structure of the blog. [...]]]></description> <content:encoded><![CDATA[<p style="clear: both">Till this time we&#8217;ve covered the basics of <a href="http://blogdesignstudio.com/tag/security/" title="secure wordpress blog" target="_blank">security measures that one should take to secure their blogs</a>. Today we are going to take slightly advanced approach and will try to ensure that automatic bots will not be able to gain access to your blog easily as <strong>we&#8217;ll change the table structure of the blog</strong>. Don&#8217;t worry if it sounds scary to you; we&#8217;ll ensure that you&#8217;ll be able to do it pretty easily as there are various tools available for the same.</p><p><span id="more-582"></span><p>While <a href="http://blogdesignstudio.com/blogging-tips/how-to-install-wordpress-famous-5-minute-installation/" title="install wordpress" target="_blank">installation of WordPress</a>, we come across a value called <strong>Table Prefix</strong>, in Wp-config.php file. By default, this value is &#8220;wp_&#8221; and most of the bloggers tend to leave the default value over there. This is where, automated bots can easily start attacking as they already know the major structure of the whole database.</p><p style="clear: both">There can be two approach for this particular problem -</p><p style="clear: both"><strong>1. Changing the table prefix before installation</strong> &#8211; This is a no brainer! If you are doing manual installation, you just need to change the table prefix from &#8220;wp_&#8221; to anything else (e.g. wp12_ , wp_1_ &#8211; in short just about anything), in wp-config.php file.</p><p style="clear: both"><strong>2. Changing the table prefix after installations</strong> &#8211; There are many bloggers who tend to install WordPress through automated scripts like Fantastico or through one-click installers. Those scripts don&#8217;t allow you to change the table prefix and thus the only resort in that case is to play around with phpMyAdmin and by running sql queries. There is an automated way as well.</p><p style="clear: both"><strong>a. Manual way of changing</strong> &#8211; Sherif has posted a wonderful and detailed tutorial that allows you to <a href="http://tdot-blog.com/wordpress/6-simple-steps-to-change-your-table-prefix-in-wordpress" title="change wordpress table prefix" target="_blank">change the table prefix in 6 simple steps</a>.</p><p style="clear: both"><strong>b. Automatic way of changing</strong> &#8211; Fortunately, there are plugins available to automate this 6 step process and you may use them to make your life even simpler. <a href="http://blogsecurity.net/wordpress/tool-130707" title="table prefix changer" target="_blank">Blog Security has already released a plugin</a> that automates the things for you. <a href="http://semperfiwebdesign.com/custom-applications/wp-security-scan/" title="wordpress security scan" target="_blank">WP-Security scan plugin</a> also allows you to do the same work.</p><p style="clear: both"><strong>***Words of Caution***</strong> &#8211; Don&#8217;t forget to make <a href="http://blogdesignstudio.com/blogging-tips/how-to-back-up-your-wordpress-database-on-a-regular-basis/" title="backup wordpress database" target="_blank">backup of your database</a>.</p><p style="clear: both">I told you! It only sounds scary, however it isn&#8217;t that difficult to play around with WordPress and little advanced tools. Now you know that <a href="http://blogdesignstudio.com/blogging-tips/why-choose-wordpress-as-the-blogging-platform/" title="choose wordpress blogging engine" target="_blank">why I advocate for WordPress</a>!</p><p><br class="final-break" style="clear: both" /></p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-customization/security-check-wordpress-table-prefix-change-adds-more-security/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-define-the-wordpress-secret-key-if-you-havent/" title="Security Check &#8211; Define the WordPress secret key if you haven&#8217;t (May 14, 2009)">Security Check &#8211; Define the WordPress secret key if you haven&#8217;t</a> (1)</li><li><a href="http://blogdesignstudio.com/mini-blog/amazing-and-quick-security-posts/" title="Amazing and quick security posts! (May 26, 2009)">Amazing and quick security posts!</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/find-out-if-your-wordpress-theme-is-worth-your-love/" title="Find out if your WordPress theme is worth your love? (June 16, 2009)">Find out if your WordPress theme is worth your love?</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/" title="Security Check : Role of Username in securing your WordPress blog (May 22, 2009)">Security Check : Role of Username in securing your WordPress blog</a> (7)</li><li><a href="http://blogdesignstudio.com/blogging-tools/secure-your-blog-using-usb-drive/" title="Secure your blog using USB key! (June 10, 2009)">Secure your blog using USB key!</a> (2)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-customization/security-check-wordpress-table-prefix-change-adds-more-security/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Security Check &#8211; File directory permissions for your blog</title><link>http://blogdesignstudio.com/wordpress-customization/security-check-file-directory-permissions-for-your-blog/</link> <comments>http://blogdesignstudio.com/wordpress-customization/security-check-file-directory-permissions-for-your-blog/#comments</comments> <pubDate>Mon, 18 May 2009 17:35:15 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Customization]]></category> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[chmod]]></category> <category><![CDATA[ftp]]></category><guid isPermaLink="false">http://blogdesignstudio.com/wordpress-customization/security-check-file-directory-permissions-for-your-blog/</guid> <description><![CDATA[In order to ensure that your blog is safe from prying eyes, we are running this security check series. We&#8217;ve already discussed some of the basic stuff and today we are going to ensure that the file &#38; directory permissions should be right. In this guide we&#8217;ll fix the CHMOD of various important files and [...]]]></description> <content:encoded><![CDATA[<p>In order to ensure that your blog is safe from prying eyes, we are running this security check series. We&#8217;ve already discussed some of the basic stuff and today <strong>we are going to ensure that the file &amp; directory permissions should be right</strong>. In this guide we&#8217;ll fix the CHMOD of various important files and folders of your blog.</p><p><span id="more-576"></span><p><span style="font-size: 14px; font-weight: bold;"><span style="text-decoration: underline;">What is <a href="http://en.wikipedia.org/wiki/Chmod">CHMOD</a>?</span></span></p><blockquote><p>The chmod command (abbreviated from change mode) is a shell command and C language function in Unix and Unix-like environments. When executed, it can change file system modes of files and directories. The modes include permissions and special modes.</p></blockquote><p>The values that we are playing with are -</p><p><strong>755</strong> &#8211; 755 means read and execute access for everyone and also write access for the owner of the file.<br /> <strong>644</strong> &#8211; 644 means that it can be written by you, however can only be read by rest of the world.</p><p>1. <strong>Root directory</strong> &#8211; This is the directory where your WordPress is installed. <strong>This directory needs CHMOD value as 755</strong>.<br /> 2. <strong>wp-includes</strong> &#8211; This is the sub-directory and has various important files that perform various important functions for the blog. This directory needs CHMOD value as 755.<br /> 3. <strong>wp-admin/index.php</strong> &#8211; This is the file that displays you the WordPress Dashboard. It requires 644 as the CHMOD value.<br /> 4. <strong>wp-admin</strong>, <strong>wp-admin/js/</strong> &#8211; Both these folders have the files that are again useful in various WordPress admin section. They requires 755 as the CHMOD value.<br /> 5. <strong>wp-content/,</strong> <strong>wp-content/themes/, wp-content/plugins/</strong> &#8211; These three folders require the CHMOD value as 755 and these are the folders where you store the theme [ you can't beat us on that <img src='http://cdn.blogdesignstudio.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ] and plugins.</p><h3><span style="text-decoration: underline;">How can I change these values?</span></h3><p>You&#8217;ll need an FTP software for the same. <strong><a href="http://filezilla-project.org/">FileZilla</a> is an excellent, free and open-source software</strong> that should take care of all your needs. In most of the FTP software, you just need to right click on it and you&#8217;ll see something like Properties or Get Info or Permissions as the option where you&#8217;ll be able to change the CHMOD value.</p><p>If you really want to ensure that your WordPress blog should be safe and secure then you should change the CHMOD value of all these directories and files. This should keep things slightly tight for the notorious fellows.</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-customization/security-check-file-directory-permissions-for-your-blog/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li>No related posts.</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-customization/security-check-file-directory-permissions-for-your-blog/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Security Check &#8211; Do upgrades regularly and be secure!</title><link>http://blogdesignstudio.com/wordpress-customization/security-check-do-upgrades-regularly-and-be-secure/</link> <comments>http://blogdesignstudio.com/wordpress-customization/security-check-do-upgrades-regularly-and-be-secure/#comments</comments> <pubDate>Sat, 16 May 2009 12:44:24 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Customization]]></category> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[security]]></category> <category><![CDATA[upgrade]]></category><guid isPermaLink="false">http://blogdesignstudio.com/wordpress-customization/security-check-do-upgrades-regularly-and-be-secure/</guid> <description><![CDATA[In the world of computers and Internet, things get old pretty fast and that is one of the reason why we see WordPress software getting lot of updates frequently. This makes sure that WordPress not only stays safe from vulnerabilities but also gives you latest features that play major role in your blog&#8217;s success. We&#8217;ve [...]]]></description> <content:encoded><![CDATA[<p>In the world of computers and Internet, things get old pretty fast and that is one of the reason why we see <a href="http://blogdesignstudio.com/wordpress-customization/how-to-effectively-upgrade-your-wordpress-in-2-minutes/">WordPress software getting lot of updates</a> frequently. This makes sure that WordPress not only stays safe from vulnerabilities but also gives you latest features that play major role in your blog&#8217;s success. We&#8217;ve been regular readers of <a href="http://problogger.net">various</a> <a href="http://dailyblogtips.com">blogs</a> <a href="http://chrisg.com">about</a> <a href="http://johnchow.com">blogging</a> and all these gurus suggest the same, why is that? They all understand the security concerns associated with WordPress and how one can stay peacefully after the upgrade.</p><p><span id="more-571"></span><br /><h3><span style="text-decoration: underline; -webkit-text-decorations-in-effect: underline;">Is there any role of web host in this?</span></h3><p>I doubt if there is any web-host who helps you in upgrading your WordPress blog. However, there are various other scripts that they have to upgrade at their end (Mysql server, IIS, phpMyAdmin, Apache server etc.) in order to ensure that their servers are hacker safe. Most of the popular webhosts like <a href="http://wpwebhost.com/">WPWebhost</a>, <a href="http://www.dreamhost.com/">Dreamhost</a>, <a href="http://www.lunarpages.com/">LunarPages</a> ensure that they use up to date scripts on all their servers. It&#8217;s important to ensure that you <a href="http://blogdesignstudio.com/why-dreamhost-is-good/">choose your webhost wisely</a>.</p><p>I hope that now you understand the importance of upgrade and the right webhost. Servers and blogging software are inter-connected with lot of things and all these scripts should be up to date in order to ensure that there is no <a href="http://en.wikipedia.org/wiki/Zero-Day_Attack">zero day attack</a> that&#8217;ll compromise your hard work!</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-customization/security-check-do-upgrades-regularly-and-be-secure/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/mini-blog/amazing-and-quick-security-posts/" title="Amazing and quick security posts! (May 26, 2009)">Amazing and quick security posts!</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/wordpress-2-8-2-released-bbpress-as-plugin-for-wordpress/" title="WordPress 2.8.2 released; bbPress as plugin for WordPress? (July 20, 2009)">WordPress 2.8.2 released; bbPress as plugin for WordPress?</a> (3)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-role-of-username-in-securing-your-wordpress-blog/" title="Security Check : Role of Username in securing your WordPress blog (May 22, 2009)">Security Check : Role of Username in securing your WordPress blog</a> (7)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/wordpress-security-service-for-free/" title="WordPress Security Service for free! (January 18, 2010)">WordPress Security Service for free!</a> (1)</li><li><a href="http://blogdesignstudio.com/blogging-tips/what-all-you-need-to-do-to-keep-your-blog-secure-from-hackers/" title="What all you need to do, to keep your blog secure from hackers! (November 5, 2008)">What all you need to do, to keep your blog secure from hackers!</a> (5)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-customization/security-check-do-upgrades-regularly-and-be-secure/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Security Check &#8211; How about a stronger password for WordPress blogs?</title><link>http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/</link> <comments>http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/#comments</comments> <pubDate>Fri, 15 May 2009 10:18:26 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Customization]]></category> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[password]]></category> <category><![CDATA[security]]></category><guid isPermaLink="false">http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/</guid> <description><![CDATA[After we&#8217;ve ensured that Secret Key is at its desired place, we can think about securing the password of the blog too. Strong password is really necessary these days as there are various ways through which hackers, tend to break the password and get unauthorized access to important and sensitive information. Brute-Force, Dictionary attack are [...]]]></description> <content:encoded><![CDATA[<p>After we&#8217;ve ensured that <strong><a href="http://blogdesignstudio.com/wordpress-customization/security-check-define-the-wordpress-secret-key-if-you-havent/">Secret Key</a></strong> is at its desired place, we can think about securing the password of the blog too. <strong>Strong password is really necessary these days</strong> as there are various ways through which hackers, tend to break the password and get unauthorized access to important and sensitive information. <a href="http://en.wikipedia.org/wiki/Brute_force_attack">Brute-Force</a>, <a href="http://en.wikipedia.org/wiki/Dictionary_attack">Dictionary attack</a> are some of the few methods of gaining the unauthorized access with the help of automated password attempts. If your password has the following elements, then I&#8217;m sure it&#8217;ll be considered as a strong password -</p><p><span id="more-570"></span><p>1. Try to avoid the user of dictionary and common words.<br /> 2. Keep the password minimum of 8 characters &#8211; Is it that hard to remember a password?<br /> 3. It has to be a mix of number, alphabets (upper case and lower case both) and if required try plugging in some special characters. I will not mind in generating a password using an <a href="http://onlinepasswordgenerator.com/">automated password generator</a> and then remember it.<br /> 4. Don&#8217;t write the password anywhere and try and not tell this to anyone else.<br /> 5. Your social security number, bank account number, your birth date, phone number, driving license number and for GOD&#8217;s Sake &#8211; no credit card number as your password!</p><p> <img src="http://cdn.blogdesignstudio.com/wp-content/uploads/2009/05/user-profile-link.jpg" width="417" height="181" alt="user-profile-link.jpg" /></p><p><strong>Changing the password of the WordPress blog</strong> -</p><p>1. Click on the user name at the top right hand corner, where it says Howdy xxxxx (your actual username or display name, as show in the picture above.).<br /> 2. Scroll down to the bottom of the user profile page and specify the new password twice (for confirmation) and click on save changes. WordPress has this password security meter that tells you the strength of the password (as shown in the image below).&nbsp;&nbsp;</p><p> <img src="http://cdn.blogdesignstudio.com/wp-content/uploads/2009/05/strong-password.jpg" width="366" height="142" alt="strong-password.jpg" /></p><p><strong>LifeHacker</strong> has covered this wonderful post where they&#8217;ve listed the <a href="http://lifehacker.com/5042616/five-best-password-managers">Five best password managers</a> around the web. The reason, we&#8217;ve covered password managers is that it makes your life way too simpler. However, automation also tends to bring in the laziness and thus people tend to forget their passwords! <strong>Don&#8217;t forget to keep backups of your passwords</strong>, in case you may experience any hard disk crash!</p><hr /> <strong>Download Free Ebook - <a href="http://blogdesignstudio.com/make-money-online.pdf">Tips and Tricks to Make Money Online</a></strong><p><small>© mayank for <a href="http://blogdesignstudio.com">Blog Design Studio</a>, 2009. | <a href="http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/wordpress-plugins/find-out-if-your-wordpress-theme-is-worth-your-love/" title="Find out if your WordPress theme is worth your love? (June 16, 2009)">Find out if your WordPress theme is worth your love?</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-define-the-wordpress-secret-key-if-you-havent/" title="Security Check &#8211; Define the WordPress secret key if you haven&#8217;t (May 14, 2009)">Security Check &#8211; Define the WordPress secret key if you haven&#8217;t</a> (1)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-do-upgrades-regularly-and-be-secure/" title="Security Check &#8211; Do upgrades regularly and be secure! (May 16, 2009)">Security Check &#8211; Do upgrades regularly and be secure!</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/security-check-wordpress-table-prefix-change-adds-more-security/" title="Security Check &#8211; WordPress table prefix change adds more security (May 21, 2009)">Security Check &#8211; WordPress table prefix change adds more security</a> (4)</li><li><a href="http://blogdesignstudio.com/blogging-tools/secure-your-blog-using-usb-drive/" title="Secure your blog using USB key! (June 10, 2009)">Secure your blog using USB key!</a> (2)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-customization/security-check-how-about-a-stronger-password-for-wordpress-blogs/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 22/90 queries in 0.299 seconds using disk
Content Delivery Network via cdn.blogdesignstudio.com

Served from: 72.18.130.148 @ 2010-03-12 05:08:47 -->