<?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>Girish Gangadharan &#187; Wordpress</title>
	<atom:link href="http://giri.sh/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://giri.sh</link>
	<description>Did you expect something witty here?</description>
	<lastBuildDate>Wed, 11 Jan 2012 05:54:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to set up clean URLs for a WordPress site in IIS</title>
		<link>http://giri.sh/2008/04/10/how-to-set-up-clean-urls-for-a-wordpress-site-in-iis/</link>
		<comments>http://giri.sh/2008/04/10/how-to-set-up-clean-urls-for-a-wordpress-site-in-iis/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 05:41:44 +0000</pubDate>
		<dc:creator>girish</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://giri.sh/?p=50</guid>
		<description><![CDATA[As promised in the previous post, here&#8217;s what you need to do to get clean URLs for WP in IIS. Create a new PHP file wp-404-handler.php in the root folder (in case you are not sure, this is the folder that has &#8220;wp-admin&#8221;, &#8220;wp-content&#8221;, &#8220;wp-includes&#8221; sub folders and bunch of other php files ) and [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>As promised in the previous post, here&#8217;s what you need to do to get clean URLs for WP in IIS.</p>
<ol>
<li>Create a new PHP file wp-404-handler.php in the root folder (in case you are not sure, this is the folder that has &#8220;wp-admin&#8221;, &#8220;wp-content&#8221;, &#8220;wp-includes&#8221; sub folders and bunch of other php files ) and copy paste the following code in it.&lt;?php<br />
$qs = $_SERVER['QUERY_STRING'];<br />
$pos = strrpos($qs, &#8216;://&#8217;);<br />
$pos = strpos($qs, &#8216;/&#8217;, $pos + 4);<br />
$_SERVER['REQUEST_URI'] = substr($qs, $pos);<br />
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];<br />
include(&#8216;index.php&#8217;);<br />
?&gt;</li>
<li>Open IIS manager &#8211; Expand local computer &#8211; Expand Web Sites &#8211; Right click on your site &#8211; Click Properties &#8211; Click Custom Errors tab &#8211; Select 404. (See image below)<img src="http://giri.sh/images/custom-errors.png" alt="IIS Website Custom errors tab" width="472" height="458" /></li>
<li>Click Edit &#8211; Set Message Type to &#8220;URL&#8221; and URL to &#8220;/&#8221; (See image below)<img src="http://giri.sh/images/404-edit.png" alt="404 edit properties" width="392" height="230" /></li>
<li>Click OK.</li>
<li>Now login to your WordPress admin control panel. Click Settings and click Permalink (wp-admin/options-permalink.php)</li>
<li>Select &#8220;Custom structure&#8221; and set the text to &#8220;/%year%/%monthnum%/%day%/%postname%/&#8221;</li>
<li>And you are done! Your site should now have clean URLs like this site does.</li>
</ol>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://giri.sh/2008/04/10/how-to-set-up-clean-urls-for-a-wordpress-site-in-iis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New domain. New site.</title>
		<link>http://giri.sh/2008/04/01/49/</link>
		<comments>http://giri.sh/2008/04/01/49/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 04:55:07 +0000</pubDate>
		<dc:creator>girish</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Pet projects]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://giri.sh/?p=49</guid>
		<description><![CDATA[A few days back i bought a new domain name (see URL) inspired by Matthew Mullenweg&#8216;s domain, founding developer of WordPress. I know. i know. Vanity is not really my thing. But hey&#8230; sometimes you just gotta give in. (Did that rhyme, btw?) So anyways, a new (and really cool) domain name deserved a new [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>A few days back i bought a new domain name (see URL) inspired by <a title="Matthew Mullenweg" href="http://ma.tt" target="_blank">Matthew Mullenweg</a><a title="Matthew Mullenweg" href="http://ma.tt" target="_blank">&#8216;s domain</a>, founding developer of <a title="Wordpress" href="http://wordpress.org" target="_blank">WordPress</a>.</p>
<p>I know. i know. Vanity is not really my thing. But hey&#8230; sometimes you just gotta give in. <img src='http://giri.sh/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (Did that rhyme, btw?)</p>
<p>So anyways, a new (and really cool) domain name deserved a new site i thought. And i started hunting for some cool WordPress template and after a lot of reviewing, decided to use <a title="PortraitPress theme" href="http://wordpress.jepson.no/portraitpress/" target="_blank">PortraitPress theme</a> by <a href="http://www.jepson.no/">Magnus Jepson.</a></p>
<p>I wish i was as creative as the Visual Designers i work with, that design and build their site&#8217;s theme (mostly on blog engines like <a title="Wordpress" href="http://wordpress.org" target="_blank">WordPress </a>or <a title="Textpattern" href="http://textpattern.org" target="_blank">textpattern</a> or <a title="ExpressionEngine" href="http://expressionengine.com/" target="_blank">Expression Engine</a>) from scratch.</p>
<p>But i&#8217;m not (i&#8217;m &#8220;just&#8221; a programmer) and as long as there are kind souls like Magnus, that don&#8217;t mind sharing their beautiful work for free, i don&#8217;t mind using it either.</p>
<p>Take a look around and let me know what you think.</p>
<p>And Oh..oh&#8230; before i forget, note the clean URLs. Getting WordPress to strip off the &#8220;index.php&#8221; was a big pain in the butt in the previous versions. For example, &#8220;<code>http://example.com/index.php/2008/04/01/sample-post/</code>&#8220;. And since almost all of the fixes they <a title="Wordpress permalinks" href="http://codex.wordpress.org/Using_Permalinks" target="_blank">recommended</a>, involved editing the <em>.htaccess </em>file which doesn&#8217;t apply to IIS, i never got it to work.</p>
<p>But this time, the site has clean URLs, for eg: <a title="Contact Girish" href="http://giri.sh/contact" target="_blank">http://giri.sh/contact</a> and <a title="About Girish" href="http://giri.sh/about" target="_blank">http://giri.sh/about</a>, even though it is hosted on the same environment &#8211; IIS on Windows 2003 server. I&#8217;ll post a tutorial with screenshots on how to do it.</p>
<p>By the way, if you are reading this from your RSS reader, don&#8217;t bother updating your feed URL. I&#8217;ve been using feedburner to publish my feeds and i have updated it already. But please visit the site and lemme know what you think.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://giri.sh/2008/04/01/49/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to install and use XFN plugin for textpattern</title>
		<link>http://giri.sh/2006/06/21/how-to-install-and-use-xfn-plugin-for-textpattern/</link>
		<comments>http://giri.sh/2006/06/21/how-to-install-and-use-xfn-plugin-for-textpattern/#comments</comments>
		<pubDate>Thu, 22 Jun 2006 04:19:00 +0000</pubDate>
		<dc:creator>girish</dc:creator>
				<category><![CDATA[Pet projects]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Textpattern]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://morethan2cents.com/morethan2cents/?p=16</guid>
		<description><![CDATA[Step 1: Download the plugins here. gg_linkxfn_v1.0.txt (admin side) gg_linklistxfn_v1.0.txt Since Textpattern is a PHP based CMS, the plugins are written in PHP as well. But these text plugin files don&#8217;t have any plain PHP code in it. The code is actually compiled into a chunk of base64-encoded text, to allow for easy installation and [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Step 1: Download the plugins here. <a href="http://giri.sh/downloads/gg_linkxfn_v1.0.txt">gg_linkxfn_v1.0.txt</a> (admin side) <a href="http://giri.sh/downloads/gg_linklistxfn_v1.0.txt">gg_linklistxfn_v1.0.txt</a> Since Textpattern is a PHP based CMS, the plugins are written in PHP as well. But these text plugin files don&#8217;t have any plain PHP code in it. The code is actually compiled into a chunk of base64-encoded text, to allow for easy installation and minimize corruption problems.</p>
<p>Step 2: Go to your textpattern admin interface usually yourdomainname.com/textpattern/index.php assuming you just did the simple basic installation.  Here&#8217;s what you should see now.  <img src="http://giri.sh/images/start.gif" alt="start" width="600" height="200" /></p>
<p>Step 3: Now click on the admin tab  <img src="http://giri.sh/images/admin.gif" alt="admin" width="600" height="200" /></p>
<p>Step 4: Click on plugins tab  <img src="http://giri.sh/images/plugins.gif" alt="plugins" width="600" height="200" /></p>
<p>Step 5: Now in the textarea beside &#8220;Install plugin&#8221;, copy paste the text from the <a href="http://giri.sh/downloads/gg_linkxfn_v1.0.txt">gg_linkxfn_v1.0.txt</a> (let&#8217;s install the admin side plugin first) and click &#8220;Upload&#8221;.  Textpattern will decode the text for you and spit out the plain PHP code, and then ask you whether you are ready to install it.  <img src="http://giri.sh/images/install.gif" alt="install" width="600" height="200" /></p>
<p>Step 6: Click Install. Now you should be back to the list of plugins under the plugin tab. On the gg_linkxfn plugin row, click on &#8220;No&#8221;(under the &#8220;active&#8221; column) to change it to &#8220;Yes&#8221;, to enable the plugin.  <img src="http://giri.sh/images/enable.gif" alt="enable" width="600" height="200" /></p>
<p>Step 7: That&#8217;s it you are done! Now to see the plugin in action. Click on the content tab. You should see a new tab named &#8220;linkxfn&#8221; under the sub tabs. Click on the new tab.  <img src="http://giri.sh/images/linkxfn.gif" alt="linkxfn" width="800" height="600" /></p>
<p>Step 8: There ya go! All set. Now you can choose your options from the fields, build the relation tag and see it in the &#8220;xfn&#8221; text area. Hit Save and you just have saved the values that will be populated in the &#8220;rel&#8221; attribute when you display the links using <a href="http://giri.sh/downloads/gg_linklistxfn.txt">gg_linklistxfn</a> plugin.</p>
<p>Step 9: Now repeat steps 1 to 7 to install and enable the <a href="http://giri.sh/downloads/gg_linklistxfn.txt">gg_linklistxfn</a> plugin.</p>
<p>Step 10: Here&#8217;s how you use it in your forms or pages.</p>
<pre><code>&lt;txp:if_category&gt;
&lt;txp:gg_linklistxfn form="waw_links" columns="1"
columnwraptag="ul" columnclass="alllinks" listwraptag=""
listclass="" headless="1" headwraptag="h3" argname="c"
category="Friends-and-Colleagues" /&gt;
&lt;txp:else /&gt;
&lt;txp:gg_linklistxfn form="waw_links" columns="1"
columnwraptag="ul" columnclass="alllinks" listwraptag=""
listclass="" headwraptag="h3" headless="1"
category="Friends-and-Colleagues"/&gt;
&lt;/txp:if_category&gt;</code></pre>
<p>Since this plugin is an extension of Manfre&#8217;s <a href="http://manfre.net/project/631/mem-glinklist">mem_glinklist</a> plugin, you can just read how to configure it from his help page. There are no new parameters to add or nothing different about how you use it.</p>
<p>Step 11. Here&#8217;s a demo. Right click on any link on blogroll there and click on properties. You should a relation name-value pair. Check out the screenshot below.  <img src="http://giri.sh/images/properties.png" alt="properties" width="359" height="146" /></p>
<p><strong>UPDATE:</strong> Step above will not work anymore as this site has been upgraded since the time this plugin was written. It runs on <a href="http://wordpress.org">WordPress</a> now and hence doesn&#8217;t support any textpattern plugins.</p>
<p>Step 12. Most important of all&#8230;..ENJOY!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://giri.sh/2006/06/21/how-to-install-and-use-xfn-plugin-for-textpattern/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GirishG.com revamped</title>
		<link>http://giri.sh/2005/11/07/girishgcom-revamped/</link>
		<comments>http://giri.sh/2005/11/07/girishgcom-revamped/#comments</comments>
		<pubDate>Mon, 07 Nov 2005 16:49:00 +0000</pubDate>
		<dc:creator>girish</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Pet projects]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://morethan2cents.wordpress.com/2005/11/07/girishgcom-revamped/</guid>
		<description><![CDATA[Finally&#8230;even though half baked, i updated my website with its new looks. Like i said, not completely done yet, but the way i was procrastinating it, seemed like i&#8217;d never make it live. Probably gonna get beaten up for the color combination i&#8217;ve chosen (i suck at picking the right colors) , but heyy&#8230;.that&#8217;s what [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Finally&#8230;even though half baked, i updated my website with its new looks. Like i said, not completely done yet, but the way i was procrastinating it, seemed like i&#8217;d never make it live.</p>
<p>Probably gonna get beaten up for the color combination i&#8217;ve chosen (i suck at picking the right colors) , but heyy&#8230;.that&#8217;s what criticism is for.  If you can suggest a better combo, i&#8217;m all ears.</p>
<p>I bought <a href="http://www.girishgangadharan.com/">GirishGangadharan.com</a> and redirected <a href="http://www.girishg.com/">GirishG.com</a> to the new one. But i think the email girish AT girishg DOT com should still work since i get one free email address for registering the domain even though i cancelled the hosting with <a href="http://www.godaddy.com/">GoDaddy.</a></p>
<p>Anyways, check out my <a href="http://www.girishgangadharan.com/">&#8220;all new&#8221; website</a> and lemme know what you think.</p>
<p>Till next time,</p>
<p>Happy Living.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://giri.sh/2005/11/07/girishgcom-revamped/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

