<?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>Web Style Press, Best Practices from all the Web, Build Better Websites &#187; tips</title>
	<atom:link href="http://www.webstylepress.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</title>
		<link>http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/</link>
		<comments>http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 00:44:56 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[standards]]></category>
		<category><![CDATA[Web Guidelines]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[designing]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[web design standards]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=748</guid>
		<description><![CDATA[Sooner or later you will feel dissatisfied with your current blog / website design. You will have to change the website design for better either for expanding needs or better look and feel. I recently needed to redesign my one of blog&#8217;s theme. I have much experience in designing websites and blogs so luckily I [...]<p><a href="http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Sooner or later you will feel dissatisfied with your current blog / website design. You will have to change the website design for better either for expanding needs or better look and feel. I recently needed to redesign my one of blog&#8217;s theme. I have much experience in designing websites and blogs so luckily I know how to take it to the best level and what you need to keep in mind and what to take care about while redesigning your current theme / design so that you may not have to start over and do the tweaks. Alright I will share everything and process what I went through in designing my new blog theme. Once you go through reading all this, you will know what to keep in mind for best results. I have also included updates which I did to my blog for better user experience, better SEO and better ads placement.</p>
<p><span id="more-748"></span></p>
<p>I needed to redesign the blog theme. Why? Let me explain:</p>
<h2>What I was Unhappy About?</h2>
<ul>
<li>Current theme was kind of lame.</li>
<li>Header needed to be professional. There was a lot of free space in header.</li>
<li>I needed a clean theme with all white background so that user may focus on content and theme may load faster</li>
<li>I needed to remove recent posts, recent comments and popular posts from sidebar.</li>
<li>I needed a single sidebar. There were two thin sidebars. I needed one wide sidebar.</li>
<li>I needed a sidebar where 300px width ads can be placed.</li>
<li>I needed two ad spots at the top of the post. So I needed content area where 336px and 300px width ads can be adjusted.</li>
<li>I needed two ad spots at the bottom of post similar to top.</li>
<li>I needed to remove categories from the right-sidebar and bring them down to the blog content.</li>
<li>I needed to take categories, tags, pages at the bottom of the blog because search engine crawler crawls pages from top to bottom and left to right.</li>
</ul>
<h2>Research &#8211; RnD &#8211; Preparation</h2>
<ul>
<li>The Google ad width was 336px which I was using at the top.</li>
<li>Next to that, ad can be of 300px width.</li>
<li>Sidebar can be of 312px width inwhich 300px width ad could be easily adjusted.</li>
<li>The screen area available for display is 1004px width.</li>
<li>I need to place two ads at the top of post and two at the bottom.</li>
<li>Categories can go down to content.</li>
<li>Below the bottom ads, I can place &#8216;tags&#8217;, &#8216;share buttons&#8217;, &#8216;top searches&#8217; etc.</li>
</ul>
<p>So here is the model.</p>
<ul>
<li>Top header</li>
<li>Rightsidebar with 312px width</li>
<li>Leftside area for content (336+300px+extra space)</li>
<li>Two top ads below title</li>
<li>Content</li>
<li>Page navigation</li>
<li>Two bottom ads</li>
<li>Tags and category for post</li>
<li>Share buttons</li>
<li>Related posts + 300px ad spot</li>
<li>Related searches</li>
</ul>
<p><a href="http://www.webstylepress.com/wp-content/uploads/2011/01/blog-theme-design-model.jpg"><img src="http://www.webstylepress.com/wp-content/uploads/2011/01/blog-theme-design-model-642x1207.jpg" alt="blog-theme-design-model" title="blog-theme-design-model" width="642" height="1207" class="aligncenter size-thumbnail wp-image-752" /></a></p>
<p>Give a look to mashable.com, instantshift.com and smashingmagazine.com for layout and elements orientation and style because pros do it best in every way. Blog the should be SEO ready, search engine friendly, user friendly, clean and there should be no empty spaces and you should choose ads spots wisely so that you have enough space for ads yet site / blog may look good.</p>
<p>Then I redesigned the blog keeping these things in mind and after that checked for W3C validations.</p>
<h2>How to Use Sidebar Wisely?</h2>
<p>There is no need to display recent posts widget. Anybody can view your blog&#8217;s main page for recent posts and activity. Infact do not display widgets in sidebar. Display sharing / subscription options and RSS buttons at the sidebar top. Make sure you have 300px min. width available in sidebar so that you can place ads of 300px, or two 120px or two 150px ads in sidebar. Keep sidebar for the ads. You don&#8217;t wanna put all the eggs in one basket. Place ads from different advertisement networks.</p>
<h2>Content Area VS Ads Spots</h2>
<p>Alright, you have got the main content area where you gonna post the actual stuff. I have been placing one 336px width google ad at the top and one same at the bottom of the post but you know that left some empty space infront of ads. My writing style did not allow me do ad float left and type some text infront of it, so it was always the post title, then 336px google ad below and the empty space infront of it and then below an image and then below the text for post.</p>
<p>The best practice to do is to not leave any area empty in your blog or website. Fill the website with proper elements and stuff according to space available and other limitations. What I did was this. I made content area bigger enough to fit two ads at the top of the post. one 336px width ad and one 300px ad side by side at top of the content and then content below. Same I did for area below the post. Two side by side ads below post. One 336px and one 300px width. That&#8217;s it. All spaces filled and I used more space for ads as well.</p>
<h2>Where is the space for More Ads?</h2>
<p>You know, sometimes you need more ads space to experiment with another advertisement network to make some extra bucks. Now the sidebar has got ads, top of the post and bottom of the post has got ads and what next?</p>
<p>There is a cool plugin many bloggers use named as &#8216;related posts&#8217;. It displays related posts for the topic. We use it below the post. That related posts area can be of 336px width and infront of that you can have 300px width ad.</p>
<h2>Categories, Tags and Pages Links Placement</h2>
<p>You know what? These are not important. You do not need to show whole category tree in the sidebar. Soon you will have lots of categories and lots of tags and even lots of pages. Take all these at the bottom of blog. Above footer you can use categories and few popular tags. In footer use page links. That&#8217;s it. Search engine crawler crawls from top to bottom and left to right. So the actual content should be near top and left of all the available area.</p>
<p>Based on the stuff I described, I have designed my theme and I am pretty much happy about it. What do you keep in mind before redesigning the theme? or what did you find useful in your latest design technique and approach?</p>
<p><a href="http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/standard-and-non-standard-links/" title="Standard and Non-Standard Links">Standard and Non-Standard Links</a></li><li><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/" title="Protect Your WordPress Blog From Hotlinking">Protect Your WordPress Blog From Hotlinking</a></li><li><a href="http://www.webstylepress.com/680-adobe-photoshop-shapes-download-free/" title="680 Adobe Photoshop Shapes &#8211; Download Free">680 Adobe Photoshop Shapes &#8211; Download Free</a></li><li><a href="http://www.webstylepress.com/designing-elements-bullets-icons-download/" title="Designing Elements &#8211; Bullets and Icons Downloads">Designing Elements &#8211; Bullets and Icons Downloads</a></li><li><a href="http://www.webstylepress.com/div-issues-problems-and-solution/" title="DIV Issues, Problems and Solutions">DIV Issues, Problems and Solutions</a></li><li><a href="http://www.webstylepress.com/website-standards-2/" title="Website Standards">Website Standards</a></li><li><a href="http://www.webstylepress.com/fav-icon-tutorial/" title="Fav Icon Tutorial">Fav Icon Tutorial</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li><li><a href="http://www.webstylepress.com/website-standards/" title="Website Standards and Check-Lists">Website Standards and Check-Lists</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect Your WordPress Blog From Hotlinking</title>
		<link>http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/</link>
		<comments>http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 22:44:47 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Modrewrite]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wp Customization]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[hotlinking]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=466</guid>
		<description><![CDATA[Hotlinking is the use of an image from a website into another web page belonging to another site. There is thin chances that any popular blog will not be hot linked ever. By this way other websites use your host&#8217;s bandwidth and cause load at your server which has no benefit for you but loss. [...]<p><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/">Protect Your WordPress Blog From Hotlinking</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Hotlinking is the use of an image from a website into another web page belonging to another site. There is thin chances that any popular blog will not be hot linked ever. By this way other websites use your host&#8217;s bandwidth and cause load at your server which has no benefit for you but loss. Following is a solution to protect your WordPress blog from hotlinking using .htaccess file.</p>
<p>Ever visited a webpage when you were trying to access an image, which shows you an image saying that image stealing is prohibited. We are going to use this way. The image will still be displayed from your blog but then it can be small and of low quality minimizing load. So we will create a small image written something like &#8220;Content Stealing is prohibited at my server&#8221; and upload it on our blog server.</p>
<p>Then, we will edit our .htaccess file, located in your WordPress blog root directory. Sometimes ftp does not show .htaccess file because it is hidden. In that case we can apply a filter -a via ftp which will show us hidden files too. </p>
<p><span id="more-466"></span></p>
<p>Add the following code to your .htaccess file:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">RewriteEngine On
#Replace ?myblog\.com/
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?myblog\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
#Replace /images/donothotlink.jpg
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/donothotlink.jpg [L]</pre></div></div>

<p>Replace myblog with your blog URL name. For this blog it will be <strong>webstylepress</strong><br />
Use <strong>donothotlink</strong> as a name for your jpg image.</p>
<p>And you are done. Now when anybody shall copy any image URL from your blog, this image will be shown instead.</p>
<p><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/">Protect Your WordPress Blog From Hotlinking</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/" title="Redesign Brainstorming &#8211; Keep in Mind Before you Redesign">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a></li><li><a href="http://www.webstylepress.com/code-hider-tool-lock-webpage-code/" title="Code Hider Tool &#8211; Lock Webpage Code">Code Hider Tool &#8211; Lock Webpage Code</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-1/" title="Javascript Essentials Part 1">Javascript Essentials Part 1</a></li><li><a href="http://www.webstylepress.com/div-issues-problems-and-solution/" title="DIV Issues, Problems and Solutions">DIV Issues, Problems and Solutions</a></li><li><a href="http://www.webstylepress.com/fav-icon-tutorial/" title="Fav Icon Tutorial">Fav Icon Tutorial</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DIV Issues, Problems and Solutions</title>
		<link>http://www.webstylepress.com/div-issues-problems-and-solution/</link>
		<comments>http://www.webstylepress.com/div-issues-problems-and-solution/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 20:48:04 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[DIV]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=323</guid>
		<description><![CDATA[DIV based table less websites are common (essential, precisely speaking) now a days. Web 2.0 Web style is also about DIV based Validated websites. DIV is a little bit tricky to handle than simple tables. Here are few very essential known issues which I have been facing and their solutions. Blank Line Spaces Problem Sometimes [...]<p><a href="http://www.webstylepress.com/div-issues-problems-and-solution/">DIV Issues, Problems and Solutions</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>DIV based table less websites are common (essential, precisely speaking) now a days. Web 2.0 Web style is also about DIV based Validated websites. DIV is a little bit tricky to handle than simple tables. Here are few very essential known issues which I have been facing and their solutions.</p>
<p><span id="more-323"></span></p>
<h4>Blank Line Spaces Problem</h4>
<p>Sometimes we use blank DIV. Suppose we use a DIV of 1px height. But its empty. Its behavior in IE and Firefox will be different. To avoid that use [ &#038; n b s p ; ] or place blank gif image of 1px height in that.</p>
<h4>Top-Padding Issue</h4>
<p>Do not give top-padding to any element which is in div containing id as in example beneath:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;some-id&quot;&gt;
 &lt;div class=&quot;some-class&quot;&gt;
  text
 &lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p>In above case top padding will be applied at class named as <em>some-class</em> and not at id named <em>some-id</em>.</p>
<h4>Content Overlaps In spite of Not Using BR (line breaks)</h4>
<p>Well, consider header, content and footer. These are three parts of website and in some cases if they just overlaps then you are missing clear both property of CSS.</p>
<p>Use clear:both; in css for every different part of website, for line break.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">~~ Header ~~
&lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;
~~ Body ~~
&lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;
~~ Footer ~~</pre></div></div>

<h4>Vertical Alignment of Content In DIV</h4>
<p>Things will be always top aligned in case of DIV.<br />
So when placing images in the center of box then you will have to use top padding for that image via CSS.</p>
<h4>UL LI List Padding Margin Problem In DIV</h4>
<p>UL, LI have default spacings (padding and margin). Whether you define these 0 in CSS or whatever, the spacing between li will be different in IE and Firefox which is not ok when you are placing two lists besides each other and you require same height for both Lists.</p>
<p>Use line-height for li distances and not padding or margin and define max-height property in CSS for UL tag.</p>
<h4>Naming Classes</h4>
<p>Start class or id names with text and not with numbers.</p>
<p>i.e.<br />
class=&#8221;<strong>nav</strong>&#8221; is ok<br />
class=&#8221;<strong>2-nav</strong>&#8221; is not ok</p>
<h4>Blocked Elements and Inline Elements</h4>
<p>Tags with default line breaks are blocked elements while tags with no default line break are inline elements. You can write inline elements in the same line but not blocked elements.<br />
i.e.<br />
DIV, p are blocked elements.<br />
strong, a, span are inline elements.</p>
<h4>Difference Between ID and Class</h4>
<p>Id is unique throughout the website. Id can not be used more than once in a web page. While you can use the same class for many tags in html.<br />
id is unique and is not repeated throughout site but class can be applied at multiple tags.</p>
<h4>Div With Blank Bottom Padding</h4>
<p>Sometimes even when we define div height and there are no breaks after that but it takes some space or bottom padding and pushes next content a little more down.</p>
<p>Use overflow hidden property at that div via CSS, containing image, data or whatever which is causing bottom blank space (this problem occurs usually in i.e.6).</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span></pre></div></div>

<h4>Float and Align</h4>
<p>mozilla firefox looks for float for alignment and not the text-align. Floating for DIV is shifting Whole DIV to right or left while aligning left or right for DIV is left or right alignment of data or content containing that DIV.</p>
<p><a href="http://www.webstylepress.com/div-issues-problems-and-solution/">DIV Issues, Problems and Solutions</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/" title="Redesign Brainstorming &#8211; Keep in Mind Before you Redesign">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a></li><li><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/" title="Protect Your WordPress Blog From Hotlinking">Protect Your WordPress Blog From Hotlinking</a></li><li><a href="http://www.webstylepress.com/fav-icon-tutorial/" title="Fav Icon Tutorial">Fav Icon Tutorial</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/div-issues-problems-and-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fav Icon Tutorial</title>
		<link>http://www.webstylepress.com/fav-icon-tutorial/</link>
		<comments>http://www.webstylepress.com/fav-icon-tutorial/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 17:25:29 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[ico]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=58</guid>
		<description><![CDATA[Place favicon.ico file in root directory of your web host (public_html or www) and add following code into head section of your web page. &#60;link rel=&#34;Shortcut icon&#34; href=&#34;/favicon.ico&#34;&#62; OR &#60;link rel=&#34;icon&#34; href=&#34;http://www.url/favicon.ico&#34; type=&#34;images/x-icon&#34; /&#62; How To Create .ico file? I create it using my Adobe Photoshop. I have icoformat plugin file which I add in [...]<p><a href="http://www.webstylepress.com/fav-icon-tutorial/">Fav Icon Tutorial</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Place favicon.ico file in root directory of your web host (public_html or www) and add following code into head section of your web page.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;Shortcut icon&quot; href=&quot;/favicon.ico&quot;&gt;</pre></div></div>

<p>OR</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;icon&quot; href=&quot;http://www.url/favicon.ico&quot; type=&quot;images/x-icon&quot; /&gt;</pre></div></div>

<p><span id="more-45"></span></p>
<h4>How To Create .ico file?</h4>
<p>I create it using my Adobe Photoshop. I have icoformat plugin file which I add in adobe photoshop plugins for having an option of save as .ico file.</p>
<h4>Path to add plugin</h4>
<p>In my case<br />
C:\Program Files\Adobe\Adobe Photoshop CS3\Plug-Ins\Extensions</p>
<p>Place there icoformat plugin file and while saving file photoshop will offer option of saving as .ico file. We usually create 16&#215;16 px file for icon and save as filename.ico.</p>
<p><a href='http://www.webstylepress.com/wp-content/uploads/2008/09/photoshopiconformat.rar'>Download Photoshop Icon Format Plugin</a></p>
<p><a href="http://www.webstylepress.com/fav-icon-tutorial/">Fav Icon Tutorial</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/" title="Redesign Brainstorming &#8211; Keep in Mind Before you Redesign">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a></li><li><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/" title="Protect Your WordPress Blog From Hotlinking">Protect Your WordPress Blog From Hotlinking</a></li><li><a href="http://www.webstylepress.com/jquery-fancy-date-picker/" title="jQuery Fancy Date Picker">jQuery Fancy Date Picker</a></li><li><a href="http://www.webstylepress.com/div-issues-problems-and-solution/" title="DIV Issues, Problems and Solutions">DIV Issues, Problems and Solutions</a></li><li><a href="http://www.webstylepress.com/accessible-news-slider/" title="Accessible News Slider jQuery Plugin Download">Accessible News Slider jQuery Plugin Download</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/jcarousel-lite-scroll/" title="jCarousel Lite Scroll &#8211; Fancy Scroll">jCarousel Lite Scroll &#8211; Fancy Scroll</a></li><li><a href="http://www.webstylepress.com/robots-txt-file/" title="Robots File &#8211; Usage and Best Practices">Robots File &#8211; Usage and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/fav-icon-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Robots File &#8211; Usage and Best Practices</title>
		<link>http://www.webstylepress.com/robots-txt-file/</link>
		<comments>http://www.webstylepress.com/robots-txt-file/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 09:29:13 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Guidelines]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[SE]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=19</guid>
		<description><![CDATA[A robots.txt file restricts or allow Search Engine Robots (known as &#8220;bots&#8221;) that crawl the web. These bots are automated, and before they access pages of a site, they check to see if a robots.txt file exists that prevents or allow them from accessing certain pages. If you do not put a robots.txt file in [...]<p><a href="http://www.webstylepress.com/robots-txt-file/">Robots File &#8211; Usage and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A robots.txt file restricts or allow Search Engine Robots (known as &#8220;bots&#8221;) that crawl the web. These bots are automated, and before they access pages of a site, they check to see if a robots.txt file exists that prevents or allow them from accessing certain pages. If you do not put a robots.txt file in your website root directory (/public_html or www) then in log files there will be a warning that you have not robots file in your website root whenever a crawler will visit your web pages. So its necessary to use Robots file and to use it in a right way.</p>
<p><span id="more-19"></span></p>
<h5>How to create a robots.txt file</h5>
<p>This example allows all robots to visit all files because the wildcard &#8220;*&#8221; specifies all robots:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">User-agent: *
Disallow:</pre></div></div>

<p>This example keeps all robots out. No robot will visit your site and your pages will not be indexed by search engines:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">User-agent: *
Disallow: /</pre></div></div>

<p>The next is an example that tells all crawlers not to enter into four directories of a website:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">User-agent: *
Disallow: /cgi-bin/
Disallow: /images/
Disallow: /tmp/
Disallow: /private/</pre></div></div>

<p>Example that tells all crawlers not to enter one specific file:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">User-agent: *
Disallow: /directory/file.html</pre></div></div>

<h5>Crawl-delay directive</h5>
<p>Several major crawlers support a Crawl-delay parameter, set to the number of seconds to wait between successive requests to the same server:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">User-agent: *
Crawl-delay: 10</pre></div></div>

<h5>Allow Directive</h5>
<p>Allow file but disallow folder containing file, for example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">Allow: /folder1/myfile.html
Disallow: /folder1/</pre></div></div>

<h5>Extended Standard</h5>
<p>An Extended Standard for Robot Exclusion has been proposed, which adds several new directives, such as Visit-time and Request-rate. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">User-agent: *
Disallow: /downloads/
Request-rate: 1/5         # maximum rate is one page every 5 seconds
Visit-time: 0600-0845     # only visit between 06:00 and 08:45 UTC (GMT)</pre></div></div>

<p>Also read <a href="http://www.webstylepress.com/correct-way-to-use-robotstxt-file/" target="_blank">How to Use Correct robots.txt file</a></p>
<h5>More Information</h5>
<p><a rel="nofollow" target="_blank" href="http://www.robotstxt.org">http://www.robotstxt.org</a><br />
<a rel="nofollow" target="_blank" href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&#038;answer=40360">Google Guidelines about robots.txt</a></p>
<p><a href="http://www.webstylepress.com/robots-txt-file/">Robots File &#8211; Usage and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/correct-way-to-use-robotstxt-file/" title="Correct Way To Use Robots.txt File">Correct Way To Use Robots.txt File</a></li><li><a href="http://www.webstylepress.com/no-follow-your-own-blog-pages-for-better-pr/" title="No Follow Your Own Blog Pages for Better PR">No Follow Your Own Blog Pages for Better PR</a></li><li><a href="http://www.webstylepress.com/redesign-brainstorming-keep-in-mind-before-you-redesign/" title="Redesign Brainstorming &#8211; Keep in Mind Before you Redesign">Redesign Brainstorming &#8211; Keep in Mind Before you Redesign</a></li><li><a href="http://www.webstylepress.com/best-chrome-addons-bloggers-webdevelopers/" title="15 Best Chrome Addons For Bloggers and Web Developers">15 Best Chrome Addons For Bloggers and Web Developers</a></li><li><a href="http://www.webstylepress.com/exact-reach-of-sites-comparison-real-time/" title="Find out Exact Reach of Sites and Comparison with Each Other in Real Time">Find out Exact Reach of Sites and Comparison with Each Other in Real Time</a></li><li><a href="http://www.webstylepress.com/protect-your-wordpress-blog-from-hotlinking/" title="Protect Your WordPress Blog From Hotlinking">Protect Your WordPress Blog From Hotlinking</a></li><li><a href="http://www.webstylepress.com/full-free-xml-sitemap-generator/" title="Online Full Free XML Sitemap Generator">Online Full Free XML Sitemap Generator</a></li><li><a href="http://www.webstylepress.com/div-issues-problems-and-solution/" title="DIV Issues, Problems and Solutions">DIV Issues, Problems and Solutions</a></li><li><a href="http://www.webstylepress.com/fav-icon-tutorial/" title="Fav Icon Tutorial">Fav Icon Tutorial</a></li><li><a href="http://www.webstylepress.com/seo-resources/" title="SEO Tips, Search Engines and Directories Links to Submit Website &#8211; Website Promotion">SEO Tips, Search Engines and Directories Links to Submit Website &#8211; Website Promotion</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/robots-txt-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

