<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: CodeIgniter htaccess</title>
	<atom:link href="http://www.farinspace.com/codeigniter-htaccess-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.farinspace.com/codeigniter-htaccess-file/</link>
	<description>Practical Real World Web Development</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:17:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: sh</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-20795</link>
		<dc:creator>sh</dc:creator>
		<pubDate>Sat, 31 Dec 2011 14:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-20795</guid>
		<description>good art
@Johan van de Merwe +1
I had problems with my ajax get requests, had to change them to post and now works fine</description>
		<content:encoded><![CDATA[<p>good art<br />
@Johan van de Merwe +1<br />
I had problems with my ajax get requests, had to change them to post and now works fine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimas</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-19136</link>
		<dc:creator>Dimas</dc:creator>
		<pubDate>Fri, 11 Nov 2011 16:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-19136</guid>
		<description>@Harry, if you have firebug, you will want to make sure that your forms POST/GET are not being redirected, else it may be loosing the data in between.</description>
		<content:encoded><![CDATA[<p>@Harry, if you have firebug, you will want to make sure that your forms POST/GET are not being redirected, else it may be loosing the data in between.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-19129</link>
		<dc:creator>Harry</dc:creator>
		<pubDate>Fri, 11 Nov 2011 13:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-19129</guid>
		<description>All forms on my site now fail to post with the addition of the htaccess code. Could it be something to do with WAMPserver? I have followed the instructions exactly.</description>
		<content:encoded><![CDATA[<p>All forms on my site now fail to post with the addition of the htaccess code. Could it be something to do with WAMPserver? I have followed the instructions exactly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan van de Merwe</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-17743</link>
		<dc:creator>Johan van de Merwe</dc:creator>
		<pubDate>Tue, 20 Sep 2011 08:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-17743</guid>
		<description>This only works if you have in your config.php file:
$config[&#039;uri_protocol&#039;] = &#039;AUTO&#039;;
Which I hadn&#039;t in first instance (QUERY_STRING).
Now it works fine.</description>
		<content:encoded><![CDATA[<p>This only works if you have in your config.php file:<br />
$config['uri_protocol'] = &#8216;AUTO&#8217;;<br />
Which I hadn&#8217;t in first instance (QUERY_STRING).<br />
Now it works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T. Brian Jones</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-17551</link>
		<dc:creator>T. Brian Jones</dc:creator>
		<pubDate>Fri, 02 Sep 2011 18:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-17551</guid>
		<description>This is a great post.  Thanks for taking care of all these details.  These are often overlooked and can make a HUGE difference for SEO.  I&#039;ve seen sites of mine double their number of indexed pages, almost overnight, after making these improvements.  It&#039;s nice to have them done on my new project right from the start.</description>
		<content:encoded><![CDATA[<p>This is a great post.  Thanks for taking care of all these details.  These are often overlooked and can make a HUGE difference for SEO.  I&#8217;ve seen sites of mine double their number of indexed pages, almost overnight, after making these improvements.  It&#8217;s nice to have them done on my new project right from the start.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimas</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-17024</link>
		<dc:creator>Dimas</dc:creator>
		<pubDate>Fri, 15 Jul 2011 14:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-17024</guid>
		<description>Take a look at &lt;a href=&quot;http://stackoverflow.com/questions/5669962/pretty-urls-rewrite-sometimes-with-sometimes-without&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;, might solve your problem ...</description>
		<content:encoded><![CDATA[<p>Take a look at <a href="http://stackoverflow.com/questions/5669962/pretty-urls-rewrite-sometimes-with-sometimes-without" rel="nofollow">this</a>, might solve your problem &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: igi shellshock</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-17013</link>
		<dc:creator>igi shellshock</dc:creator>
		<pubDate>Fri, 15 Jul 2011 00:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-17013</guid>
		<description>thx dimas for reply, this my .htaccess file

&lt;pre lang=&quot;htaccess&quot;&gt;
RewriteRule ^(dashboard(/index)?&#124;index(\.php)?)/?$ / [L,R=301]
RewriteRule ^(.*)/index/?$ $1 [L,R=301]

RewriteCond %{HTTP_HOST} !^(www&#124;jobcareer) [NC]
RewriteRule ^(.*)$ http://www.polibatam.ac.id/$1 [R=301,L]
&lt;/pre&gt;

&lt;strong&gt; config.php file&lt;/strong&gt; 
&lt;pre lang=&quot;php&quot;&gt;
$config[&#039;base_url&#039;]	= &#039;http://jobcareer.polibatam.ac.id/&#039;;
$config[&#039;index_page&#039;] = &#039;&#039;;

		$session-&gt;userdata(&#039;sesblabla&#039;)==&quot;&quot;)
		{
			redirect(&#039;/login/&#039;);
		}else{
			$data[&#039;base&#039;] = $this-&gt;config-&gt;item(&#039;base_url&#039;);
			$this-&gt;load-&gt;view(&#039;dashboard&#039;,$data);
		}
	}
		
	function logout()
	{
		$this-&gt;session-&gt;sess_destroy();
		redirect(&#039;/login/&#039;);
	}
}
&lt;/pre&gt;

why still access index.php/dashboard/ ? not /dashboard/</description>
		<content:encoded><![CDATA[<p>thx dimas for reply, this my .htaccess file</p>
<pre lang="htaccess">
RewriteRule ^(dashboard(/index)?|index(\.php)?)/?$ / [L,R=301]
RewriteRule ^(.*)/index/?$ $1 [L,R=301]

RewriteCond %{HTTP_HOST} !^(www|jobcareer) [NC]
RewriteRule ^(.*)$ <a href="http://www.polibatam.ac.id/$1" rel="nofollow">http://www.polibatam.ac.id/$1</a> [R=301,L]
</pre>
<p><strong> config.php file</strong> </p>
<pre lang="php">
$config['base_url']	= '<a href="http://jobcareer.polibatam.ac.id/&#039;" rel="nofollow">http://jobcareer.polibatam.ac.id/&#039;</a>;
$config['index_page'] = '';

		$session-&gt;userdata('sesblabla')=="")
		{
			redirect('/login/');
		}else{
			$data['base'] = $this-&gt;config-&gt;item('base_url');
			$this-&gt;load-&gt;view('dashboard',$data);
		}
	}

	function logout()
	{
		$this-&gt;session-&gt;sess_destroy();
		redirect('/login/');
	}
}
</pre>
<p>why still access index.php/dashboard/ ? not /dashboard/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimas</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-3/#comment-17011</link>
		<dc:creator>Dimas</dc:creator>
		<pubDate>Thu, 14 Jul 2011 19:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-17011</guid>
		<description>Your problem is a little strange as if you default controller is &quot;dashboard&quot; the following should return you to &quot;/&quot; ... http://jobcareer.polibatam.ac.id/dashboard ... you should confirm that you have codeigniter configured correctly and that your htaccess rewrites are actually working, per the tutorial above, see if some of the URLs are indeed being redirected.</description>
		<content:encoded><![CDATA[<p>Your problem is a little strange as if you default controller is &#8220;dashboard&#8221; the following should return you to &#8220;/&#8221; &#8230; <a href="http://jobcareer.polibatam.ac.id/dashboard" rel="nofollow">http://jobcareer.polibatam.ac.id/dashboard</a> &#8230; you should confirm that you have codeigniter configured correctly and that your htaccess rewrites are actually working, per the tutorial above, see if some of the URLs are indeed being redirected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: igi shellshock</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-2/#comment-17010</link>
		<dc:creator>igi shellshock</dc:creator>
		<pubDate>Thu, 14 Jul 2011 17:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-17010</guid>
		<description>i follow this tutor, my default controller is &#039;dashboard&#039;, it works.people can check here http://jobcareer.polibatam.ac.id but when i tried do like http://jobcareer.polibatam.ac.id/login didn&#039;t work.please help me..thx..</description>
		<content:encoded><![CDATA[<p>i follow this tutor, my default controller is &#8216;dashboard&#8217;, it works.people can check here <a href="http://jobcareer.polibatam.ac.id" rel="nofollow">http://jobcareer.polibatam.ac.id</a> but when i tried do like <a href="http://jobcareer.polibatam.ac.id/login" rel="nofollow">http://jobcareer.polibatam.ac.id/login</a> didn&#8217;t work.please help me..thx..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimas</title>
		<link>http://www.farinspace.com/codeigniter-htaccess-file/comment-page-2/#comment-16090</link>
		<dc:creator>Dimas</dc:creator>
		<pubDate>Thu, 19 May 2011 18:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://farinspace.com/?p=147#comment-16090</guid>
		<description>You will have a default controller set in CI, routes.php, by default this is the welcome controller, so in the rewrite rules if we detect welcome, we forward to / (root).</description>
		<content:encoded><![CDATA[<p>You will have a default controller set in CI, routes.php, by default this is the welcome controller, so in the rewrite rules if we detect welcome, we forward to / (root).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: www.farinspace.com @ 2012-02-04 17:16:50 by W3 Total Cache -->
