<?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>Tue, 17 Aug 2010 14:01:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>Webmasters! For heaven&#8217;s sake start using Mac or Linux!</title><link>http://blogdesignstudio.com/wordpress-tutorials/webmasters-should-use-mac-linux/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/webmasters-should-use-mac-linux/#comments</comments> <pubDate>Tue, 18 May 2010 06:07:36 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[security]]></category> <category><![CDATA[webhost]]></category> <category><![CDATA[webmasters]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://blogdesignstudio.com/?p=1392</guid> <description><![CDATA[I&#8217;ve written a fair bit on the topic of securing WordPress based sites and blogs however, it seems that no matter how much I write, it still is less. There is hardly any week that goes by where I don&#8217;t hear about the horror stories from our clients and various other friends in the trade [...]]]></description> <content:encoded><![CDATA[<p><a href="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/05/virus-free-zone.jpg"><img class="alignleft size-full wp-image-1395" title="virus-free-zone" src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/05/virus-free-zone.jpg" alt="" width="370" height="188" /></a> I&#8217;ve written a fair bit on the topic of <strong><a href="http://blogdesignstudio.com/?s=security+check" target="_blank">securing WordPress based sites</a></strong> and blogs however, it seems that no matter how much I write, it still is less. There is hardly any week that goes by where I don&#8217;t hear about the horror stories from our clients and various other friends in the trade whose sites get infected with malware. After handling lot of such cases and doing some research about it, I found out that one of the major reasons why the sites get infected is because its webmaster&#8217;s own computer was infected with a malware.</p><p>I&#8217;ll be also listing various resources that can be used to further strengthen the <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> however, firstly I would like to put forth my views on the topic of why web-masters should use Mac or Linux. I would only list those points that are logical and none of them are influenced by any sorts. So here&#8217;s why I suggest so and how its easy to switch too -</p><p><strong>1. To keep yourself safe from viruses</strong> :  I&#8217;ve used all three OSes and I&#8217;ve personally experienced that Mac &amp; Linux aren&#8217;t prone to viruses as Windows is and the simple fact is that the market share of <a href="http://marketshare.hitslink.com/operating-system-market-share.aspx?qprid=8" target="_blank">Windows is more than 90%</a> and thats why almost every virus is targeted towards Windows Users. So, if you are using any of those two OSes you&#8217;d be safe from viruses and thus you reduce the chances of getting your website hacked.</p><p><strong><a href="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/05/tux-and-mac.jpg"><img class="alignright size-full wp-image-1397" title="tux-and-mac" src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/05/tux-and-mac.jpg" alt="" width="255" height="238" /></a>2. For keeping others safe</strong> : As I&#8217;ve said that majority of cases that I&#8217;ve dealt are those where the webmaster&#8217;s computer was compromised. Moreover, once the sites are infected, they infect those computer who visit that site and that&#8217;s how they spread so quickly! Now, if at the first place the webmaster would have been using linux or mac, it would have ensured that at least they are not making the situation worse.</p><p><strong>3. Switching is pretty easy</strong> &#8211; Most of the users give a reason that they won&#8217;t be able to switch because of the incompatibility issue and that they think that it would be pain to switch the platforms because of unavailability of ssoftware. I agree at one time it would have been difficult for most of the people, however web-masters specifically won&#8217;t find any issues in choosing these two platforms as most of their tasks are done online, else most of the software required have either a worthy alternative or if you are an open-source fan then you&#8217;d surely find most of them available for all three platforms. Here are some of the resources -</p><ul><li>A wonderful guide you can <a href="http://www.pcworld.com/article/138720/how_to_switch_from_windows_to_linux.html" target="_blank">follow to make the easy switch</a>.</li><li>Various <a href="http://www.linuxalt.com/" target="_blank">Windows Software alternatives for linux</a>.</li><li>Various <a href="http://www.opensourcemac.org/" target="_blank">Open-source software for Mac</a>.</li></ul><p>Try a gradual switch and start using these OSes and if you really want to run a windows software then you can try <a href="http://www.winehq.org/">WineHQ</a> or <a href="http://www.codeweavers.com/products/" target="_blank">CrossOver</a> (commercial) and most likely the software will work fine for you. If the software still doesn&#8217;t work and you don&#8217;t find any alternative then you can <strong>simply use <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> or <a href="http://lifehacker.com/221002/hack-attack-how-to-run-windows-and-mac-apps-side+by+side-with-parallels" target="_blank">Parallels to run Windows inside Linux or Mac</a></strong>.</p><p>So when we know that for web-masters it can be easy to switch to Mac or Linux then why not use either of those two operating systems and keep yourself and the world safe from those malware? Anyway, enough of ranting &#8211; as I said that during my research, I did read quite a bit about <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> websites, so I would like to share that with you :</p><h3>How to strengthen the <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> of your <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>?</h3><p><a href="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/05/internetsecurity.jpg"><img class="alignright size-full wp-image-1399" title="internetsecurity" src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/05/internetsecurity.jpg" alt="" width="250" height="251" /></a></p><ol><li><span style="font-weight: normal; font-size: 13px;">Don&#8217;t forget to read my articles that I wrote a while back on the topic of <a href="http://blogdesignstudio.com/?s=security+check" target="_blank">securing wordpress</a>.</span></li><li>If possible switch your OS as soon as possible &#8211; Don&#8217;t think it as a stupid suggestion. Consider this one for sure!</li><li><a href="http://www.blogtechnika.com/how-to-restrict-wordpress-admin-use-by-ip-address" target="_blank">Restrict</a> <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> admin use by IP Address.</li><li><strong>Learn to </strong><a href="http://www.wikihow.com/Setup-vsftpd-FTP-on-Ubuntu-Linux" target="_blank"><strong>restrict the FTP server</strong></a> access for specific IPs using VSFTPD &#8211; I know that not everyone gets a static IP address from their internet service providers, however use of VPN can certainly [I use <a href="http://strongvpn.com/" target="_blank">StrongVPN</a>] help you get over that problem.</li><li>More <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> steps that can be done through <a href="http://blogsecurity.net/wordpress/article-210607" target="_blank">htaccess file</a>, here are some <strong><a href="http://www.josiahcole.com/2007/07/11/almost-perfect-htaccess-file-for-wordpress-blogs/" target="_blank">11 more steps</a></strong> that you can use.</li><li>Jeff Starr has created wonderful instructions for securing servers via htaccess and <a href="http://perishablepress.com/press/2009/03/16/the-perishable-press-4g-blacklist/" target="_blank">blocking the know malware techniques</a>.</li><li><strong><a href="http://blogdesignstudio.com/wordpress-plugins/best-plugins-to-fight-comment-spam-for-wordpress/" target="_blank">Blocking spam</a> is equally important</strong> &#8211; Chances are that some spam comment will have the URL to a site that is infected, so its important to ensure that no spam comment passes through.</li></ol><h3>What else can be done other than IP address, Htaccess tricks?</h3><p>Some of <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>&#8217; cool features come from allowing some files to be writable by web server. However, letting an application have write access to your files is a dangerous thing, particularly in a public environment. It is best, from a <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> perspective, to lock down your file permissions as much as possible and to loosen those restrictions on the occasions that you need to allow write access, or to create special folders with more lax restrictions for the purpose of doing things like uploading images. <strong>In short we are talking about CHMOD settings</strong> of the server.</p><p>All files should be owned by your user account, and should be writable by you and any file that needs write access from <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> should be group-owned by the user account used by the webserver. Of course, <a href="http://www.tamba2.org.uk/wordpress/chmod/" target="_blank">learning this can surely take some time</a>, but if you really want to secure your server, then this is one thing <strong><a href="http://www.tamba2.org.uk/wordpress/ftp/chmod/index.php" target="_blank">you should focus on</a></strong>!</p><ul><li><code>/</code> &#8212;      the root <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> directory: all files should be writable only by your      user account.<ul><li>EXCEPT <code><strong>.htaccess</strong></code> if you want <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> to automatically generate rewrite rules       for you</li></ul></li><li><code>/wp-admin/</code> &#8212; the <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> administration area: all files should be      writable only by your user account.</li><li><code>/wp-includes/</code> &#8212; the bulk of <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> application logic: all files should be      writable only by your user account.</li><li><code>/wp-images/</code> &#8212; image files used by <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>: all files should be writable      only by your user account.</li><li><code>/wp-content/</code> &#8212; variable user-supplied content: intended by Developers to be completely writable      by all (owner/user, group, and public).<ul><li><code>/wp-content/<a href="http://blogdesignstudio.com/tag/themes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Themes">themes</a>/</code> &#8212; theme files. If you want to use the built-in theme editor,       all files need to be group writable. If you do not want to use the       built-in theme editor, all files can be writable only by your user       account</li><li><code>/wp-content/plugins/</code> &#8212; plugin files: all files should be writable only by your user       account.</li><li>other directories under <code>/wp-content/</code> should be documented by whatever plugin / theme requires them.       Permissions may vary.</li></ul></li></ul><p><strong>Plugins that I prefer for securing <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a></strong></p><p><strong>1. <a href="http://wordpress.org/extend/plugins/wordpress-file-monitor/" target="_blank">WordPress File Monitor</a> </strong>- Think of it as a watch dog! It monitors your <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> installation for added/deleted/changed files. When a change is detected an email alert can be sent to a specified address. So even if you add files using FTP, it will let you know. This is a fantastic way to ensure that no compromised file will go on server without going through its nose.</p><p><strong>2. <a href="http://wordpress.org/extend/plugins/wordpress-firewall/" target="_blank">WordPress Firewall</a></strong> &#8211; I personally love this plugin. Of course, using this plugin means that you&#8217;d lose out on <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> theme/plugin editing capabilities and few things here and there, however this plugin will ensure that everything will be super secure.</p><p><strong>3. <a href="http://wordpress.org/extend/plugins/block-bad-queries/" target="_blank">Block Bad Queries</a></strong> &#8211; Another gem from Jeff Starr. This plugin will ensure that your <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> site will be safe from known vulnerabilities.</p><p>Well there have been countless number of posts on the topic of <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> and the worst part is that things aren&#8217;t improving a little bit. Its important to choose the right web-hosts as well. If this post of mine was a request towards web-masters, <strong><a href="http://markjaquith.wordpress.com/2010/05/14/web-hosts-should-adapt-to-wordpress/" target="_blank">Mark Jaquith has asked web hosts to become more secure</a></strong> and to help web-masters in understanding the <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> of blogs/websites. It is one interesting read, so even if you are not a web host,  I would suggest you to read it.</p><p>What are your thoughts about changing the OS for ensuring safe and secure website? Do you think that one should go ahead and change their OS to ensure that their site will remain secure from malware to a large extent? Please share your thoughts in comments.</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/webmasters-should-use-mac-linux/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/wordpress-customization/is-dynamic-cms-good-or-static-cms/" title="Is Dynamic CMS good or Static CMS? (December 15, 2008)">Is Dynamic CMS good or Static CMS?</a> (5)</li><li><a href="http://blogdesignstudio.com/blogging-resources/why-i-ditched-wordpress-for-blogger/" title="Why I ditched WordPress for Blogger! (January 15, 2010)">Why I ditched WordPress for Blogger!</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/google-fonts-wordpress-3-0-7-yrs-of-powerful-blogging/" title="Google Fonts, WordPress 3.0 &#038; 7 yrs of Powerful blogging! (June 1, 2010)">Google Fonts, WordPress 3.0 &#038; 7 yrs of Powerful blogging!</a> (1)</li><li><a href="http://blogdesignstudio.com/blog-marketing/how-i-find-bloggers-who-want-custom-blog-designs-through-twitter/" title="How I find bloggers who want custom blog designs through Twitter? (May 31, 2009)">How I find bloggers who want custom blog designs through Twitter?</a> (1)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/thanks-to-all-the-developers-you-rock/" title="Thanks to all the developers &#8211; You rock! (July 15, 2009)">Thanks to all the developers &#8211; You rock!</a> (8)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/webmasters-should-use-mac-linux/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Part 1 : How to setup Cloud Servers for blog optimisation</title><link>http://blogdesignstudio.com/wordpress-tutorials/how-to-setup-cloud-servers-for-blog-optimisation/</link> <comments>http://blogdesignstudio.com/wordpress-tutorials/how-to-setup-cloud-servers-for-blog-optimisation/#comments</comments> <pubDate>Wed, 21 Apr 2010 17:07:29 +0000</pubDate> <dc:creator>mayank</dc:creator> <category><![CDATA[Wordpress Tutorials]]></category> <category><![CDATA[centos]]></category> <category><![CDATA[cloud computing]]></category> <category><![CDATA[cloud servers]]></category> <category><![CDATA[customization]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[PHP]]></category><guid isPermaLink="false">http://blogdesignstudio.com/?p=1360</guid> <description><![CDATA[WordPress has been considered as a memory hog and I can agree to that as I&#8217;ve faced the issues in the past as well. If you don&#8217;t use plug-ins like WP Super Cache or W3 Total Cache, you&#8217;d get an email from your shared hosting provider to upgrade the hosting plan pretty soon. As traffic [...]]]></description> <content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-1370" title="cloud-computing" src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/04/cloud-computing-300x139.jpg" alt="" width="300" height="139" /></p><p><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> has been considered as a <a href="http://www.lildude.co.uk/wordpress-is-a-memory-hog/" target="_blank">memory</a> <a href="http://www.codinghorror.com/blog/2008/04/behold-wordpress-destroyer-of-cpus.html" target="_blank">hog</a> and I can agree to that as I&#8217;ve faced the issues in the past as well. If you don&#8217;t use plug-ins like <a href="http://ocaoimh.ie/wp-super-cache/" target="_blank">WP Super Cache</a> or <a href="http://www.w3-edge.com/wordpress-plugins/w3-total-cache/" target="_blank">W3 Total Cache</a>, you&#8217;d get an email from your shared hosting provider to upgrade the hosting plan pretty soon. As traffic increases you&#8217;d have to change the hosting plan and then the question will arise, to go for managed hosting or unmanaged hosting?</p><p>Personally I like things under my control where I can change just about anything as that way I don&#8217;t have to depend on anyone and things get done much faster as compared to a situation, where I&#8217;d have to call the tech support hoping that the support guy will help me in finishing the task and I&#8217;d get less than satisfactory answer. Anyway, to cut the story short, I got an email from my fantastic web hosting company i.e. <a href="http://www.wpwebhost.com"><strong>WPWebHost</strong></a>, however as I was looking for cloud based hosting [I definitely like buzz words], I thought that I would rather go for <a href="http://www.rackspacecloud.com" target="_blank">Rackspace Cloud Servers</a> as I get more control over things. Here are few things that you&#8217;d have to keep in mind, if you are interested in going for Cloud Servers -</p><blockquote><p>You do get the complete control of the server but that also means that you have to setup everything from the scratch! You just get a server with a vanilla linux installation and that you&#8217;d have to <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> and configure &#8211; web server, database server, take care of the <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> issues and just about everything that you can imagine! So if you are weak heart then you should not read this guide and instead you should carry on your research for other hosting plans that offer managed servers.</p><p>However, More control over server means that you&#8217;d be able to have to have a much faster running site and that also means that you will <strong><a href="http://www.mattcutts.com/blog/site-speed/" target="_blank">get better rankings in Google</a></strong>!</p></blockquote><p>One of the main purpose for getting the cloud server was that I <strong>wanted to run <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> on Nginx</strong>, a much better and light alternative to Apache web server and wanted to play around with <a href="http://developers.facebook.com/hiphop-php/" target="_blank">HipHop for PHP</a>, <strong>pure innovation from <a href="http://blogdesignstudio.com/tag/facebook/" class="st_tag internal_tag" rel="tag" title="Posts tagged with facebook">Facebook</a></strong>! Here&#8217;s what <strong>HipHop for PHP</strong> is all about [I'm still working on this part and will be sharing my experiences in upcoming posts]-</p><blockquote><p>HipHop transforms your PHP source code into highly optimized C++ and then compiles it with g++ to build binary files. You keep coding in simpler PHP, then HipHop executes your source code in a semantically equivalent manner and sacrifices some rarely used features &#8211; such as eval() &#8211; in exchange for improved performance.</p></blockquote><p>And now lets find out that how can we setup an optimized web server that would handle lots of traffic with minimum amount of resources that would make your <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> load faster as well.</p><h2>Setting up Linux server from scratch!</h2><p><strong>Note</strong> 1- In this case we are using <strong>CentOS 5.3</strong> and all the commands will be mentioned step wise, so you can simply copy and paste them one by one and you should be good to go, I will give explanation of all the steps as we go along -</p><p><strong>Note 2</strong> - If you are new to these things, then make sure that you should go through this guide properly and should not skip anything.</p><h3>1. Setting up basic <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a></h3><p><img class="alignnone size-medium wp-image-1373" title="secure-wordpress" src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/04/secure-wordpress-300x227.jpg" alt="" width="300" height="227" /></p><p>When you get a fresh installed Linux box that you want to use as a web server, it can be vulnerable to various attacks and in order to avoid them we will setup basic <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> settings that a linux web server should have and for that you should <strong>connect to your linux server through SSH</strong> [ssh root@YOUR SERVER IP ADDRESS] and then run the following commands -</p><ul><li>passwd [First time you login as Root and we must change the password of the root. <a href="http://www.microsoft.com/protect/fraud/passwords/create.aspx" target="_blank">Here's a guide</a> for keeping secure password.]</li><li>adduser <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a></li><li>passwd <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a></li><li>usermod -a -G wheel <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a></li><li>visudo [for newbies - vi is a text editor and <a href="http://www.colorado.edu/ITS/docs/unix/vi.html" target="_blank">here are the commands</a> that will help you operate it.]</li><li>Find <strong># %wheel  ALL=(ALL)   ALL </strong>and remove <strong>#</strong> from it.</li></ul><p>These commands will basically setup a new user called &#8220;<a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a>&#8221; in the Wheel group and will ensure that the user will be able to gain the root privileges at required times. If you want to use a different username then simply replace &#8220;<a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a>&#8221; with your desired name.</p><p>Now we&#8217;d <strong>configure SSH</strong> to disable the root access and change the port to ensure that no hacker will be able to easily access the server. For that fun the following commands -</p><ul><li>nano /etc/ssh/sshd_config</li></ul><p>And you need to ensure that the following settings should be in the whole file. Nano is also a text editor and it displays the most basic and useful commands at the bottom so you won&#8217;t need to go through a guide. I definitely like it more than vi. Anyhow, here are the <strong>settings that you need to keep in SSH&#8217;s configuration file</strong> -</p><div id="_mcePaste"><ul><li>Port 30000  &lt;&#8212; change to a port of your choosing</li><li>Protocol 2</li><li>PermitRootLogin no</li><li>X11Forwarding no</li><li>UsePAM no</li><li>UseDNS no</li><li>AllowUsers <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a>  &lt;&#8212;&#8212;- of course, this will be the username that you chose in the first steps.</li></ul></div><p>Once we are done with the SSH configuration, <strong>we&#8217;d make changes in the IP Tables</strong> which is like the firewall settings to only allow certain ports that would be open. Run the following commands to ensure that IP Table settings are as per the way we desire -</p><ul><li>iptables -L  &lt;&#8212;- this will show the current IP Table configuration. Just copy and paste it in a text file.</li><li>iptables -F  &lt;&#8211; this flushes the existing IP table rules. The following commands set desired new rules.</li><li>iptables -A INPUT -i lo -j ACCEPT</li><li>iptables -A INPUT -i ! lo -d 127.0.0.0/8 -j REJECT</li><li>iptables -A INPUT -m state &#8211;state ESTABLISHED,RELATED -j ACCEPT</li><li>iptables -A OUTPUT -j ACCEPT</li><li>iptables -A INPUT -p tcp &#8211;dport 80 -j ACCEPT</li><li>iptables -A INPUT -p tcp &#8211;dport 443 -j ACCEPT</li><li>iptables -A INPUT -p tcp -m state &#8211;state NEW &#8211;dport <strong>30000</strong> -j ACCEPT  &lt;&#8212; this should be the port that you selected in last settings.</li><li>iptables -A INPUT -p icmp -m icmp &#8211;icmp-type 8 -j ACCEPT</li><li>iptables -A INPUT -j REJECT</li><li>iptables -A FORWARD -j REJECT</li><li>service iptables save</li><li>/etc/init.d/sshd reload    &lt;&#8212; this will reload the new settings.</li></ul><p>Now open a new tab of Terminal (Mac Users)/Putty (Windows Users) and try to connect to the server using the new settings that we&#8217;ve put all this while. If it connects then everything is fine, else go back to the previous tab, flush the settings again and try the above commands again.</p><ul><li>ssh -p 30000 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a>@Your Server&#8217;s IP Address</li></ul><h2>2. More CentOS configuration and setting development tools</h2><p><img class="alignnone size-full wp-image-1374" title="centos" src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/04/centos.jpg" alt="" width="307" height="103" /></p><p>In this section we&#8217;d configure CentOS to use external repositories, so that installation of various tools becomes easier and that in case you want to <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> any software then it should be able to find the dependencies without much issues. <strong>One of the most known repository other than default one is RPMFORGE</strong> and we need to configure our server for that. Please follow this <a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-b06dd43af4eb366c28879a551701b1b5e4aefccd" target="_blank">article to install RPMFORGE</a>. Once we are done with that, we will run the following commands -</p><ul><li>sudo yum update</li><li>sudo yum groupinstall &#8216;Development Tools&#8217; &#8216;Development Libraries&#8217;</li></ul><p>This will update the YUM and will <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> most of the development tools and its libraries that you&#8217;d need in future. I hope that most of you would not find problems till this point of time as these are some simple steps, however things will start getting a little complicated when we&#8217;ll start installing <strong>Nginx</strong>, <strong><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>, MySQL, caching systems</strong> configuring them for optimum results. So gear up for the fun and awesome challenge that we&#8217;ll experience in forthcoming posts.</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/how-to-setup-cloud-servers-for-blog-optimisation/">Permalink</a> </small></p><h4>Related posts</h4><ul class="st-related-posts"><li><a href="http://blogdesignstudio.com/blogging-tips/task-series-task-1-update-your-twitter-profiles/" title="Task Series &#8211; Task # 1 : Update your twitter profiles! (February 2, 2009)">Task Series &#8211; Task # 1 : Update your twitter profiles!</a> (1)</li><li><a href="http://blogdesignstudio.com/blogging-tools/will-you-carry-a-laptop-for-blogging-if-you-get-iphone-with-3g-connection/" title="Will you carry a laptop for blogging, if you get iPhone with 3G connection? (April 2, 2009)">Will you carry a laptop for blogging, if you get iPhone with 3G connection?</a> (5)</li><li><a href="http://blogdesignstudio.com/wordpress-tutorials/coding-the-wordpress-loop-explained/" title="Coding the WordPress Loop explained (October 20, 2009)">Coding the WordPress Loop explained</a> (1)</li><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/wordpress-customization/improve-seo-and-integrate-sitemap-in-404/" title="Improve seo and integrate sitemap in 404! (October 25, 2008)">Improve seo and integrate sitemap in 404!</a> (4)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/how-to-setup-cloud-servers-for-blog-optimisation/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <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://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/01/phpmyadmin.jpg" width="455" height="241" alt="phpmyadmin.jpg" /></p><p>As we all know that <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> these days. At times, it looks like a perfect marriage between the two!</p><p>When it comes to <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>, 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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><li><a href="http://blogdesignstudio.com/wordpress-tutorials/how-to-setup-cloud-servers-for-blog-optimisation/" title="Part 1 : How to setup Cloud Servers for blog optimisation (April 21, 2010)">Part 1 : How to setup Cloud Servers for blog optimisation</a> (1)</li></ul>]]></content:encoded> <wfw:commentRss>http://blogdesignstudio.com/wordpress-tutorials/mysql-database-trickstutorial-through-phpmyadmin-for-wordpress/feed/</wfw:commentRss> <slash:comments>3</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://blogdesignstudio.blogdesignstudio.netdna-cdn.com/wp-content/uploads/2010/01/no-place-localhost.jpg"><img src="http://blogdesignstudio.blogdesignstudio.netdna-cdn.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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> it at the root of some of your drives, usually C, but I prefer to <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> 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><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a> </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><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a></strong>. Go to their <a href="http://wordpress.org/download/">site</a> and download the latest version of <strong><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a></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/<a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">wordpress</a>/wp-admin/<a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a>.php</strong> , follow the instructions and <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>.</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/recent-work/makethedayscountcom-theme-design/" title="MakeTheDaysCount.com design (November 24, 2008)">MakeTheDaysCount.com design</a> (0)</li><li><a href="http://blogdesignstudio.com/blogging-tips/can-blogging-help-me-in-marketing-or-improving-my-business/" title="Can blogging help me in marketing or improving my business ? (August 30, 2008)">Can blogging help me in marketing or improving my business ?</a> (0)</li><li><a href="http://blogdesignstudio.com/mini-blog/how-to-build-multi-author-blog-with-wordpress/" title="How to build multi-author blog with WordPress? (November 19, 2008)">How to build multi-author blog with WordPress?</a> (0)</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/free/newblue-theme-contest-entery-and-a-free-theme/" title="NewBlue theme &#8211; contest entery and a free theme! (October 8, 2008)">NewBlue theme &#8211; contest entery and a free theme!</a> (29)</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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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/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-plugins/11-must-install-plugins-for-multi-authored-wordpress-blogs/" title="11 Must install plugins for multi-authored WordPress blogs (March 31, 2010)">11 Must install plugins for multi-authored WordPress blogs</a> (6)</li><li><a href="http://blogdesignstudio.com/recent-work/makethedayscountcom-theme-design/" title="MakeTheDaysCount.com design (November 24, 2008)">MakeTheDaysCount.com design</a> (0)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/wordpress-3-0-the-ultimate-one/" title="WordPress 3.0 &#8211; The Ultimate One! (April 9, 2010)">WordPress 3.0 &#8211; The Ultimate One!</a> (5)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/improve-seo-and-integrate-sitemap-in-404/" title="Improve seo and integrate sitemap in 404! (October 25, 2008)">Improve seo and integrate sitemap in 404!</a> (4)</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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> a try and convert some of my XHTML codes to <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>. 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><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> is a <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/themes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Themes">themes</a> 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 <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> by now. Make sure that your <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> engine is running, then go ahead and drop your folder that contains all the HTML in it into the wp-content/<a href="http://blogdesignstudio.com/tag/themes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Themes">themes</a> folder. Wp-content contains all the content, uploads, <a href="http://blogdesignstudio.com/tag/themes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Themes">themes</a>, 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: <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">Blog</a> <a href="http://blogdesignstudio.com/tag/design/" class="st_tag internal_tag" rel="tag" title="Posts tagged with design">Design</a> 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-customization/is-dynamic-cms-good-or-static-cms/" title="Is Dynamic CMS good or Static CMS? (December 15, 2008)">Is Dynamic CMS good or Static CMS?</a> (5)</li><li><a href="http://blogdesignstudio.com/wordpress-tutorials/coding-the-wordpress-loop-explained/" title="Coding the WordPress Loop explained (October 20, 2009)">Coding the WordPress Loop explained</a> (1)</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/mini-blog/wordpress-262-released-update-it-asap/" title="WordPress 2.6.2 released &#8211; Update it ASAP! (September 10, 2008)">WordPress 2.6.2 released &#8211; Update it ASAP!</a> (0)</li><li><a href="http://blogdesignstudio.com/blog-marketing/we-have-the-winner-of-business-card-design-contest/" title="We have the winner of business card design contest (March 26, 2009)">We have the winner of business card design contest</a> (3)</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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> (definitely makes me feel good). Coming back to the actual <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> post and the talks of <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> not being a secure <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">Security</a> or play the blame game after our <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>&#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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> installations, you are inviting hackers to exploit your <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>.</p><h2>What all can I do to keep my <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> safe from prying eyes. However, that are the safety measures that you can take. However, if your <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> or someone who&#8217;d look in the code of every <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> installation that tells them about the activity of the <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>. I&#8217;m sure that a person will get alerted if he sees that 30 new posts were added on his/her <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> when he was busy somewhere else.</p><p><b>3. Educated users through <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>.TV</b> &#8211; <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>.TV is an excellent resource that has lots of videos that educate users about various sections of <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a>. 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 <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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-tips/can-blogging-help-me-in-marketing-or-improving-my-business/" title="Can blogging help me in marketing or improving my business ? (August 30, 2008)">Can blogging help me in marketing or improving my business ?</a> (0)</li><li><a href="http://blogdesignstudio.com/blogging-tools/one-should-definitely-install-intensedebate-comments-plugin/" title="One should definitely install IntenseDebate Comments plugin! (November 14, 2008)">One should definitely install IntenseDebate Comments plugin!</a> (3)</li><li><a href="http://blogdesignstudio.com/mini-blog/indibloggies-do-you-think-we-can-make-it/" title="IndiBloggies &#8211; Do you think we can make it? (February 16, 2009)">IndiBloggies &#8211; Do you think we can make it?</a> (3)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/want-to-use-wordpress-as-an-e-commerce-site/" title="Want to use WordPress as an E-commerce site? (August 29, 2008)">Want to use WordPress as an E-commerce site?</a> (3)</li><li><a href="http://blogdesignstudio.com/wordpress-customization/two-files-required-to-update-to-wordpress-263/" title="Two files required to update to wordpress 2.6.3! (October 24, 2008)">Two files required to update to wordpress 2.6.3!</a> (1)</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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> plays an important role in the <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> of the <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a></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;"><a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>. 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 <a href="http://blogdesignstudio.com/tag/webhost/" class="st_tag internal_tag" rel="tag" title="Posts tagged with webhost">webhost</a>&#8217;s MySQL admin tool (e.g. phpmyadmin), locate and select your <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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; <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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/wordpress-customization/wordpress-security-service-for-free/" title="WordPress Security Service for free! (January 18, 2010)">WordPress Security Service for free!</a> (3)</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/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></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>9</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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> easily as <strong>we&#8217;ll change the table structure of the <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a></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 <a href="http://blogdesignstudio.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Install">install</a> <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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-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-tutorials/webmasters-should-use-mac-linux/" title="Webmasters! For heaven&#8217;s sake start using Mac or Linux! (May 18, 2010)">Webmasters! For heaven&#8217;s sake start using Mac or Linux!</a> (5)</li><li><a href="http://blogdesignstudio.com/wordpress-plugins/how-to-have-vaultpress-like-protection-for-your-wordpress-blog/" title="How to have VaultPress like protection for your WordPress blog (April 5, 2010)">How to have VaultPress like protection for your WordPress blog</a> (4)</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> (3)</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>7</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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> is safe from prying eyes, we are running this <a href="http://blogdesignstudio.com/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with security">security</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>.</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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a>. This directory needs CHMOD value as 755.<br /> 3. <strong>wp-admin/index.php</strong> &#8211; This is the file that displays you the <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> admin section. They requires 755 as the CHMOD value.<br /> 5. <strong>wp-content/,</strong> <strong>wp-content/<a href="http://blogdesignstudio.com/tag/themes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Themes">themes</a>/, 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 ;) ] 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 <a href="http://blogdesignstudio.com/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with WordPress">WordPress</a> <a href="http://blogdesignstudio.com/tag/blog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with blog">blog</a> 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>4</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using xcache
Page Caching using xcache (user agent is rejected)
Database Caching using xcache
Object Caching 1926/2220 objects using xcache
Content Delivery Network via blogdesignstudio.blogdesignstudio.netdna-cdn.com

Served from: blogdesignstudio.com @ 2010-09-02 15:13:29 -->