<?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: Relative URLs in SharePoint</title>
	<atom:link href="http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/</link>
	<description>Ari Bakker&#039;s thoughts on customising and configuring SharePoint 2007 and 2010</description>
	<lastBuildDate>Thu, 02 Feb 2012 22:08:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Ari Bakker</title>
		<link>http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/comment-page-1/#comment-1801</link>
		<dc:creator>Ari Bakker</dc:creator>
		<pubDate>Thu, 06 Oct 2011 15:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=38#comment-1801</guid>
		<description>Even if it does rewrite the links the beauty of the _layouts approach is that it works from all sites in all web applications. For example http://domain/_layouts/mystyles.css and http://domain/&lt;strong&gt;sites/sc1&lt;/strong&gt;/_layouts/mystyles.css both reference the same file on the file system at 12\TEMPLATE\LAYOUTS\mystyles.css.</description>
		<content:encoded><![CDATA[<p>Even if it does rewrite the links the beauty of the _layouts approach is that it works from all sites in all web applications. For example <a href="http://domain/_layouts/mystyles.css" rel="nofollow">http://domain/_layouts/mystyles.css</a> and <a href="http://domain/" rel="nofollow">http://domain/</a><strong>sites/sc1</strong>/_layouts/mystyles.css both reference the same file on the file system at 12\TEMPLATE\LAYOUTS\mystyles.css.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emerson</title>
		<link>http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/comment-page-1/#comment-1800</link>
		<dc:creator>emerson</dc:creator>
		<pubDate>Thu, 06 Oct 2011 14:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=38#comment-1800</guid>
		<description>I suspected as much - thanks for the follow up! This was just a dev environment, the actual environment is standard, but I will keep this other solution in mind. Do you know if SP will rewrite these links (_layouts) if they are saved in a site template? It was rewriting all my root links, which was the main issue.</description>
		<content:encoded><![CDATA[<p>I suspected as much &#8211; thanks for the follow up! This was just a dev environment, the actual environment is standard, but I will keep this other solution in mind. Do you know if SP will rewrite these links (_layouts) if they are saved in a site template? It was rewriting all my root links, which was the main issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ari Bakker</title>
		<link>http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/comment-page-1/#comment-1798</link>
		<dc:creator>Ari Bakker</dc:creator>
		<pubDate>Wed, 05 Oct 2011 22:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=38#comment-1798</guid>
		<description>@sandeep, @emerson - which version of SharePoint are you running? It sounds like the SPUrl expression prefix is not available (as is the case with WSS or SharePoint Foundation). An alternative way of referencing resources such as style sheets without the expression prefix is to place these in the Layouts folder (typically located at \\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS in SharePoint 2007). You can then reference these resources using a URL in the form http://siteurl/_layouts/folder/resource.css). Let me know if you need any more information.</description>
		<content:encoded><![CDATA[<p>@sandeep, @emerson &#8211; which version of SharePoint are you running? It sounds like the SPUrl expression prefix is not available (as is the case with WSS or SharePoint Foundation). An alternative way of referencing resources such as style sheets without the expression prefix is to place these in the Layouts folder (typically located at \\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS in SharePoint 2007). You can then reference these resources using a URL in the form <a href="http://siteurl/_layouts/folder/resource.css" rel="nofollow">http://siteurl/_layouts/folder/resource.css</a>). Let me know if you need any more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emerson</title>
		<link>http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/comment-page-1/#comment-1795</link>
		<dc:creator>emerson</dc:creator>
		<pubDate>Wed, 05 Oct 2011 13:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=38#comment-1795</guid>
		<description>I get the same error - any solutions?</description>
		<content:encoded><![CDATA[<p>I get the same error &#8211; any solutions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandeep</title>
		<link>http://www.sharepointconfig.com/2007/09/relative-urls-in-sharepoint/comment-page-1/#comment-142</link>
		<dc:creator>sandeep</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://ari.provoke.co.nz/Lists/Posts/ViewPost.aspx?ID=38#comment-142</guid>
		<description>An error occurred during the processing of . The expression prefix &#039;SPUrl&#039; was not recognized.  Please correct the prefix or register the prefix in the &lt;expressionBuilders&gt; section of configuration.

          even if i am using runat=&quot;server&quot;</description>
		<content:encoded><![CDATA[<p>An error occurred during the processing of . The expression prefix &#39;SPUrl&#39; was not recognized.  Please correct the prefix or register the prefix in the &lt;expressionBuilders&gt; section of configuration.</p>
<p>          even if i am using runat=&quot;server&quot;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

