<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>301 - SAJE</title>
	<atom:link href="https://saje.nz/tag/301/feed/" rel="self" type="application/rss+xml" />
	<link>https://saje.nz</link>
	<description>Web Gardners</description>
	<lastBuildDate>Wed, 30 Dec 2009 03:20:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://saje.nz/wp-content/uploads/2023/05/cropped-logov1-32x32.png</url>
	<title>301 - SAJE</title>
	<link>https://saje.nz</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Great Howto for 301 Redirects for Dynamic URL\&#8217;s</title>
		<link>https://saje.nz/2009/12/30/great-howto-for-301-redirects-for-dynamic-urls/</link>
					<comments>https://saje.nz/2009/12/30/great-howto-for-301-redirects-for-dynamic-urls/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 30 Dec 2009 03:20:43 +0000</pubDate>
				<category><![CDATA[Coders Stuff]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[seo]]></category>
		<guid isPermaLink="false">https://braveweb.nz/rebuild22/index.php/2009/12/30/great-howto-for-301-redirects-for-dynamic-urls/</guid>

					<description><![CDATA[<p>I have recently moved a site over from an ASP content management system to Joomla. One of the tricky things was creating the redirects for the pages on the old site to the new. Normally this is easy enough when you are redirecting a static page to another static page. Unfortuntely the mod_rewrite in Apache [&#8230;]</p>
<p>The post <a href="https://saje.nz/2009/12/30/great-howto-for-301-redirects-for-dynamic-urls/">Great Howto for 301 Redirects for Dynamic URL\’s</a> first appeared on <a href="https://saje.nz">SAJE</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I have recently moved a site over from an ASP content management system to Joomla.</p>
<p>One of the tricky things was creating the redirects for the pages on the old site to the new.</p>
<p>Normally this is easy enough when you are redirecting a static page to another static page. Unfortuntely the mod_rewrite in Apache that is responsible for doing the rewriting of the URL\&#8217;s cannot manage parameters after file name in the standard way, ie:</p>
<p>I wanted to send oldsite.com/index.asp?id=1 to newsite.com/news</p>
<p>However, everytime I used the standard redirect:</p>
<p>redirect 301 /index.asp?id=1 http://www.newsite.com/news</p>
<p>I ended up with a URL like : http://www.newsite.com/news?id=1</p>
<p>So I found a great resource here &gt;&gt; <a href=\"http://bit.ly/5WLc8q\" target=\"_blank\">http://bit.ly/5WLc8q</a></p>
<p>It broke down the workings of the redirect and included the followign example</p>
<p>RewriteCond %{QUERY_STRING} ^id=1$<br />
RewriteRule ^page.php$ http://www.example.com/content/page? [R=301,L]</p>
<p>Once I used my own page references it worked great.</p>
<p>A big thanks to Alex Juel ( <a href=\"http://twitter.com/seoholicc\" target=\"_blank\">http://twitter.com/seoholicc</a> ) for this tip!</p><p>The post <a href="https://saje.nz/2009/12/30/great-howto-for-301-redirects-for-dynamic-urls/">Great Howto for 301 Redirects for Dynamic URL\’s</a> first appeared on <a href="https://saje.nz">SAJE</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://saje.nz/2009/12/30/great-howto-for-301-redirects-for-dynamic-urls/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
