<?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: How to redirect Addon Domain -htaccess changes</title> <atom:link href="http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html/feed" rel="self" type="application/rss+xml" /><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html</link> <description>Contains Android and iPhone Tutorials</description> <lastBuildDate>Sat, 04 Feb 2012 04:26:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: eTuts</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-16909</link> <dc:creator>eTuts</dc:creator> <pubDate>Fri, 29 Jul 2011 06:19:53 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-16909</guid> <description>I just took the help of the hostgator support and they were really helpful with this issue.</description> <content:encoded><![CDATA[<p>I just took the help of the hostgator support and they were really helpful with this issue.</p> ]]></content:encoded> </item> <item><title>By: Atul</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6346</link> <dc:creator>Atul</dc:creator> <pubDate>Fri, 04 Feb 2011 04:25:23 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6346</guid> <description>@Brian: Good..So Is your problem solved now ..??</description> <content:encoded><![CDATA[<p>@Brian: Good..So Is your problem solved now ..??</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6322</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 03 Feb 2011 19:20:39 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6322</guid> <description>I tried this I found from another forum:RewriteEngine on RewriteCond %{HTTP_HOST} ^bluewingdesign.com$ [OR] RewriteCond %{HTTP_HOST} ^www.bluewingdesign.com$ RewriteRule ^wohn.org/?(.*)$ &quot;http\:\/\/www\.wohn\.org\/$1&quot; [R=301,L] RewriteCond %{HTTP_HOST} ^wohn.bluewingdesign.com$ [OR] RewriteCond %{HTTP_HOST} ^www.wohn.bluewingdesign.com$ RewriteRule ^/?(.*)$ &quot;http\:\/\/www\.wohn\.org\/$1&quot; [R=301,L]and put it on my PRIMARY .htaccess, and put nothing in the subdomain. And now the &quot;bluewingdesign.com/wohn.org&quot; work, but not the &quot;wohn.bluewingdesign.com&quot; that worked with the code #2 here. I get part to work on one and part with the other. When I use this code here in the main and go to: &quot;wohn.bluewingdesign.com/&quot; it directs me to: &quot;http://www.wohn.org/wohn.org&quot; and of course (NOT FOUND). Hope this helps?</description> <content:encoded><![CDATA[<p>I tried this I found from another forum:</p><p>RewriteEngine on<br /> RewriteCond %{HTTP_HOST} ^bluewingdesign.com$ [OR]<br /> RewriteCond %{HTTP_HOST} ^www.bluewingdesign.com$<br /> RewriteRule ^wohn.org/?(.*)$ &#8220;http\:\/\/www\.wohn\.org\/$1&#8243; [R=301,L]<br /> RewriteCond %{HTTP_HOST} ^wohn.bluewingdesign.com$ [OR]<br /> RewriteCond %{HTTP_HOST} ^www.wohn.bluewingdesign.com$<br /> RewriteRule ^/?(.*)$ &#8220;http\:\/\/www\.wohn\.org\/$1&#8243; [R=301,L]</p><p>and put it on my PRIMARY .htaccess, and put nothing in the subdomain. And now the &#8220;bluewingdesign.com/wohn.org&#8221; work, but not the &#8220;wohn.bluewingdesign.com&#8221; that worked with the code #2 here. I get part to work on one and part with the other. When I use this code here in the main and go to: &#8220;wohn.bluewingdesign.com/&#8221; it directs me to: &#8220;http://www.wohn.org/wohn.org&#8221; and of course (NOT FOUND). Hope this helps?</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6321</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 03 Feb 2011 18:58:32 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6321</guid> <description>Ok, I do appreciate your help!I did #2 again, still no luck with: &quot;bluewingdesign.com/wohn.org&quot; with or without the www.it returns this in the address line: http://www.wohn.org//home/bwohn/public_html/wohn.org (Internal Server Error)Also, a new problem that someone pointed out to me: &quot;http://www.wohn.org/~bwohn&quot; takes you to the primary server (wohn.org is the add on domain). ALL our subdomains when you add &quot;~bwohn&quot; it takes them to the primary domain too.We are using a shared virtual server on OLM using WHM and CPanel if that helps. Thanks again!</description> <content:encoded><![CDATA[<p>Ok, I do appreciate your help!</p><p>I did #2 again, still no luck with:<br /> &#8220;bluewingdesign.com/wohn.org&#8221; with or without the www.</p><p>it returns this in the address line:<br /> <a href="http://www.wohn.org//home/bwohn/public_html/wohn.org" rel="nofollow">http://www.wohn.org//home/bwohn/public_html/wohn.org</a><br /> (Internal Server Error)</p><p>Also, a new problem that someone pointed out to me:<br /> &#8220;http://www.wohn.org/~bwohn&#8221; takes you to the primary server (wohn.org is the add on domain). ALL our subdomains when you add &#8220;~bwohn&#8221; it takes them to the primary domain too.</p><p>We are using a shared virtual server on OLM using WHM and CPanel if that helps. Thanks again!</p> ]]></content:encoded> </item> <item><title>By: Atul</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6307</link> <dc:creator>Atul</dc:creator> <pubDate>Thu, 03 Feb 2011 14:44:32 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6307</guid> <description>@Brian: Open htaccess file of your addondomain and paste the second code in it. Please backup your htaccess file first. It should work. No need to add anything in primary domain htaccess.Also, Please let me know if you on shared hosting and also which host you are using ?If still you are facing issues, let us know. I will look into it then....</description> <content:encoded><![CDATA[<p>@Brian: Open htaccess file of your addondomain and paste the second code in it. Please backup your htaccess file first. It should work.<br /> No need to add anything in primary domain htaccess.</p><p>Also, Please let me know if you on shared hosting and also which host you are using ?</p><p>If still you are facing issues, let us know. I will look into it then&#8230;.</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6305</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 03 Feb 2011 12:57:05 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6305</guid> <description>Ok, no neither works? I&#039;m confused.Do I need to modify the .htaccess file on the primary as well. It seems this is not getting to my secondary with: &quot;bluewingdesign.com/wohn.org&quot;</description> <content:encoded><![CDATA[<p>Ok, no neither works? I&#8217;m confused.</p><p>Do I need to modify the .htaccess file on the primary as well. It seems this is not getting to my secondary with: &#8220;bluewingdesign.com/wohn.org&#8221;</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6304</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 03 Feb 2011 12:52:54 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6304</guid> <description>I&#039;m sorry, ALL work except the one WITH the www.www.bluewingdesign.com/wohn.org does not work, without it does (weird)?</description> <content:encoded><![CDATA[<p>I&#8217;m sorry, ALL work except the one WITH the www.</p><p><a href="http://www.bluewingdesign.com/wohn.org" rel="nofollow">http://www.bluewingdesign.com/wohn.org</a> does not work, without it does (weird)?</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6302</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 03 Feb 2011 12:17:53 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6302</guid> <description>When I put in &quot;bluewingdesign.com/wohn.org&quot; (without the www in front)...It goes here: http://www.wohn.org//home/bwohn/public_html/wohn.orgWith the www, it works fine. Is there another line I need, or something on CPanel I need to change. We don&#039;t get support on a Server issue like this - any help would be appreciated. Thanks!</description> <content:encoded><![CDATA[<p>When I put in &#8220;bluewingdesign.com/wohn.org&#8221; (without the www in front)&#8230;</p><p>It goes here:<br /> <a href="http://www.wohn.org//home/bwohn/public_html/wohn.org" rel="nofollow">http://www.wohn.org//home/bwohn/public_html/wohn.org</a></p><p>With the www, it works fine. Is there another line I need, or something on CPanel I need to change. We don&#8217;t get support on a Server issue like this &#8211; any help would be appreciated. Thanks!</p> ]]></content:encoded> </item> <item><title>By: Atul</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6284</link> <dc:creator>Atul</dc:creator> <pubDate>Thu, 03 Feb 2011 04:30:42 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6284</guid> <description>@Brian: The code worked for me. I think you need to consult your webhost in this. They will be able to help you. Just let us know if still you are facing the issues.</description> <content:encoded><![CDATA[<p>@Brian:<br /> The code worked for me. I think you need to consult your webhost in this. They will be able to help you.<br /> Just let us know if still you are facing the issues.</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.techofweb.com/tips-n-tricks/redirect-addon-domain-htaccess.html#comment-6275</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 03 Feb 2011 00:01:45 +0000</pubDate> <guid isPermaLink="false">http://techofweb.com/?p=31#comment-6275</guid> <description>OK, I tried option #2 again and now everything works except &quot;bluewingdesign.com/wohn.org&quot;. &quot;www.bluewingdesign.com/wohn.org&quot; DOES work however and so do all the other 10 ways. I&#039;m using this code:Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{HTTP_HOST} !^(www.)?wohn.org$ [NC] RewriteCond %{HTTP_HOST} !^$ [NC] RewriteRule ^(.*)$ http://www.wohn.org/$1 [R=301,NC,L]What do I add to get the non WWW to redirect? Thanks much!</description> <content:encoded><![CDATA[<p>OK, I tried option #2 again and now everything works except &#8220;bluewingdesign.com/wohn.org&#8221;. &#8220;www.bluewingdesign.com/wohn.org&#8221; DOES work however and so do all the other 10 ways. I&#8217;m using this code:</p><p>Options +FollowSymlinks<br /> RewriteEngine On<br /> RewriteBase /<br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteCond %{REQUEST_FILENAME} !-d<br /> RewriteRule . /index.php [L]<br /> RewriteCond %{HTTP_HOST} !^(www.)?wohn.org$ [NC]<br /> RewriteCond %{HTTP_HOST} !^$ [NC]<br /> RewriteRule ^(.*)$ <a href="http://www.wohn.org/$1" rel="nofollow">http://www.wohn.org/$1</a> [R=301,NC,L]</p><p>What do I add to get the non WWW to redirect? Thanks much!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 1/16 queries in 0.462 seconds using disk: basic
Object Caching 406/453 objects using disk: basic

Served from: www.techofweb.com @ 2012-02-04 10:50:49 -->
