<?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: SEO-Friendly URLs and Relative Links</title>
	<atom:link href="http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/</link>
	<description>Project Workshop</description>
	<lastBuildDate>Mon, 20 Feb 2012 21:43:21 +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: Anton Oliinyk</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-448</link>
		<dc:creator>Anton Oliinyk</dc:creator>
		<pubDate>Sun, 03 Apr 2011 21:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-448</guid>
		<description>Nice to hear that you resolved that, Andrew.</description>
		<content:encoded><![CDATA[<p>Nice to hear that you resolved that, Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-447</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sun, 03 Apr 2011 19:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-447</guid>
		<description>I had a problem with several sites where visitors were getting broken images and links for any relative path but it didnt&#039; happen to everyone and not in all browsers and I couldnt reproduce it on my PC, yet there it was when I looked on other ppls.. your base tag solution totally solved the issue which had been plaguing me for months! Thanks so much!</description>
		<content:encoded><![CDATA[<p>I had a problem with several sites where visitors were getting broken images and links for any relative path but it didnt&#8217; happen to everyone and not in all browsers and I couldnt reproduce it on my PC, yet there it was when I looked on other ppls.. your base tag solution totally solved the issue which had been plaguing me for months! Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Oliinyk</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-445</link>
		<dc:creator>Anton Oliinyk</dc:creator>
		<pubDate>Mon, 21 Mar 2011 12:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-445</guid>
		<description>You&#039;re welcome!</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zing</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-444</link>
		<dc:creator>Zing</dc:creator>
		<pubDate>Mon, 21 Mar 2011 01:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-444</guid>
		<description>I found a solution from your site in which the problem already took 3 days to solve it. Much appreciate your work and efforts, thanks.</description>
		<content:encoded><![CDATA[<p>I found a solution from your site in which the problem already took 3 days to solve it. Much appreciate your work and efforts, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Oliinyk</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-417</link>
		<dc:creator>Anton Oliinyk</dc:creator>
		<pubDate>Fri, 29 Oct 2010 21:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-417</guid>
		<description>If you store images, CSS and JS on some external server you may find it possible to refer to the server with IP address instead of domain name. Once URLs will contain IP addresses there will be no need to do a DNS lookup for them.</description>
		<content:encoded><![CDATA[<p>If you store images, CSS and JS on some external server you may find it possible to refer to the server with IP address instead of domain name. Once URLs will contain IP addresses there will be no need to do a DNS lookup for them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mat</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-401</link>
		<dc:creator>Mat</dc:creator>
		<pubDate>Mon, 25 Oct 2010 07:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-401</guid>
		<description>What about WPO???. I had de Issue, i chose use the / at the beginning. but when you run a speed test like yslow you will find theres a lot of DNS lookups u need to clean.

absolute paths penalise you from DNS lookups. so thats why we need to find the way use relative paths as well.

of course if you get a CDN server you need full path on your images, js, etc.

but again, from this point of view a base tag, a slash, an absolute path is the same.

what i should try to do on a site is to make a rewrite rule without making any subfolder...

lets say.. if had:

www.domain.com/index.php?cat_id=4&amp;name=blabla&amp;page=4

i&#039;d try to generate something like:

www.domain.com/blabla-4-4.html 

so when apache redirects me, links will still the same (relatives)

the problem is that many times we&#039;ve been sugested to make semantic friendly urls. So the pretty one would be:

www.domain.com/cat-4/page-4/blabla.html

from this point of view, what do you think ppl?

PD: im walking around this problem, so id love some suggestions.

MAT (Argentinian web developer)</description>
		<content:encoded><![CDATA[<p>What about WPO???. I had de Issue, i chose use the / at the beginning. but when you run a speed test like yslow you will find theres a lot of DNS lookups u need to clean.</p>
<p>absolute paths penalise you from DNS lookups. so thats why we need to find the way use relative paths as well.</p>
<p>of course if you get a CDN server you need full path on your images, js, etc.</p>
<p>but again, from this point of view a base tag, a slash, an absolute path is the same.</p>
<p>what i should try to do on a site is to make a rewrite rule without making any subfolder&#8230;</p>
<p>lets say.. if had:</p>
<p><a href="http://www.domain.com/index.php?cat_id=4&#038;name=blabla&#038;page=4" >http://www.domain.com/index.php?cat_id=4&#038;name=blabla&#038;page=4</a></p>
<p>i&#8217;d try to generate something like:</p>
<p><a href="http://www.domain.com/blabla-4-4.html" >http://www.domain.com/blabla-4-4.html</a> </p>
<p>so when apache redirects me, links will still the same (relatives)</p>
<p>the problem is that many times we&#8217;ve been sugested to make semantic friendly urls. So the pretty one would be:</p>
<p><a href="http://www.domain.com/cat-4/page-4/blabla.html" >http://www.domain.com/cat-4/page-4/blabla.html</a></p>
<p>from this point of view, what do you think ppl?</p>
<p>PD: im walking around this problem, so id love some suggestions.</p>
<p>MAT (Argentinian web developer)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Oliinyk</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-252</link>
		<dc:creator>Anton Oliinyk</dc:creator>
		<pubDate>Sun, 28 Mar 2010 18:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-252</guid>
		<description>You&#039;re welcome!
Consider reading my other post on the subject: &lt;a href=&quot;http://blog.pumka.net/2009/12/30/rewriting-for-seo-friendly-urls-htaccess-or-php/&quot; rel=&quot;nofollow&quot;&gt;Rewriting for SEO-Friendly URLs: .htaccess or PHP?&lt;/a&gt;
Personally, I don&#039;t like to rely on mod_rewrite and recommend to do URI parsing work in PHP code.</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome!<br />
Consider reading my other post on the subject: <a href="http://blog.pumka.net/2009/12/30/rewriting-for-seo-friendly-urls-htaccess-or-php/" >Rewriting for SEO-Friendly URLs: .htaccess or PHP?</a><br />
Personally, I don&#8217;t like to rely on mod_rewrite and recommend to do URI parsing work in PHP code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-251</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sun, 28 Mar 2010 02:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-251</guid>
		<description>Thanks Anton this is great. and it&#039;s one of those anoying oversights people run in to when setting up there $_Gets.

Having had some trouble with my htacess and my $_get being compressed down to the most optimal for several tasks, then having spent several hours looking for solutions, I gotta say that this page is a real life saver.

At first I thought that the mod rewite engine had a bug regarding rewritten rules for non existent / pages, all along I was missing a / on my css and other media in the header, however I can see how setting the base in the html is the ultimate solution if your writing portable scripts and want to define a structure in a config file.</description>
		<content:encoded><![CDATA[<p>Thanks Anton this is great. and it&#8217;s one of those anoying oversights people run in to when setting up there $_Gets.</p>
<p>Having had some trouble with my htacess and my $_get being compressed down to the most optimal for several tasks, then having spent several hours looking for solutions, I gotta say that this page is a real life saver.</p>
<p>At first I thought that the mod rewite engine had a bug regarding rewritten rules for non existent / pages, all along I was missing a / on my css and other media in the header, however I can see how setting the base in the html is the ultimate solution if your writing portable scripts and want to define a structure in a config file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Oliinyk</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-33</link>
		<dc:creator>Anton Oliinyk</dc:creator>
		<pubDate>Tue, 29 Dec 2009 01:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-33</guid>
		<description>Dan, thanks for commenting and noticing me about the solution! 
Though I don&#039;t like to modify environment config for every project, I&#039;ll add your suggestion to the post.</description>
		<content:encoded><![CDATA[<p>Dan, thanks for commenting and noticing me about the solution!<br />
Though I don&#8217;t like to modify environment config for every project, I&#8217;ll add your suggestion to the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Lidral-Porter</title>
		<link>http://pumka.net/2009/12/24/seo-friendly-urls-and-relative-links/comment-page-1/#comment-32</link>
		<dc:creator>Dan Lidral-Porter</dc:creator>
		<pubDate>Tue, 29 Dec 2009 01:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pumka.net/?p=152#comment-32</guid>
		<description>I always use URLs relative to my site root. There&#039;s an easy solution to the problem you cited above for this. On my development sandbox, I just create a new virtual host in the apache httpd.conf:


  ServerName somesite.dev
  DovumentRoot /path/to/dev/sandbox


Then, add a new entry to your hosts file:

127.0.0.1 somesite.dev

After this, you can go to somesite.dev in your browser, and all the relative-to-root URLs will resolve as expected.</description>
		<content:encoded><![CDATA[<p>I always use URLs relative to my site root. There&#8217;s an easy solution to the problem you cited above for this. On my development sandbox, I just create a new virtual host in the apache httpd.conf:</p>
<p>  ServerName somesite.dev<br />
  DovumentRoot /path/to/dev/sandbox</p>
<p>Then, add a new entry to your hosts file:</p>
<p>127.0.0.1 somesite.dev</p>
<p>After this, you can go to somesite.dev in your browser, and all the relative-to-root URLs will resolve as expected.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

