<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Generate Search Engine Friendly URLs with PHP&#160;Functions</title> <atom:link href="http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 15:40:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Brad H</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-27848</link> <dc:creator>Brad H</dc:creator> <pubDate>Wed, 07 Dec 2011 05:33:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-27848</guid> <description>Still, same question as above. Can I get a response, please? :)</description> <content:encoded><![CDATA[<p>Still, same question as above. Can I get a response, please? :)</p> ]]></content:encoded> </item> <item><title>By: Brad H</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-23292</link> <dc:creator>Brad H</dc:creator> <pubDate>Mon, 28 Mar 2011 18:27:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-23292</guid> <description>Totally digging this article, but like the above comment by @Marc: &quot;How does the web server know that this is the URL it should go to?&quot;Also, how does this relate to the mod_rewrite and .htaccess? Do we also need to use that as well as this PHP function?Please let me know!</description> <content:encoded><![CDATA[<p>Totally digging this article, but like the above comment by @Marc: &#8220;How does the web server know that this is the URL it should go to?&#8221;</p><p>Also, how does this relate to the mod_rewrite and .htaccess? Do we also need to use that as well as this PHP function?</p><p>Please let me know!</p> ]]></content:encoded> </item> <item><title>By: Marc</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-23281</link> <dc:creator>Marc</dc:creator> <pubDate>Mon, 28 Mar 2011 14:52:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-23281</guid> <description>How does the web server know that this is the url it should go to?</description> <content:encoded><![CDATA[<p>How does the web server know that this is the url it should go to?</p> ]]></content:encoded> </item> <item><title>By: feha</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-16922</link> <dc:creator>feha</dc:creator> <pubDate>Sat, 10 Apr 2010 20:01:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-16922</guid> <description>For filtering unique words you could use array_unique  (a php function) :-)</description> <content:encoded><![CDATA[<p>For filtering unique words you could use array_unique  (a php function) :-)</p> ]]></content:encoded> </item> <item><title>By: feha</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-16921</link> <dc:creator>feha</dc:creator> <pubDate>Sat, 10 Apr 2010 20:00:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-16921</guid> <description>For unique words you could use array_unique  (a php function) :-)</description> <content:encoded><![CDATA[<p>For unique words you could use array_unique  (a php function) :-)</p> ]]></content:encoded> </item> <item><title>By: Rich</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-9428</link> <dc:creator>Rich</dc:creator> <pubDate>Wed, 27 May 2009 15:10:39 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-9428</guid> <description>A little late, but I just noticed that when i have actual text that has a &quot;-&quot; that is needed for example &quot;stir-fry&quot; the &quot;-&quot; is removed when running the function. I got around this before by adding an extra step:print(&quot;$this-&gt;FixDashed = str&#095;replace(&quot;-&quot;,&quot; &quot;,$&#095;POST[&#039;SOMEPOST&#039;]);$this-&gt;SEOName = generate&#095;seo&#095;link($this-&gt;FixDashed,&#039;-&#039;,false,$bad&#095;words);&quot;);Dave or anyone else, I am wondering if you knew of a way to get around this in the function itself instead of adding the extra step to basically trick it into doing this.</description> <content:encoded><![CDATA[<p>A little late, but I just noticed that when i have actual text that has a &#8220;-&#8221; that is needed for example &#8220;stir-fry&#8221; the &#8220;-&#8221; is removed when running the function. I got around this before by adding an extra step:</p><p>print(&#8220;$this-&gt;FixDashed = str&#95;replace(&#8220;-&#8221;,&#8221; &#8220;,$&#95;POST['SOMEPOST']);</p><p>$this-&gt;SEOName = generate&#95;seo&#95;link($this-&gt;FixDashed,&#8217;-',false,$bad&#95;words);&#8221;);</p><p>Dave or anyone else, I am wondering if you knew of a way to get around this in the function itself instead of adding the extra step to basically trick it into doing this.</p> ]]></content:encoded> </item> <item><title>By: Specs</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-9245</link> <dc:creator>Specs</dc:creator> <pubDate>Fri, 15 May 2009 12:07:58 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-9245</guid> <description>I&#039;m also a little in the dark as to how you relate your SEO friendly URL to the actual URL (as Kram said)?</description> <content:encoded><![CDATA[<p>I&#8217;m also a little in the dark as to how you relate your SEO friendly URL to the actual URL (as Kram said)?</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-7503</link> <dc:creator>Alex</dc:creator> <pubDate>Tue, 27 Jan 2009 15:54:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-7503</guid> <description>Lol I meant David, not Ben... I shouldn&#039;t do two things at once ;-) Sry</description> <content:encoded><![CDATA[<p>Lol I meant David, not Ben&#8230; I shouldn&#8217;t do two things at once ;-) Sry</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-7502</link> <dc:creator>Alex</dc:creator> <pubDate>Tue, 27 Jan 2009 15:53:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-7502</guid> <description>Great! That&#039;s exactly what I was looking for! You&#039;ve saved my day. :-) Thanks a lot Ben!</description> <content:encoded><![CDATA[<p>Great! That&#8217;s exactly what I was looking for! You&#8217;ve saved my day. :-) Thanks a lot Ben!</p> ]]></content:encoded> </item> <item><title>By: kram</title><link>http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/comment-page-1#comment-4383</link> <dc:creator>kram</dc:creator> <pubDate>Sun, 04 Jan 2009 04:04:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/generate-search-engine-friendly-urls-php-function/#comment-4383</guid> <description>hi David, quick question. i understand completely that &quot;There’s a big difference between “/post.php?id=2382″ and “/great-php-functions/&quot;....what function or method tells our webserver in php somethat like/great-php-functions/ =&gt; post.php?id=2382IE if I just did
www.testdummyurl.com/great-php-functions
with nothing special....my webserver would give a 404
so what do we need to do to let our webserver know that this actually
www.testdummyurl.com/ post.php?id=2382thanks,
Kram</description> <content:encoded><![CDATA[<p>hi David, quick question. i understand completely that &#8220;There’s a big difference between “/post.php?id=2382″ and “/great-php-functions/&#8221;&#8230;.what function or method tells our webserver in php somethat like</p><p>/great-php-functions/ =&gt; post.php?id=2382</p><p>IE if I just did<br
/> <a
href="http://www.testdummyurl.com/great-php-functions" rel="nofollow">http://www.testdummyurl.com/great-php-functions</a><br
/> with nothing special&#8230;.my webserver would give a 404<br
/> so what do we need to do to let our webserver know that this actually<br
/> <a
href="http://www.testdummyurl.com/" rel="nofollow">http://www.testdummyurl.com/</a> post.php?id=2382</p><p>thanks,<br
/> Kram</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/17 queries in 0.009 seconds using disk: basic
Object Caching 865/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 12:29:07 -->
