<?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: 301 Redirect Example When Using Wildcard DNS For Subdomains</title>
	<atom:link href="http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm</link>
	<description>Search Engine Optimization, Search Engine Marketing, Internet Advertising, Link Building, and Much More</description>
	<lastBuildDate>Thu, 25 Feb 2010 16:52:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vijay</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-50213</link>
		<dc:creator>vijay</dc:creator>
		<pubDate>Mon, 09 Nov 2009 06:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-50213</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>
	<item>
		<title>By: Peter Benson</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-50165</link>
		<dc:creator>Peter Benson</dc:creator>
		<pubDate>Tue, 03 Nov 2009 19:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-50165</guid>
		<description>Thanks for the post, really helpful</description>
		<content:encoded><![CDATA[<p>Thanks for the post, really helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Hendricks</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-49986</link>
		<dc:creator>Jason Hendricks</dc:creator>
		<pubDate>Tue, 27 Oct 2009 01:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-49986</guid>
		<description>I don&#039;t know if it works with the most current version of WP, but it&#039;s worth a shot:

http://www.deanlee.cn/wordpress/permalinks-migration-plugin/

Otherwise you&#039;d have to write a special rewrite rule or manually add an entry for each old page name to redirect to the new page name in .htaccess (tedious).</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if it works with the most current version of WP, but it&#8217;s worth a shot:</p>
<p><a href="http://www.deanlee.cn/wordpress/permalinks-migration-plugin/" rel="nofollow">http://www.deanlee.cn/wordpress/permalinks-migration-plugin/</a></p>
<p>Otherwise you&#8217;d have to write a special rewrite rule or manually add an entry for each old page name to redirect to the new page name in .htaccess (tedious).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-49949</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 24 Oct 2009 14:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-49949</guid>
		<description>I have hundreds of links to my blog posts in this format:
http://www.mysite.com/2008/05/09/my-blog-post/

but I have changed the settings so the urls now appear like this:
http://www.mysite.com/my-blog-post/

Can anyone tell me what do I put in .htaccess to get it old links to re-direct to the new pages? (All is the same, but now they no longer have the date in the url)</description>
		<content:encoded><![CDATA[<p>I have hundreds of links to my blog posts in this format:<br />
<a href="http://www.mysite.com/2008/05/09/my-blog-post/" rel="nofollow">http://www.mysite.com/2008/05/09/my-blog-post/</a></p>
<p>but I have changed the settings so the urls now appear like this:<br />
<a href="http://www.mysite.com/my-blog-post/" rel="nofollow">http://www.mysite.com/my-blog-post/</a></p>
<p>Can anyone tell me what do I put in .htaccess to get it old links to re-direct to the new pages? (All is the same, but now they no longer have the date in the url)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-41293</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Mon, 26 Jan 2009 21:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-41293</guid>
		<description>Hi, just wondering and new to SEO with URL&#039;s.
My situation is a bit complex to make it simple for me ;-)
I have a server running IIS6 and using php/mysql for years now. To optimize for search engines, I noticed some techniques like 301 redirects.
I think I have a trick for my situation, but before making it, I&#039;d like to hear your oppinion about it.

If I would make urls like: http://mysite.com/my-first-seo-url
It now would turn into a 404 page. But if I would change the 404.htm into redirect.php in the config, I could then process and query whatever I want to get the right url and make a 301 redirect to it.
Would that enhance my site for search engines?</description>
		<content:encoded><![CDATA[<p>Hi, just wondering and new to SEO with URL&#8217;s.<br />
My situation is a bit complex to make it simple for me <img src='http://www.tidalwavemedia.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
I have a server running IIS6 and using php/mysql for years now. To optimize for search engines, I noticed some techniques like 301 redirects.<br />
I think I have a trick for my situation, but before making it, I&#8217;d like to hear your oppinion about it.</p>
<p>If I would make urls like: <a href="http://mysite.com/my-first-seo-url" rel="nofollow">http://mysite.com/my-first-seo-url</a><br />
It now would turn into a 404 page. But if I would change the 404.htm into redirect.php in the config, I could then process and query whatever I want to get the right url and make a 301 redirect to it.<br />
Would that enhance my site for search engines?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicola</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-40437</link>
		<dc:creator>Nicola</dc:creator>
		<pubDate>Mon, 22 Dec 2008 21:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-40437</guid>
		<description>Hi,
I&#039;m in a &quot;extremely incompetent hosting company&quot; situation :) that don&#039;t permit me to use my website without DNS.
Now I&#039;ve put a webserver APACHE on my PC always on with static IP and I&#039;ve forwarded the DNS * and @ to my IP to get the request without www for my website and &quot;redraw&quot; them with WWW.
I have some problems in doing this.
For now I&#039;ve tried this:



but doesen&#039;t work with every page (i.e. http://website.ext/* for every possible string in *).
Can you suggest me how to fix this problem?
I repeat, I have an apache webserver so I can also modify settings in apache if is not possible to do this only with PHP.
Thanks so much.
PS: It can be better if this fix works independent by domain name, so I can help people with same problem.
For knowing, the hosting company is TopHost.it</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m in a &#8220;extremely incompetent hosting company&#8221; situation <img src='http://www.tidalwavemedia.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  that don&#8217;t permit me to use my website without DNS.<br />
Now I&#8217;ve put a webserver APACHE on my PC always on with static IP and I&#8217;ve forwarded the DNS * and @ to my IP to get the request without www for my website and &#8220;redraw&#8221; them with WWW.<br />
I have some problems in doing this.<br />
For now I&#8217;ve tried this:</p>
<p>but doesen&#8217;t work with every page (i.e. <a href="http://website.ext/" rel="nofollow">http://website.ext/</a>* for every possible string in *).<br />
Can you suggest me how to fix this problem?<br />
I repeat, I have an apache webserver so I can also modify settings in apache if is not possible to do this only with PHP.<br />
Thanks so much.<br />
PS: It can be better if this fix works independent by domain name, so I can help people with same problem.<br />
For knowing, the hosting company is TopHost.it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjib</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-34342</link>
		<dc:creator>Sanjib</dc:creator>
		<pubDate>Tue, 30 Sep 2008 06:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-34342</guid>
		<description>Hi,

In a Single IP( windows 2003, iis 6) I have 3 Vitual directory( running 3 dirrent web application.

On user request, www.website.com should redirect to VD1
on www.website.com/VD2  should redirect to VD2 ....


Like way, I read many Article, non of them satisfactory. your help is highly apreciated.

Regards</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>In a Single IP( windows 2003, iis 6) I have 3 Vitual directory( running 3 dirrent web application.</p>
<p>On user request, <a href="http://www.website.com" rel="nofollow">http://www.website.com</a> should redirect to VD1<br />
on <a href="http://www.website.com/VD2" rel="nofollow">http://www.website.com/VD2</a>  should redirect to VD2 &#8230;.</p>
<p>Like way, I read many Article, non of them satisfactory. your help is highly apreciated.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-33341</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 16 Sep 2008 17:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-33341</guid>
		<description>Nevermind... Found the solution:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain\.com$
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

RewriteRule ^.*\.htm$ http://www.domain.com [NC,R=301,L]</description>
		<content:encoded><![CDATA[<p>Nevermind&#8230; Found the solution:</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{HTTP_HOST} ^domain\.com$<br />
RewriteRule (.*) <a href="http://www.domain.com/$1" rel="nofollow">http://www.domain.com/$1</a> [R=301,L]</p>
<p>RewriteRule ^.*\.htm$ <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> [NC,R=301,L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-33338</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 16 Sep 2008 17:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-33338</guid>
		<description>Quick htaccess question:

I need to redirect all the old pages from a client to the main index page. His old pages are all .htm files. I want to use a wildcard to catch all of the pages. What would be the rule?

This is what I have so far:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain\.com$
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^www\.domain\.ca$ [NC]
RewriteRule ^*\.htm$ index.html [NC,R=301,L]

...but it&#039;s not working. What am I missing?</description>
		<content:encoded><![CDATA[<p>Quick htaccess question:</p>
<p>I need to redirect all the old pages from a client to the main index page. His old pages are all .htm files. I want to use a wildcard to catch all of the pages. What would be the rule?</p>
<p>This is what I have so far:</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{HTTP_HOST} ^domain\.com$<br />
RewriteRule (.*) <a href="http://www.domain.com/$1" rel="nofollow">http://www.domain.com/$1</a> [R=301,L]</p>
<p>RewriteCond %{HTTP_HOST} ^www\.domain\.ca$ [NC]<br />
RewriteRule ^*\.htm$ index.html [NC,R=301,L]</p>
<p>&#8230;but it&#8217;s not working. What am I missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Hendricks</title>
		<link>http://www.tidalwavemedia.com/blog/301-redirect-example-when-using-wildcard-dns-for-subdomains.htm/comment-page-1#comment-14061</link>
		<dc:creator>Jason Hendricks</dc:creator>
		<pubDate>Sat, 01 Dec 2007 19:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonhendricks.com/?p=87#comment-14061</guid>
		<description>Hi Don. I&#039;m no .htaccess expert, but I&#039;ve come across just about every redirect scenario you can think of. Give me more info on exactly what you&#039;re trying to accomplish and maybe I can help.</description>
		<content:encoded><![CDATA[<p>Hi Don. I&#8217;m no .htaccess expert, but I&#8217;ve come across just about every redirect scenario you can think of. Give me more info on exactly what you&#8217;re trying to accomplish and maybe I can help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
