<?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>Bear, Diah and Pasha &#187; wildcard</title>
	<atom:link href="http://kisahberuang.com/tag/wildcard/feed/" rel="self" type="application/rss+xml" />
	<link>http://kisahberuang.com</link>
	<description>The home of Papa Bear, Mama Pasha and Pasha. The story about our family and friends and things that come in between.</description>
	<lastBuildDate>Wed, 11 Jan 2012 14:53:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Redirecting my WordPress Subdomain to Main</title>
		<link>http://kisahberuang.com/2010/02/08/redirecting-my-wordpress-subdomain-to-main/</link>
		<comments>http://kisahberuang.com/2010/02/08/redirecting-my-wordpress-subdomain-to-main/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 15:16:40 +0000</pubDate>
		<dc:creator>Papa Bear</dc:creator>
				<category><![CDATA[Bear time]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[redirecting]]></category>
		<category><![CDATA[redirection]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[wildcard]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://kisahberuang.com/?p=1214</guid>
		<description><![CDATA[I hate complicated things and naturally, I would look for shortcuts while fully aware that most shortcuts do not work&#8230; Tau tak pe&#8230; This time, I took the shortcut in redirecting my sub domain under http://bbd.kisahberuang.com to http://kisahberuang.com. The shortcut that I am referring to is using the redirect function in my cPanel. So, after [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I hate complicated things and naturally, I would look for shortcuts while fully aware that most shortcuts do not work&#8230;<em> Tau tak pe&#8230;</em></p>
<p>This time, I took the shortcut in redirecting my sub domain under http://bbd.kisahberuang.com to http://kisahberuang.com.</p>
<p>The shortcut that I am referring to is using the redirect function in my cPanel.</p>
<p style="text-align: center;"><a href="http://www.shareapic.net/View-21351575-February-2010.html" target="_blank"><img class="aligncenter" src="http://i3.photobucket.com/albums/y66/berrybear/cpanelredirect.jpg" border="0" alt="" width="450" /></a></p>
<p style="text-align: left;">So, after importing all entries and comments, I selected Redirect with or without www and then selected the Wild Card Redirect as well. It was supposed to make your old links go to your new links when people click on them. So it said&#8230;</p>
<p style="text-align: left;">Done. Tested. The main URL has no issue and it got directed to the new domain. But, the old links, such as from search engine results, gave a page not found instead&#8230;<em> Hampeh betui&#8230;</em></p>
<p style="text-align: left;">I saw Sam of serverfreak online and asked him about my problem. He gave me a solution. That&#8217;s why I changed from my previous hosting to serverfreak. It has the best customer services so far. Promote <em>dia sebab dah tolong for free&#8230;</em> If you need a reliable hosting, give serverfreak a try. Go to <a href="http://www.web-hosting.net.my/" target="_blank">http://www.web-hosting.net.my/</a>.</p>
<p style="text-align: left;">The solution. Changed the .htaccess file in the subdomain. Changed the original,</p>
<address>RewriteCond %{HTTP_HOST} ^bbd.kisahberuang.com$ [OR]<br />
RewriteCond %{HTTP_HOST} ^www.bbd.kisahberuang.com$<br />
RewriteRule ^(.*)$ &#8220;http\:\/\/kisahberuang\.com$1&#8243; [R=301,L]</address>
<p style="text-align: left;">To</p>
<address>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^(www\.)?bbd.kisahberuang\.com [OR]<br />
RewriteCond %{HTTP_HOST} ^kisahberuang\.com<br />
RewriteRule (.*) http://www.kisahberuang.com/$1 [R=301,L]</address>
<p>Now, I managed to get any URL referring to the old domain to go to the new domain. Yes! <em>Aku berjaya&#8230;</em></p>
<p>p/s;</p>
<p>Still could not figure out how to get old links/entries to go to the old links/entries in the new domain. <em>Camna ek?</em></p>
<div class="shr-publisher-1214"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fkisahberuang.com%2F2010%2F02%2F08%2Fredirecting-my-wordpress-subdomain-to-main%2F' data-shr_title='Redirecting+my+Wordpress+Subdomain+to+Main'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fkisahberuang.com%2F2010%2F02%2F08%2Fredirecting-my-wordpress-subdomain-to-main%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fkisahberuang.com%2F2010%2F02%2F08%2Fredirecting-my-wordpress-subdomain-to-main%2F' data-shr_title='Redirecting+my+Wordpress+Subdomain+to+Main'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fkisahberuang.com%2F2010%2F02%2F08%2Fredirecting-my-wordpress-subdomain-to-main%2F' data-shr_title='Redirecting+my+Wordpress+Subdomain+to+Main'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://kisahberuang.com/2010/02/08/redirecting-my-wordpress-subdomain-to-main/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

