<?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>dotnetof ASP.NET</title>
	<atom:link href="http://dotnetofasp.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetofasp.net/howtoblog</link>
	<description>ASP.NET in VB.NET Code Examples</description>
	<lastBuildDate>Tue, 29 Dec 2009 01:54:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Formview Control: Binding to Datasources (Getting Started With Simple Ways and Codebehind)</title>
		<link>http://dotnetofasp.net/howtoblog/2009/12/data-controls/formview-control-binding-to-datasources-getting-started-with-simple-ways-and-codebehind/</link>
		<comments>http://dotnetofasp.net/howtoblog/2009/12/data-controls/formview-control-binding-to-datasources-getting-started-with-simple-ways-and-codebehind/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 01:53:26 +0000</pubDate>
		<dc:creator>travlanders</dc:creator>
				<category><![CDATA[Data Controls]]></category>
		<category><![CDATA[Formview]]></category>
		<category><![CDATA[ASP.NET 3.5]]></category>
		<category><![CDATA[codebehind]]></category>
		<category><![CDATA[Data Binding]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://dotnetofasp.net/howtoblog/?p=82</guid>
		<description><![CDATA[
The formview control has several ways of binding(linking) data to it.  I will briefly describe a couple of ways to do this and list some resources I found helpful.  Getting started using the formview is not tough&#8230;. check it out!!!

Simple Way to Add a Formview and Link Data to it
 
 
First, you need [...]]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>
<p>The formview control has several ways of binding(linking) data to it.  I will briefly describe a couple of ways to do this and list some resources I found helpful.  Getting started using the formview is not tough&#8230;. check it out!!!</p>
<p><br class="spacer_" /></p>
<p><strong><span style="font-size: large;">Simple Way to Add a Formview and Link Data to it</span></strong></p>
<p><strong><span style="font-size: large;"> </span></strong></p>
<div id="attachment_84" class="wp-caption aligncenter" style="width: 541px"><strong><img class="size-full wp-image-84" title="Formview: Add Using Toolbox" src="http://dotnetofasp.net/howtoblog/wp-content/uploads/2009/12/formview_add_using_toolbox.jpg" alt="Adding a formview by using the toolbox in Microsoft Visual Studio" width="531" height="403" /></strong><p class="wp-caption-text">Adding a formview by using the toolbox in Microsoft Visual Studio</p></div>
<p><strong> </strong></p>
<p><span style="font-size: large;"><span style="font-size: small;">First, you need to add a formview to your page by dragging and dropping it from the toolbox on the right in Microsoft Visual Studio.  In the toolbox it is in the data section.(yellow circle above) Drag and Drop it on your page&#8230;.<br />
 </span></span></p>
<p style="padding-left: 120px;"><span style="font-size: large;"><span style="font-size: small;"><br />
 </span></span></p>
<p><strong><span style="font-size: large;"> </span></strong></p>
<div id="attachment_75" class="wp-caption aligncenter" style="width: 541px"><strong><img class="size-full wp-image-75" title="FormView Datasource  and Design View" src="http://dotnetofasp.net/howtoblog/wp-content/uploads/2009/12/formview_datasource.jpg" alt="Here is where you can start to enable paging." width="531" height="404" /></strong><p class="wp-caption-text">Here you can bind a datasource to the formview.</p></div>
<p><strong> </strong></p>
<p><span style="font-size: small;"> Next, switch to Design view (Pink Circle Above) in Microsoft Visual Studio.  Then click on the little tab (green arrow above) on the right of your formview.  From there you click on the drop down list next to <strong>Choose Data Source: </strong>Then a wizard starts up and you fill in all the information about the connection and what data you want&#8230;. You then have a formview with all the trimmings.  <strong>[Note: If you have trouble with information for the connection wizard...i.e.- connection username, server name, password... try to ask your hosting service]</strong><br />
 </span></p>
<p style="padding-left: 120px;"> </p>
<p><br class="spacer_" /></p>
<p><span style="font-size: small;"><strong><span style="font-size: large;">Binding Data to the Formview Using CodeBehind</span></strong></span></p>
<p><span style="font-size: small;">Here I will show you one method I have used in codebehind to bind data to my formview. This is a LINQ to SQL sample using VB.NET&#8230;. I think the other steps would be different but assigning the datasource and the bind method<strong>[Lines L7&amp;L8]</strong> would be the same regardless of how you connect to your database.  Connect to the database and bind!!!<strong><span style="font-size: large;"><br />
 </span></strong></span></p>
<pre style="padding-left: 30px;">L1: Dim db As New Blog_InfoDataContext
L2: Dim query2 = From BlogEntries In db.Blog_Entries _
L3: Where DateAdd(DateInterval.Hour, 14, Now()) &gt;= BlogEntries.Start_Date _
L4: Select BlogEntries.ID, BlogEntries.Start_Date, BlogEntries.End_Date, _
L4: BlogEntries.Series, BlogEntries.Unit, BlogEntries.Additional_Comments _
L5: Order By Start_Date Descending
L6:
L7: FormView1.DataSource = query2
L8: FormView1.DataBind()
</pre>
<p>You can run this code in any event like (Page_Load, Etc.)</p>
<p><br class="spacer_" /></p>
<p><strong><span style="font-size: large;">Other Links</span></strong></p>
<p><span style="font-size: small;"><a title="FormView Control: Step by Step" href="http://www.beansoftware.com/ASP.NET-Tutorials/FormView-Control.aspx">FormView Control: Step by Step</a> &#8211; This one seems to cover most of the the basic topics that are associated with the formview control.</span></p>
<p><span style="font-size: small;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://dotnetofasp.net/howtoblog/2009/12/data-controls/formview-control-binding-to-datasources-getting-started-with-simple-ways-and-codebehind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putting HTML and other code into your Wordpress post</title>
		<link>http://dotnetofasp.net/howtoblog/2009/12/wordpress/putting-html-and-other-code-into-your-wordpress-post/</link>
		<comments>http://dotnetofasp.net/howtoblog/2009/12/wordpress/putting-html-and-other-code-into-your-wordpress-post/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 14:06:12 +0000</pubDate>
		<dc:creator>travlanders</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Adding HTML to Posts]]></category>
		<category><![CDATA[Code Markup]]></category>
		<category><![CDATA[Displaying Code]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://dotnetofasp.net/howtoblog/?p=54</guid>
		<description><![CDATA[The problem
Again I am not really sure why these basic things are overlooked and WordPress is impressively powerful in other areas&#8230;. The simple task was to add some html tags into my blog but I did not want them rendered&#8230; So I wanted to show HTML like (&#60;/p&#62;
&#60;p&#62; or &#60;br /&#62;) or whatever else trips [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="font-size: large;">The problem</span></strong></p>
<p><span style="font-size: small;">Again I am not really sure why these basic things are overlooked and WordPress is impressively powerful in other areas&#8230;. The simple task was to add some html tags into my blog but I did not want them rendered&#8230; So I wanted to show HTML like (<code>&lt;/p&gt;<br />
&lt;p&gt;</code> or <code>&lt;br /&gt;</code>) or whatever else trips your trigger without my browser reading them like a webpage(hands off broswer).</span></p>
<p><span style="font-size: small;">This is no easy task apparently&#8230;. This post on the WordPress Website about <a title="Writing Code in Your Posts" href="http://codex.wordpress.org/Writing_Code_in_Your_Posts">Writing Code in Your Posts</a> makes it sound so easy but it did not help me much&#8230;..other than learning these few:</span></p>
<pre>< = &amp;lt;
> = &amp;gt;
/ = &amp;#47;
] = &amp;#93;
[ = &amp;#91;
" = &amp;#34;
' = &amp;#39;</pre>
<p><span style="font-size: small;">Using these has worked for me in post titles but I can&#8217;t get them to stay in my actual posts(post body) so I looked for something to help.</span></p>
<p><span style="font-size: small;"><br />
 </span></p>
<p><span style="font-size: large;"><strong>The Solution / Answer / Help</strong></span></p>
<p><span style="font-size: small;">I found another Plugin to take care of my needs.  It seems there is a Plugin for everything&#8230; I am still testing this with my version(2.8.6) of WordPress but it worked&#8230; kind of&#8230; Until I find I better solution I will pass it on&#8230; The plugin is called&#8230;</span></p>
<p><span style="font-size: small;"><br />
 </span></p>
<p><a title="Code Markup in WordPress Posts" href="http://wordpress.org/extend/plugins/code-markup/"><span style="font-size: small;">Code Markup</span></a></p>
<p><span style="font-size: small;">I used version 1.3&#8230;. It was a little quirky but did work after some negotiations between the 2 of us&#8230; It could be that this is quirky because I have other Plugins installed.  Whatever the case I got it to work&#8230; Read on to learn more&#8230;)</span></p>
<p><span style="font-size: small;"><br />
 </span></p>
<p><span style="font-size: small;"><strong>Note:</strong> I found that if I saved while in HTML mode of my post editor it worked fine.  However, if I saved in the visual mode of the the WordPress editor it would erase my html and throw in a bunch of crazy code(random HTML)&#8230; The editor just can not leave some things alone.  The internal editor for WordPress makes changes to what you post when you save it&#8230; It means well but this can leave anyone frustrated.  First it was <code>&lt;br /&gt;</code> tags&#8230; like I talk about in this post about <a title="Adding line breaks in your WordPress Posts" href="http://dotnetofasp.net/howtoblog/2009/12/wordpress/adding-line-breaks-with-wordpress/">Adding Line Breaks <code>&lt;br /&gt;</code> With WordPress</a>.  All of this is a bit annoying.  It did eventually (knock on wood) giving me a working post with the HTML showing up&#8230;  I tested it in I am open to other options but for now this will do&#8230;  Apparently you can also add other types of code with this Plugin but I have not tried yet.</span></p>
<p><span style="font-size: small;"><br />
 </span></p>
]]></content:encoded>
			<wfw:commentRss>http://dotnetofasp.net/howtoblog/2009/12/wordpress/putting-html-and-other-code-into-your-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding Line Breaks &lt;br /&gt; With WordPress</title>
		<link>http://dotnetofasp.net/howtoblog/2009/12/wordpress/adding-line-breaks-with-wordpress/</link>
		<comments>http://dotnetofasp.net/howtoblog/2009/12/wordpress/adding-line-breaks-with-wordpress/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 14:44:14 +0000</pubDate>
		<dc:creator>travlanders</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[line breaks]]></category>
		<category><![CDATA[TinyMCE Advanced]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://dotnetofasp.net/howtoblog/?p=33</guid>
		<description><![CDATA[Overview of the Problem
What a difficult chore&#8230;. I use WordPress 2.8.6 but apparently this has been an issue with earlier versions of WordPress as well.  I noticed that there was no button to add line breaks.  Further when I tried to add them either in the visual viewer by pressing return or in the HTML [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="font-size: large;">Overview of the Problem</span></strong></p>
<p style="padding-left: 30px;">What a difficult chore&#8230;. I use <code>WordPress 2.8.6</code> but apparently this has been an issue with earlier versions of WordPress as well.  I noticed that there was no button to add line breaks.  Further when I tried to add them either in the visual viewer by pressing return or in the HTML viewer by adding <code>&lt;br /&gt;</code>&#8230;&#8230; I could but it was later erased by the editor.  This was very frustrating because line breaks, returns, carriage, returns, or whatever you want to call them are essential to typing.  How was this overlooked?  I am not sure but I needed a solution.</p>
<p><span style="font-size: large;"><strong>The Answer</strong></span></p>
<p style="padding-left: 30px;">I began to search for answers&#8230;.. I found some solutions but the one that worked for me was using a Plugin called &#8220;<a href="http://wordpress.org/extend/plugins/tinymce-advanced/"><span style="font-size: small;">TinyMCE Advanced</span></a>&#8220;.  This plugin gives you more options for your wordpress editor.  I am speaking of the interface you use to add posts.  The plugin gives you more buttons and options on that interface.  Once you have it installed (Plugins >> Add New) on your version of Wordpress follow these instructions.</p>
<p style="padding-left: 60px;">1. Go to Settings and choose TinyMCE Advanced</p>
<p style="padding-left: 60px;">2. At the bottom there is an advanced box.  One of the Check boxes says:</p>
<p style="padding-left: 60px;">&#8220;<strong><em>Stop removing the <code>&lt;p&gt;</code> and <code>&lt;br /&gt;</code> tags when saving and show them in the HTML editor</em></strong>&#8220;</p>
<p style="padding-left: 60px;">Check this box&#8230;.</p>
<p style="padding-left: 60px;"> </p>
<p style="padding-left: 30px;">Problem solved&#8230; You can also add a number of other buttons.  I am currently using <code>TinyMCE Advanced Version 3.2.4</code>&#8230;.</p>
<p style="padding-left: 30px;">Here is  a link which gives some other suggestions(tricks with <code>&lt;p&gt;</code> tags) that do not involve plugins&#8230;. It is also where I got my idea to use the <a title="TinyMCE Plugin" href="http://wordpress.org/extend/plugins/tinymce-advanced/">TinyMCE Plugin</a>&#8230;. The other solutions I could not get to work properly but maybe one of them would be better for you.  Most of the suggestions can be found in the comments at the bottom of this post:</p>
<p style="padding-left: 30px;"><a href="http://www.xarj.net/2008/how-to-add-extra-line-breaks-wordpress-posts/">How to Add Extra Line Breaks in WordPress</a></p>
<p><span style="font-size: small;"><br />
 </span></p>
]]></content:encoded>
			<wfw:commentRss>http://dotnetofasp.net/howtoblog/2009/12/wordpress/adding-line-breaks-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Permalinks: Getting It Right Using Windows</title>
		<link>http://dotnetofasp.net/howtoblog/2009/12/wordpress/wordpress-permalinks-getting-it-right-using-windows/</link>
		<comments>http://dotnetofasp.net/howtoblog/2009/12/wordpress/wordpress-permalinks-getting-it-right-using-windows/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 17:43:03 +0000</pubDate>
		<dc:creator>travlanders</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Blog URL]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[permalinks setup]]></category>
		<category><![CDATA[Post Slugs]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[WordPress Setup]]></category>

		<guid isPermaLink="false">http://dotnetofasp.net/howtoblog/?p=21</guid>
		<description><![CDATA[Finding the Right Terminology
When I first started thinking about this topic I was just surfing the web and I began to notice URLs that looked strange to me. These URLs did not list a file name.  I wondered how that could be. Examples look like:
http://dotnetofasp.net/howtoblog/2009/12/wordpress/how-to-setup-wordpress/
http://www.ikailo.com/94/url-modrewrite-workaround-iis-60/

Etc. and so on.
It took me a really long time to [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: large;"><strong>Finding the Right Terminology</strong></span></p>
<p style="padding-left: 30px;">When I first started thinking about this topic I was just surfing the web and I began to notice URLs that looked strange to me. These URLs did not list a file name.  I wondered how that could be. Examples look like:</p>
<p style="padding-left: 60px;"><code>http://dotnetofasp.net/howtoblog/2009/12/wordpress/how-to-setup-wordpress/</code></p>
<p style="padding-left: 60px;"><code>http://www.ikailo.com/94/url-modrewrite-workaround-iis-60/</code></p>
<div id="attachment_30" class="wp-caption alignnone" style="width: 584px"><img class="size-full wp-image-30" title="no_file_name" src="http://dotnetofasp.net/howtoblog/wp-content/uploads/2009/12/no_file_name.gif" alt="No Filenames for post slugs / permalinks" width="574" height="30" /><p class="wp-caption-text">No Filenames for post slugs / permalinks</p></div>
<p><br class="spacer_" /></p>
<p style="padding-left: 30px;">Etc. and so on.</p>
<p style="padding-left: 30px;">It took me a really long time to even know how to search for something like this.  I had no idea what this technique was called.  I searched things like &#8220;blog directories&#8221;  &#8220;weblog, no file names&#8221;  &#8220;SEO, Blogs&#8221;.  Mostly I thought that since this technique is helpful in getting your page found by search engines, I could find it on an <a title="Search Engine Optimization" href="http://en.wikipedia.org/wiki/Search_Engine_Optimization">SEO</a> site.  As you can guess these searches returned things unrelated to what I wanted.</p>
<p style="padding-left: 30px;">Finally, a bright idea&#8230; Look for a forum about blogging,  a forum about just writing a blog&#8230;. I signed up at this forum called <a href="http://www.bloggingtips.com/">Blogging Tips</a>.  I put up a post and the nice British chap that runs the site was quick to respond.  Seems like a pretty good forum thus far.  This forum could help you understand how to make money on your blog but for me it answered the question above.</p>
<p style="padding-left: 30px;">The name given to this technique is post slugs.  Later while searching I found another name, permalinks.  From here on out I will use the two words interchangeably.  Finally I had put a name (a couple names actually &gt;&gt;&gt; permalinks and post slugs) to what I wanted but how could I use them?  How could I set up my own permalinks?</p>
<p><br class="spacer_" /></p>
<p><strong><span style="font-size: large;">Windows and ISS Hosting Problems, Errors, Nightmares, Other Bad Words</span></strong></p>
<p style="padding-left: 30px;">With some reading I soon learned that my Windows hosting was not setup to handle permalinks.  For some odd reason this was not supported.  I emailed my hosting company(<a href="http://www.ixwebhosting.com/index.php/v2/pages.dspmain?sc_cid=aff-ix-travlanders">ixwebhosting</a>) for some advice but was assured that it could not be done.  This was after I sent several ideas I had gotten from the WordPress website.  They talk extensively on <a href="http://codex.wordpress.org/Using_Permalinks">how to use permalinks</a>.  Take a look at the section entitled &#8220;<em>Permalinks without mod_rewrite</em>&#8220;.  The options listed there include:</p>
<p style="padding-left: 90px;">1.  Microsoft&#8217;s URL Rewrite Module</p>
<p style="padding-left: 90px;">2.  PATHINFO Permalinks <strong> </strong></p>
<p style="padding-left: 90px;"><strong>3.  Custom 404 Redirects</strong></p>
<p style="padding-left: 30px;">The man from my hosting company that I talked to said it was not possible.</p>
<p style="padding-left: 30px;">Well&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;drum roll&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;it can be done&#8230;&#8230;. and I did it&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..actually I just followed the advice of a great programmer so really I did little but copy but you can do the same&#8230;..  I used <strong>custom 404 redirects</strong>.  Below are links on how to get your permalinks working.  I have also listed some other links in case you want to do this a different way.</p>
<p style="padding-left: 60px;"><a href="http://www.appliedi.net/blog/2007/10/30/the-better-way-to-do-permalinks-in-wordpress-on-windows/">New Version of a 404 redirect</a> <strong>&lt;&lt; The link I used</strong></p>
<p style="padding-left: 60px;"><a href="http://www.appliedi.net/blog/2007/10/30/the-better-way-to-do-permalinks-in-wordpress-on-windows/">Older Version of a 404 redirect</a> <a href="http://www.appliedi.net/blog/2007/10/30/the-better-way-to-do-permalinks-in-wordpress-on-windows/"></a></p>
<p style="padding-left: 60px;"><a href="http://www.appliedi.net/blog/2007/10/30/the-better-way-to-do-permalinks-in-wordpress-on-windows/">Another Technique Using An isapi-rewrite 3.0 from helicontech.com</a> <a href="http://dotnetyuppie.com/2009/09/21/permalinks-and-mod_rewrite-headaches-in-wordpress-with-iis/"></a></p>
<p style="padding-left: 60px;"><a href="http://dotnetyuppie.com/2009/09/21/permalinks-and-mod_rewrite-headaches-in-wordpress-with-iis/">Allows for a real 404 page in addition to permalinks</a></p>
<p style="padding-left: 30px;"><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://dotnetofasp.net/howtoblog/2009/12/wordpress/wordpress-permalinks-getting-it-right-using-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Setup Wordpress</title>
		<link>http://dotnetofasp.net/howtoblog/2009/12/wordpress/how-to-setup-wordpress/</link>
		<comments>http://dotnetofasp.net/howtoblog/2009/12/wordpress/how-to-setup-wordpress/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 14:05:56 +0000</pubDate>
		<dc:creator>travlanders</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ixwebhosting]]></category>
		<category><![CDATA[permalinks setup]]></category>
		<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[WordPress Setup]]></category>

		<guid isPermaLink="false">http://dotnetofasp.net/howtoblog/?p=1</guid>
		<description><![CDATA[Wow my first post&#8230;. This site is run by WordPress so I will discuss briefly how I set it up&#8230;..

Background (Where to host your blog&#8230;.)
I use a company called http://ixwebhosting.com/ to host my projects these days. So when I discovered WordPress was available I installed it from their control panel. This makes it sound like [...]]]></description>
			<content:encoded><![CDATA[<p>Wow my first post&#8230;. This site is run by <a href="http://wordpress.org/">WordPress</a> so I will discuss briefly how I set it up&#8230;..</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><strong>Background (Where to host your blog&#8230;.)</strong></span></p>
<p>I use a company called <a href="http://www.ixwebhosting.com/templates/ix/v2/affiliate/clickthru.cgi?id=travlanders">http://ixwebhosting.com/</a> to host my projects these days. So when I discovered WordPress was available I installed it from their control panel. This makes it sound like my hosting company is offering this service but the reality is that WordPress is free.  I didn&#8217;t understand all of this until I did a bit of research.  Go to <a href="http://wordpress.org/about/">WordPress.org&#8217;s About Page</a> to get a better understanding of what it is.</p>
<p>One thing about having a hosting company that is good is it allows you to have your own URL for your blog.  You pay the hosting company to be your own personal computer for when people type in your web address.  In a way it is kind of like having a secretary.  If someone calls your company(types in your address www.soandso.com) your secretary(hosting company) can be there to answer there questions and tell them about your company.  In order to have your blog from your own URL like</p>
<p style="padding-left: 60px;"><code>www.myname.com</code></p>
<p>you first need to have some kind of hosting with a company. Most hosting packages include php support and that is what you will need. So your files sit on their computer and whenever someone goes to your site your hosting company shows the files for you. One other thing to mention about hosts is that it would be easier if you chose a Linux based host instead of windows as the WordPress software seems to be more compatible with it. There are work arounds but as I discuss in this other post about <a href="http://dotnetofasp.net/howtoblog/2009/12/wordpress/wordpress-permalinks-getting-it-right-using-windows/">permalinks</a>&#8230;. windows hosting can give you some problems.</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><strong>About WordPress</strong></span></p>
<p>WordPress is a web application that utilizes <a href="http://www.php.net/">php</a> (programming language).  Really it is just a website (set of webpages) that allows you to build your own blog and it&#8217;s free.  So when I said above</p>
<blockquote><p>I installed it from their control panel.</p>
</blockquote>
<p>what that entailed was simply me pressing a button and my hosting company copying some files to a directory for me plus a few other things(creating a database and tables). Yes, all you have to do to get this up and running is simply copy over the files to your websites file directory and go&#8230;well not exactly.</p>
<p style="padding-left: 60px;">For some there may be a bit more to do see the section entitled<strong> &#8220;<em>The Ease of Installation and the wp-config.php file</em></strong>&#8221; for further information on what you should do to install this.</p>
<p style="padding-left: 60px;">As I said, for me, my host set up some of the things for me when I pressed a button but I still had some issues.  I explain in the <strong>&#8220;<em>Installation Problems</em>&#8220;</strong> section of this article what went wrong.  These issues pertain specifically to my installation with my hosting company <a href="http://www.ixwebhosting.com/templates/ix/v2/affiliate/clickthru.cgi?id=travlanders">ixwebhosting </a>but perhaps others can learn from my mistakes.</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><strong>WordPress Themes</strong></span></p>
<p>WordPress has many cool <a href="http://wordpress.org/extend/themes/">themes</a> to choose from so that you can make blog quite personal and looking good.  Since the default theme seemed boring I looked around and found a couple themes I liked. Basically setting the themes up is also a matter of copying your theme to a directory.  Again just copy over the files and you can administer the whole site with the webpages they provide for you.  Themes live in (<code>wp-content/themes</code>). This is in the root directory for your blog.  My blog lives at:</p>
<p style="padding-left: 60px;"><code>http://dotnetofasp.net/howtoblog/</code></p>
<p>so the themes are located at:</p>
<p style="padding-left: 60px;"><code>http://dotnetofasp.net/howtoblog/wp-content/themes</code></p>
<p>This is where I started to run into problems.  It wasn&#8217;t the biggest problem but still a problem.  Below I outlined how I fixed the problem with the themes and other issues I had.</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><strong>Installation Problems</strong></span></p>
<p><span style="font-size: large;"><span style="font-size: small;"> </span><span style="font-size: small;">My two main issues that caused me errors with my WordPress configuration were:</span><br />
 </span></p>
<ul>
<li><strong>Themes not Working</strong></li>
<li><strong>Permalinks not Working</strong></li>
</ul>
<p><br class="spacer_" /></p>
<p style="padding-left: 30px;"><strong><span style="font-size: medium;">Themes not Working</span></strong></p>
<p style="padding-left: 30px;">I encountered some setup problems when I tried to use the themes that I uploaded to the themes folder. They showed up on the admin pages of my WordPress blog but whenever I tried to activate these new themes the whole website disappeared!!!! Everything&#8230;. I could not see the admin section or my blog&#8230; They were blank pages&#8230; Since they were blank I had to delete all the files and start over again so I could see the admin pages again.</p>
<p style="padding-left: 30px;">The problem was I was running an older version of WordPress I found out.  My hosting company had &#8220;installed&#8221; a very old version of WordPress(2.2).  Basically they copied over an older set of files.  Now the latest beta version is up to 2.9. something and the stable version is 2.8.6 which is what this blog is using.  The moral is make sure you have the latest and greatest version before copying your files.</p>
<p style="padding-left: 30px;">So I downloaded the <a href="http://wordpress.org/download/">latest version of WordPress</a> and using <a href="http://en.wikipedia.org/wiki/File_Transfer_Protocol">FTP</a> software(I use GlobalSCAPE) I uploaded it.</p>
<p style="padding-left: 30px;">If you don&#8217;t have FTP software then you can use internet explorer to do this. Just type:</p>
<p style="padding-left: 90px;"><code>ftp://username:password@yourURL.com</code></p>
<p style="padding-left: 30px;">into the address bar of internet explorer.  This may work for other browsers but I know it works for Internet Explorer.</p>
<p style="padding-left: 30px;">I also took a look at these <a href=" http://codex.wordpress.org/Upgrading_WordPress_Extended">upgrading instructions</a> because I wanted to make sure I did it right. However, I am happy to report this was very easy to do. A lot easier than I expected. I simply erased all the old files(except wp-config.php) and uploaded the new.  The instructions tell you how to upgrade WordPress and in that case you have to save a few of the files but I just needed a brand new copy of the latest version.</p>
<p><br class="spacer_" /></p>
<p style="padding-left: 30px;"><strong><span style="font-size: medium;">Permalinks not Working</span></strong></p>
<p style="padding-left: 30px;"><strong>Pages Don&#8217;t Show Up &#8211; 404 Error &#8211; Not Found</strong></p>
<p style="padding-left: 30px;">What really drew me to WordPress were the permalinks.  At first I didn&#8217;t know what they were called but I had seen them URL&#8217;s on the web and knew they could be powerful for search engines.  I turned this feature on for my blog from the dashboard immediately.</p>
<p style="padding-left: 30px;">The problem I had was once I got everything looking good on the homepage, my other pages weren&#8217;t showing up.  I kept getting the error message above:      <strong>Pages Don&#8217;t Show Up &#8211; 404 Error &#8211; Not Found</strong></p>
<p style="padding-left: 30px;">This was extremely frustrating.  At first I thought there was not a work around for this because my hosting is Windows and apparently the feature of permalinks works better with Linux hosts.  There is however a work around and I mention it on this post entitled &#8220;<a href="http://dotnetofasp.net/howtoblog/2009/12/wordpress/wordpress-permalinks-getting-it-right-using-windows/">WordPress Permalinks: Getting It Right Using Windows</a>&#8220;.</p>
<p><br class="spacer_" /></p>
<p><span style="font-size: large;"><strong>The Ease of Installation and the wp-config.php file</strong></span></p>
<p>A couple times I talked about how easy this was to install.  Upon reading something I ran across I had a thought.  One thing my hosting company did do for me with that simple click of the button is they set up my <code>wp-config.php</code> file.  This has your database connections in it and does not come with the files you download off the net.  I tried to run WordPress without this file and it prompted me, even asking me if I wanted to create one so perhaps creating this on your own is not so bad with their wizard.</p>
<p>With a push of a button my database tables were also created.  That is nice.  If you don&#8217;t have that luxury this install could be a bit harder.  Perhaps you would have to get the table definitions for the database from WordPress&#8217;s site.   Since my tables were setup for me I did not have to worry about this.  Along thing is that luckily WordPress&#8217;s site is awesome for support.  Here are a few helpful links:</p>
<p><a href="http://codex.wordpress.org/Editing_wp-config.php">About the wp-config.php file (Editing-Creating-Etc.)</a></p>
<p><a href="http://codex.wordpress.org/Installing_WordPress">Installing WordPress</a></p>
<p><br class="spacer_" /></p>
<p><strong>Final Comments</strong></p>
<p>So far so good.  I think WordPress and I will have a long relationship.  It is simple to use and also has scalability(widgets and other add-ons people are coming up with everyday).  I suggest it to anyone wanting to blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://dotnetofasp.net/howtoblog/2009/12/wordpress/how-to-setup-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
