<?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: .htaccess redirection using mod_rewrite</title>
	<atom:link href="http://blog.shamess.info/2009/06/19/htaccess-redirection-using-mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shamess.info/2009/06/19/htaccess-redirection-using-mod_rewrite/</link>
	<description>Personal blog of Shane Preece. Occaisional politics and tech minddump.</description>
	<lastBuildDate>Thu, 01 Dec 2011 14:01:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: vijay</title>
		<link>http://blog.shamess.info/2009/06/19/htaccess-redirection-using-mod_rewrite/#comment-54</link>
		<dc:creator>vijay</dc:creator>
		<pubDate>Mon, 09 Nov 2009 06:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shamess.info/?p=715#comment-54</guid>
		<description>I have One issue, please help me. My issue is I have url http://subdomain.mydomain.com and want to redirect them http://mydomin.com/folder1/index.php?user=subdomain. but I dont want to change URL in addressbar so in addressbar the url should be http://subdomain.mydomain.com. What i have to do? My .htaccess code is
=================================
#RewriteCond %{HTTP_HOST} !^www.mydomain.com [NC]
#RewriteCond %{HTTP_HOST} ([^.]+).mydomain.com [NC]
#RewriteRule ^(.*)$ http://mydomain.com/folder1/index.php?user=%1 [L]
=================================
It redirect correctly, But Unfortunitly, it affect addressbar, so it&#039;s useless for me. Please help me. What I have to do? Thanks in advance.</description>
		<content:encoded><![CDATA[<p>I have One issue, please help me. My issue is I have url <a href="http://subdomain.mydomain.com" rel="nofollow">http://subdomain.mydomain.com</a> and want to redirect them <a href="http://mydomin.com/folder1/index.php?user=subdomain" rel="nofollow">http://mydomin.com/folder1/index.php?user=subdomain</a>. but I dont want to change URL in addressbar so in addressbar the url should be <a href="http://subdomain.mydomain.com" rel="nofollow">http://subdomain.mydomain.com</a>. What i have to do? My .htaccess code is<br />
=================================<br />
#RewriteCond %{HTTP_HOST} !^www.mydomain.com [NC]<br />
#RewriteCond %{HTTP_HOST} ([^.]+).mydomain.com [NC]<br />
#RewriteRule ^(.*)$ <a href="http://mydomain.com/folder1/index.php?user=%1" rel="nofollow">http://mydomain.com/folder1/index.php?user=%1</a> [L]<br />
=================================<br />
It redirect correctly, But Unfortunitly, it affect addressbar, so it&#8217;s useless for me. Please help me. What I have to do? Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

