<?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>Blog for the Web Programmers &#187; Base url</title>
	<atom:link href="http://blog.chandanweb.com/tags/base-url/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.chandanweb.com</link>
	<description>A useful blog with code assitance on Typo3, Drupal, PHP, Apache, OpenSSL and PHP Frameworks</description>
	<lastBuildDate>Thu, 08 Jul 2010 05:44:43 +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 change Base URL in Magento</title>
		<link>http://blog.chandanweb.com/magento/how-to-change-base-url-in-magento</link>
		<comments>http://blog.chandanweb.com/magento/how-to-change-base-url-in-magento#comments</comments>
		<pubDate>Wed, 29 Apr 2009 16:10:40 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Base url]]></category>
		<category><![CDATA[magento base url]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/uncategorized/how-to-change-base-url-in-magento</guid>
		<description><![CDATA[Sometimes it may be essential to change the BASE URL of Magento. (Usually when you want to make a similar copy of Magento on another server!) There are 2 – 3 simple steps involved in this: Step 1: Edit old URL values in database Table: core_config_data In this table you need to edit the field [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it may be essential to change the BASE URL of Magento.    <br />(Usually when you want to make a similar copy of Magento on another server!)</p>
<p>There are 2 – 3 simple steps involved in this:    <br /><strong>     <br />Step 1: Edit old URL values in database       <br /></strong>Table: <strong>core_config_data</strong>     <br />In this table you need to edit the field named <strong>value</strong> containing specific values in the field named <strong>path</strong>!     <br />Precisely saying you need to search for web/unsecure/base_url and web/secure/base_url and replace them with new values.     </p>
<p>Please refer the images for an example.     <br />OLD Values:     <br />&#160;<a href="http://blog.chandanweb.com/wp-content/uploads/2009/04/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.chandanweb.com/wp-content/uploads/2009/04/image-thumb3.png" width="644" height="44" /></a>     </p>
<p>New Values:     <br /><a href="http://blog.chandanweb.com/wp-content/uploads/2009/04/image4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blog.chandanweb.com/wp-content/uploads/2009/04/image-thumb4.png" width="644" height="62" /></a></p>
<p><strong>Step 2: Login to backend and clear Configuration cache!      <br /></strong>This might be simply not possible and hence skip to next step!     </p>
<p><strong>Step 3: Find All entries of old domain name in the cache folder and replace them one by one.      <br /></strong>Magento retains all configuration cache in /var/cache folder.     <br />This step is&#160; good for Advanced Users who can do file search and replace such strings in one shot <img src='http://blog.chandanweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />      <br />If you are migrating a very big site, then this step will be certainly worth.</p>
<p>I use this “Unix <strong>Find </strong>Command” very useful in searching:</p>
<blockquote><p><kbd>       <br />find . -exec grep -q <a href="http://www.magdummy.cws">www.magdummy.cws</a> '{}' \; –print         <br /></kbd><kbd>       <br /></kbd></p>
</blockquote>
<p><strong>Step 3: Now it’s time to clear the cache! (Normal User)      <br /></strong>As already specified in step2, we know that Magento retains all configuration cache in /var/cache folder.     <br />You can clear the entire contents in this cache folder. Magento regenerates all these files when needed.</p>
<p><strong>Step4: View your new site in the browser.      <br /></strong>It should now be working fine like the old one <img src='http://blog.chandanweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I hope this would work fine for you.    <br />Please leave your comments or I would appreciate any idea that suits best in this case.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/magento/how-to-change-base-url-in-magento/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
