<?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>Sakin Shrestha &#62; Management and IT Consultant (Wordpress Expert) &#187; How to</title>
	<atom:link href="http://sakinshrestha.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://sakinshrestha.com</link>
	<description>Articles related to Management, Technology, WordPress,  News, Travel to Nepal</description>
	<lastBuildDate>Sun, 29 Aug 2010 02:56:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Move WordPress Site to New Domain or Location</title>
		<link>http://sakinshrestha.com/wordpress/how-to-move-wordpress-site-to-new-domain-or-location/</link>
		<comments>http://sakinshrestha.com/wordpress/how-to-move-wordpress-site-to-new-domain-or-location/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 04:40:43 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=210</guid>
		<description><![CDATA[If you decide to change the URL or link location of your WordPress site due to changes of domain name from the development server to the main sever or from one domain name to another (such as from http://www.old-domain.com/ to http://www.new-domain.com/) or the blog to another directory location (such as from http://www.domain.com/ to http://www.domain.com/blog/), there [...]]]></description>
			<content:encoded><![CDATA[<p>If you decide to change the URL or link location of your WordPress site due to changes of domain name from the development server to the main sever or from one domain name to another (such as from http://www.old-domain.com/ to http://www.new-domain.com/) or the blog to another directory location (such as from http://www.domain.com/ to http://www.domain.com/blog/), there are some steps that should be done to ensure the proper migration and no breaking links.</p>
<p><span id="more-210"></span></p>
<p>The tricky part when moving WordPress site to another location is that WordPress is using absolute path in URL link instead of relative path in URL link location when stores some parameters in database. Within wordpress site posts’ contents itself, users may also use the old URLs when creating reference backlinks. All these values in the database will need to be changed when WordPress is moved. The following guide will show you which database fields that has references or values related to site&#8217;s URLs that you want to modify.</p>
<p>Once the site has been moved (all files copy over in case of moving location or server or new domain name properly propagated across Internet for new domain name), the first thing to change is to tell WordPress the new site location (wp-config.php should be no changes, and .htaccess file should be also no changes. If for some reason mod_rewrite rules for friendly URLs no longer works, you can always regenerate the .htaccess file via WP Administration’s Update Permalinks page). This value can be changed via WordPress Options page, but if you no longer able to access to old site URL, you have to modify the value via MySQL database.</p>
<p>Note: The guide uses SQL statements based on MySQL replace() function to modify the database. To run SQL queries, login to MySQL database that houses WordPress tables via phpMyAdmin or login to the DB server and run MySQL client as root.</p>
<p><strong>To update WordPress options with the new site location, use the following SQL command:</strong></p>
<p><strong>UPDATE wp_options SET option_value = replace(option_value, &#8216;http://www.old-domain.com&#8217;, &#8216;http://www.new-domain.com&#8217;) WHERE option_name = &#8216;home&#8217; OR option_name = &#8216;siteurl&#8217;;</strong></p>
<p>After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. The URL values in this field are stored as absolute URLs instead of relative URLs, so it needs to be changed with the following SQL query:</p>
<p><strong>UPDATE wp_posts SET guid = replace(guid, &#8216;http://www.old-domain.com&#8217;,'http://www.new-domain.com&#8217;);</strong></p>
<p>If you have linked internally within wordpress site posts or pages with absolute URLs, these links will point to wrong locations after you move the site location. Use the following SQL commands to fix all internal links to own site in all WordPress posts and pages:</p>
<p><strong>UPDATE wp_posts SET post_content = replace(post_content, &#8216;http://www.old-domain.com&#8217;, &#8216;http://www.new-domain.com&#8217;);</strong></p>
<p>Browse through WordPress site to check if everything is okay. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/how-to-move-wordpress-site-to-new-domain-or-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find and Replace Text in MySQL Database using SQL</title>
		<link>http://sakinshrestha.com/technology/it-tips-tricks/how-to-find-and-replace-text-in-mysql-database-using-sql/</link>
		<comments>http://sakinshrestha.com/technology/it-tips-tricks/how-to-find-and-replace-text-in-mysql-database-using-sql/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 04:40:41 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=209</guid>
		<description><![CDATA[MySQL database has a handy and simple string function REPLACE() that allows table data with the matching string (from_string) to be replaced by new string (to_string). This is useful function if you want to search and replace a text string which affects many records or rows, such as change of company name, postcode, URL or [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL database has a handy and simple string function <a title="String Functions Replace" href="http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace" target="_blank">REPLACE()</a> that allows table data with the matching string (from_string) to be replaced by new string (to_string). This is useful function if you want to search and replace a text string which affects many records or rows, such as change of company name, postcode, URL or spelling mistake.</p>
<p><strong>The syntax of REPLACE</strong> is REPLACE(text_string, from_string, to_string)</p>
<p><a title="MySQL reference" href="http://dev.mysql.com/doc/refman/5.0/en/string-functions.html" target="_blank">MySQL reference</a> describes REPLACE as function that returns the string text_string with all occurrences of the string from_string replaced by the string to_string, where matching is case-sensitive when searching for from_string. text_string can be retrieved from the a field in the database table too. Most SQL command can be REPLACE() function, especially SELECT and UPDATE manipulation statement.</p>
<p><strong>For example:</strong><span id="more-209"></span></p>
<p>update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’);</p>
<p>update client_table set company_name = replace(company_name, ‘Old Company’, ‘New Company’)</p>
<p>The above statement will replace all instances of ‘Old Company’ to ‘New Company’ in the field of company_name of client_table table.</p>
<p>Source: <a title="MySQL" href="http://dev.mysql.com/doc/refman/5.0/en/index.html" target="_blank">MySQL 5.0 Reference Manual</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/technology/it-tips-tricks/how-to-find-and-replace-text-in-mysql-database-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Website about PC (especially for PC buyer)</title>
		<link>http://sakinshrestha.com/technology/it-tips-tricks/how-to-website-about-pc-especially-for-pc-buyer/</link>
		<comments>http://sakinshrestha.com/technology/it-tips-tricks/how-to-website-about-pc-especially-for-pc-buyer/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 04:03:23 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=145</guid>
		<description><![CDATA[Now days there are lot of how-to websites launches from big companies. On May 05, 2008, I listed down Three best How-to websites: Quamut.com, About.com, and Howstuffworks.com launched by companies like Barnes &#38; Noble, Inc., The New York Times Company and Discovery Communications respectively. But these sites are general and cover almost all areas. Today, [...]]]></description>
			<content:encoded><![CDATA[<p>Now days there are lot of how-to websites launches from big companies. On May 05, 2008, I listed down <a title="Sakin Shrestha" href="http://www.sakinshrestha.com/?p=95" target="_self"><strong><em>Three best How-to websites</em></strong></a>: Quamut.com, About.com, and Howstuffworks.com launched by companies like Barnes &amp; Noble, Inc., The New York Times Company and Discovery Communications respectively. But these sites are general and cover almost all areas.</p>
<p>Today, I am talking about <em><strong><a title="PC.COM" href="http://www.pc.com" target="_blank">Pc.com</a> from <a title="Intel Corporation" href="http://www.intel.com" target="_blank">Intel Corporation</a></strong></em><a href="http://">.</a> It provides us valuable resources on computers and the amazing things you can do with them. In this site you will find informative articles, news, videos, and more. It also has shop section where you will find Intel processor-based computers.</p>
<p style="text-align: center;"><a title="PC.COM" href="http://www.pc.com" target="_blank"><img class="alignnone size-medium wp-image-146" style="vertical-align: middle;" title="PC.com" src="http://www.sakinshrestha.com/wp-content/uploads/2008/06/pccom-300x272.jpg" alt="Pc.com" width="300" height="272" /></a></p>
<p>&#8220;Today, consumers are forced to visit multiple sites to track down information and they often rely on the sales person at their local computer store for a recommendation,&#8221; says Matt Robley, PC.com site strategist in the Sales and Marketing Group (SMG). “Our goal is to simplify the process and provide consumers with one place to go learn about technology and have their questions answered online.” Here&#8217;s what makes PC.com different from the approximately 47 jillion other technology sites that offer PC info of one kind or another. Pc.com is a simple one-stop-shop site that among other features, offers:</p>
<ul>
<li>Third-party ratings and advice on PC models</li>
<li>A glossary—in plain language—that explains common terms from broadband to USB and everything in between</li>
<li>Articles that demystify and explain basic PC concepts</li>
<li>More than a dozen short videos that answer such questions like &#8220;How can I check what sites my daughter is browsing?&#8221;</li>
<li>Experts who field specific questions and get back to you with clear simple answers</li>
<li>An ask-and-answer community that lets users easily tap the wisdom of the crowd at PC.com, without having to dive into the unfettered Wild West of the blogosphere</li>
</ul>
<p>Enjoy</p>
<p><a title="Sakin Shrestha" href="http://www.sakinshrestha.com" target="_self"><em>Sakin </em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/technology/it-tips-tricks/how-to-website-about-pc-especially-for-pc-buyer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three best How-to websites</title>
		<link>http://sakinshrestha.com/technology/it-tips-tricks/three-best-how-to-websites/</link>
		<comments>http://sakinshrestha.com/technology/it-tips-tricks/three-best-how-to-websites/#comments</comments>
		<pubDate>Mon, 05 May 2008 07:40:04 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[General Management]]></category>
		<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=95</guid>
		<description><![CDATA[With the advancement in technology and internet facility, learning from web is getting more and more popular these days. It’s seems like more and more people preferring to read articles and learn new stuffs electronic. With the increase in demand, the publishing companies have started to publish the How to websites free of cost. Just [...]]]></description>
			<content:encoded><![CDATA[<p>With the advancement in technology and internet facility, learning from web is getting more and more popular these days. It’s seems like more and more people preferring to read articles and learn new stuffs electronic. With the increase in demand, the publishing companies have started to publish the How to websites free of cost. Just in the end of March 2008, Barnes &amp; Noble, Inc launched new How-to website, Quamut.com to compete with the established How-to websites like: About.com, a part of The New York Times Company and HowStuffWorks.com, a wholly owned subsidiary of Discovery Communications.</p>
<p>Let’s look at some of these three websites:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-99" title="allhows" src="http://www.sakinshrestha.com/wp-content/uploads/2008/05/allhows.jpg" alt="How to websites" width="500" height="222" /></p>
<p style="text-align: center;">
<p><img class="alignnone size-full wp-image-96" title="Quamut Logo" src="http://www.sakinshrestha.com/wp-content/uploads/2008/05/logoquamutt_com.jpg" alt="Quamut Logo" width="310" height="72" /></p>
<p><a title="Quamut" href="http://www.quamut.com" target="_blank"><strong>Quamut </strong></a>is the new how-to Website published by <strong><a title="Barnes &amp; Noble, Inc" href="http://www.barnesandnobleinc.com" target="_blank">Barnes &amp; Noble, Inc.</a> (NYSE:BKS)</strong>. It was officially launched on March 24, 2008. It’s the fastest and most convenient way to learn how to do almost anything. Quamut.com introduced how to guides that offers credible information in a concise, user-friendly format.</p>
<p><strong>Categories:</strong></p>
<ul>
<li>House &amp; Homes</li>
<li>Hobbies &amp; Leisure</li>
<li>Money &amp; Business</li>
<li>Computers &amp; technology</li>
<li>Mind &amp; Body</li>
</ul>
<p><strong><br />
It also has features like: </strong></p>
<ul>
<li>Wiki How to By you</li>
<li>Recently Added</li>
<li>Most Popular Tags</li>
</ul>
<p><strong>What makes Quamut different?</strong></p>
<ul>
<li>Printable charts</li>
<li>Backed by Barnes &amp; Noble</li>
<li>Broad yet comprehensive coverage</li>
<li>Wiki-based community</li>
</ul>
<p><strong>Other related links:</strong></p>
<ul>
<li><a title="Barnes &amp; Noble Launches Quamut.com" href="http://www.barnesandnobleinc.com/press_releases/2008_march_24_quamut_website_launch.html" target="_blank">Barnes &amp; Noble Launches the How-To Website, Quamut.com</a></li>
<li><a title="About Quamut" href="http://www.quamut.com/about" target="_blank">About Quamut</a></li>
<li><a title="Barnes &amp; Noble, Inc" href="http://www.barnesandnobleinc.com/" target="_blank">Barnes &amp; Noble, Inc</a></li>
</ul>
<p><img class="alignnone size-full wp-image-97" title="About Logo" src="http://www.sakinshrestha.com/wp-content/uploads/2008/05/logoabout_com.jpg" alt="About Logo" width="310" height="72" /></p>
<p><a title="About.com" href="http://www.about.com" target="_blank">About, Inc.</a>, is a part of <a title="The New York Times" href="http://www.nytimes.com/" target="_blank">The New York Times Company</a> (NYSE: NYT).  It is an online resource with hundreds of helpful experts, eager to share their wealth of knowledge with visitors. It was founded in 1996 and was acquired by The New York Times Company on March, 2005. It is recognized as one of the top content sites and one of the largest producers of original content on the web.</p>
<p><strong>Categories:</strong></p>
<ul>
<li>Autos</li>
<li>Business &amp; Finance</li>
<li>Cities &amp; Towns</li>
<li>Computing &amp; Technology</li>
<li>Education</li>
<li>Electronics &amp; Gadgets</li>
<li>Entertainment</li>
<li>Food &amp; Drinks</li>
<li>Health</li>
<li>Hobbies &amp; Games</li>
<li>Home &amp; Garden</li>
<li>Jobs &amp; Careers</li>
<li>News &amp; Issues</li>
<li>Parenting &amp; Family</li>
<li>People &amp; Relationships</li>
<li>Religion &amp; Spirituality</li>
<li>Shopping</li>
<li>Sports &amp; Recreation</li>
<li>Style</li>
<li>Teens</li>
<li>Travel</li>
<li>Video Games</li>
</ul>
<p><strong>It also has features like: </strong></p>
<ul>
<li>Expert Reviews</li>
<li>Prices</li>
<li>Reference</li>
<li>Video Stuff</li>
</ul>
<p><strong>Other related links:</strong></p>
<ul>
<li><a title="About About.com" href="http://www.aboutmediakit.com/about/" target="_blank">About About.com</a></li>
<li><a title="The New York Times" href="http://www.nytimes.com/" target="_blank">The New York Times</a></li>
</ul>
<p><img class="alignnone size-medium wp-image-98" title="howstuffworks logo" src="http://www.sakinshrestha.com/wp-content/uploads/2008/05/logohowstuffworks_com-300x69.jpg" alt="howstuffworks logo" width="300" height="69" /></p>
<p><a title="HowStuffWorks" href="http://www.howstuffworks.com" target="_blank">HowStuffWorks, Inc.</a> is a wholly owned subsidiary of Discovery Communications.  Founded by North Carolina State University professor Marshall Brain in 1998, the site is now an online resource for millions of people of all ages.</p>
<p><strong>Categories:</strong></p>
<ul>
<li>Animals</li>
<li>Auto</li>
<li>Business &amp; Money</li>
<li>Communication</li>
<li>Computer</li>
<li>Electronics</li>
<li>Entertainment</li>
<li>Food &amp; Recipes</li>
<li>Geography</li>
<li>Health</li>
<li>History</li>
<li>Home &amp; Garden</li>
<li>People</li>
<li>Science</li>
<li>Travel</li>
</ul>
<p><strong>It also has features like: </strong></p>
<ul>
<li>Expert Reviews</li>
<li>Prices</li>
<li>Reference</li>
<li>Video Stuff</li>
</ul>
<p><strong>Other related links:</strong></p>
<ul>
<li><a title="About HowStuffWorks" href="http://www.howstuffworks.com/about-hsw.htm" target="_blank">About HowStuffWorks, Inc.</a></li>
<li><a title="Discovery Communications" href="http://corporate.discovery.com/" target="_blank">Discovery Communications, LLC.<br />
</a></li>
</ul>
<p style="text-align: center;">
<p>Enjoy learning through web</p>
<p>- <em>sakin</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/technology/it-tips-tricks/three-best-how-to-websites/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: sakinshrestha.com @ 2010-09-10 06:59:25 -->