<?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: Friendly URLs, the easy way</title>
	<atom:link href="http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/</link>
	<description>Talking in binary since 1980.</description>
	<lastBuildDate>Fri, 18 Dec 2009 10:38:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Darren</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17348</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Fri, 18 Dec 2009 10:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17348</guid>
		<description>I had much the same problem with the CSS. I got round it by using a rule on the rewrite which stops the rewrite being applied to the folder in question.

RewriteRule ^css/.*$ - [PT]

That is to ignore the rewrite rule on the css folder and any file or folder inside that.</description>
		<content:encoded><![CDATA[<p>I had much the same problem with the CSS. I got round it by using a rule on the rewrite which stops the rewrite being applied to the folder in question.</p>
<p>RewriteRule ^css/.*$ &#8211; [PT]</p>
<p>That is to ignore the rewrite rule on the css folder and any file or folder inside that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darko</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17340</link>
		<dc:creator>Darko</dc:creator>
		<pubDate>Tue, 14 Apr 2009 10:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17340</guid>
		<description>bertoxxx,
try this link:
http://localhost/example/news/technology

WITHOUT the / (slash) sign at the end...

this is very important for this specific example in this article.</description>
		<content:encoded><![CDATA[<p>bertoxxx,<br />
try this link:<br />
<a href="http://localhost/example/news/technology" rel="nofollow">http://localhost/example/news/technology</a></p>
<p>WITHOUT the / (slash) sign at the end&#8230;</p>
<p>this is very important for this specific example in this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bertoxxx</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17339</link>
		<dc:creator>bertoxxx</dc:creator>
		<pubDate>Fri, 03 Apr 2009 05:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17339</guid>
		<description>please help. this line is not working for me:

http://localhost/example/news/technology/


the first one works on my pc:
http://localhost/example/news/</description>
		<content:encoded><![CDATA[<p>please help. this line is not working for me:</p>
<p><a href="http://localhost/example/news/technology/" rel="nofollow">http://localhost/example/news/technology/</a></p>
<p>the first one works on my pc:<br />
<a href="http://localhost/example/news/" rel="nofollow">http://localhost/example/news/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rch</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17330</link>
		<dc:creator>rch</dc:creator>
		<pubDate>Sun, 12 Oct 2008 00:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17330</guid>
		<description>Very good article for seo</description>
		<content:encoded><![CDATA[<p>Very good article for seo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kingbo</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17329</link>
		<dc:creator>kingbo</dc:creator>
		<pubDate>Mon, 29 Sep 2008 17:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17329</guid>
		<description>I have an asp site I am rewriting in php. I want discussion.asp?A=51 to go to discussion.php?A=51. I have been looking for a rewrite example, and not found or understood this part exactly. I can not pass the A=51. This is some of what I have tried. 

RewriteRule ^discussion.asp(.*)$ /discussion.php?&amp;A=$1/ [L]

RewriteRule ^discussion/(0-9A-Za-z_-]+)$ /discussion.php?A=$1 [L]

RewriteRule ^(.*)discussion/(.*)$ $discussion.php?A=$2

ewriteRule ^discussion/([^/ \.]+)/?$ discussion.php?A=$1 [L]

Thanks for any help!</description>
		<content:encoded><![CDATA[<p>I have an asp site I am rewriting in php. I want discussion.asp?A=51 to go to discussion.php?A=51. I have been looking for a rewrite example, and not found or understood this part exactly. I can not pass the A=51. This is some of what I have tried. </p>
<p>RewriteRule ^discussion.asp(.*)$ /discussion.php?&amp;A=$1/ [L]</p>
<p>RewriteRule ^discussion/(0-9A-Za-z_-]+)$ /discussion.php?A=$1 [L]</p>
<p>RewriteRule ^(.*)discussion/(.*)$ $discussion.php?A=$2</p>
<p>ewriteRule ^discussion/([^/ \.]+)/?$ discussion.php?A=$1 [L]</p>
<p>Thanks for any help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dujkan</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17328</link>
		<dc:creator>dujkan</dc:creator>
		<pubDate>Tue, 19 Aug 2008 23:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17328</guid>
		<description>Hey, that was a nice article, congrats...

It would be nice if you could explain what every line of code does for us less technicaly adept with Apache :)

For example, I&#039;m curious what each of the four lines of code between the  directive in the Apache configuration file does...

I know I can find the details on the .HTACCESS file usage on Apache.org but it&#039;s still nice to have it all in one place.

Still, very informative and useful article.

Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Hey, that was a nice article, congrats&#8230;</p>
<p>It would be nice if you could explain what every line of code does for us less technicaly adept with Apache :)</p>
<p>For example, I&#8217;m curious what each of the four lines of code between the  directive in the Apache configuration file does&#8230;</p>
<p>I know I can find the details on the .HTACCESS file usage on Apache.org but it&#8217;s still nice to have it all in one place.</p>
<p>Still, very informative and useful article.</p>
<p>Keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darko</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17327</link>
		<dc:creator>Darko</dc:creator>
		<pubDate>Thu, 14 Aug 2008 11:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17327</guid>
		<description>Well, I didn&#039;t make any changes to sys32 folder or anything else. I made a clean install of XAMPP, configure Apache for mod_rewrite and did all the steps from above.
Why don&#039;t you ask friends about those sys32 changes?
Whish I could help you more on this...

Regards</description>
		<content:encoded><![CDATA[<p>Well, I didn&#8217;t make any changes to sys32 folder or anything else. I made a clean install of XAMPP, configure Apache for mod_rewrite and did all the steps from above.<br />
Why don&#8217;t you ask friends about those sys32 changes?<br />
Whish I could help you more on this&#8230;</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shree</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17326</link>
		<dc:creator>shree</dc:creator>
		<pubDate>Mon, 11 Aug 2008 05:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17326</guid>
		<description>hello buddy
i have followed the steps.
even the line in httpd.con is uncommented 
but i am facing error 404 obj not found 
i came to know from some friends that i have to make changes in some sys 32 files
coz the the things are working fine on other computer
where the settings are ok 
please help me about same..
thanks</description>
		<content:encoded><![CDATA[<p>hello buddy<br />
i have followed the steps.<br />
even the line in httpd.con is uncommented<br />
but i am facing error 404 obj not found<br />
i came to know from some friends that i have to make changes in some sys 32 files<br />
coz the the things are working fine on other computer<br />
where the settings are ok<br />
please help me about same..<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darko</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17324</link>
		<dc:creator>Darko</dc:creator>
		<pubDate>Thu, 24 Jul 2008 11:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17324</guid>
		<description>hah, I&#039;m glad you made it, it&#039;s always some minor bug that keeps you awake all night long when trying to solve it :)

yes, CSS, that is something I haven&#039;t mention (but that wasn&#039;t really the issue on this topic)... you&#039;ll have to use FULL URL to locate your CSS and JS files, and everything else you&#039;re including through HTML...

create a config.inc.php file and write &quot;&lt;?php $url = &quot;http://localhost/example/&quot;; ?&gt;&quot; into it, then, in HTML wherever you&#039;re calling some external source (images also, basicaly everything), place &lt;?=$url;?&gt; before...

you might also try playing with RegExp rules on rewriting this automatically, but I haven&#039;t got the time to test that case yet...</description>
		<content:encoded><![CDATA[<p>hah, I&#8217;m glad you made it, it&#8217;s always some minor bug that keeps you awake all night long when trying to solve it :)</p>
<p>yes, CSS, that is something I haven&#8217;t mention (but that wasn&#8217;t really the issue on this topic)&#8230; you&#8217;ll have to use FULL URL to locate your CSS and JS files, and everything else you&#8217;re including through HTML&#8230;</p>
<p>create a config.inc.php file and write &#8220;< ?php $url = "http://localhost/example/"; ?>&#8221; into it, then, in HTML wherever you&#8217;re calling some external source (images also, basicaly everything), place < ?=$url;?> before&#8230;</p>
<p>you might also try playing with RegExp rules on rewriting this automatically, but I haven&#8217;t got the time to test that case yet&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://www.martic.net/blog/development/programming/friendly-urls-the-easy-way/comment-page-1/#comment-17323</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Wed, 23 Jul 2008 19:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.martic.net/?p=45#comment-17323</guid>
		<description>hmmm, I did, really all there was to it was that i called the .htaccess file .htacces so 1 s short, and i didnt notice it all the time. Got it working now!

however i am having some difficulties. When using a css file witch works fine at this adress: 
http://localhost/alsa/?lang=en

When i converted this adress to http://localhost/alsa/en/ my CSS isnt working anymore. 

the line to my css file is: 


already tried to put a slash in front of stylesheet.css, that didnt work, and the same goes for all my images with relative paths used.

Hope you can help me out.

My htaccess file here is: 
RewriteEngine On
RewriteBase /alsa

RewriteRule ^index/(.*)/$ index.php?lang=$1

greetings!</description>
		<content:encoded><![CDATA[<p>hmmm, I did, really all there was to it was that i called the .htaccess file .htacces so 1 s short, and i didnt notice it all the time. Got it working now!</p>
<p>however i am having some difficulties. When using a css file witch works fine at this adress:<br />
<a href="http://localhost/alsa/?lang=en" rel="nofollow">http://localhost/alsa/?lang=en</a></p>
<p>When i converted this adress to <a href="http://localhost/alsa/en/" rel="nofollow">http://localhost/alsa/en/</a> my CSS isnt working anymore. </p>
<p>the line to my css file is: </p>
<p>already tried to put a slash in front of stylesheet.css, that didnt work, and the same goes for all my images with relative paths used.</p>
<p>Hope you can help me out.</p>
<p>My htaccess file here is:<br />
RewriteEngine On<br />
RewriteBase /alsa</p>
<p>RewriteRule ^index/(.*)/$ index.php?lang=$1</p>
<p>greetings!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
