<?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>DoublePlus &#187; miva merchant</title>
	<atom:link href="http://www.doubleplus.com/tag/miva-merchant/feed" rel="self" type="application/rss+xml" />
	<link>http://www.doubleplus.com</link>
	<description>Ecommerce for the Rest of Us</description>
	<lastBuildDate>Wed, 08 Sep 2010 16:00:56 +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>10 Beautiful Examples of Miva Merchant Sites</title>
		<link>http://www.doubleplus.com/beautiful-miva-merchant-sites.html</link>
		<comments>http://www.doubleplus.com/beautiful-miva-merchant-sites.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 14:46:44 +0000</pubDate>
		<dc:creator>Susan Petracco</dc:creator>
				<category><![CDATA[Site Design]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[miva merchant]]></category>

		<guid isPermaLink="false">http://www.doubleplus.com/?p=320</guid>
		<description><![CDATA[If you've read this blog for awhile, ever talked to me, know what I do for a living, or have anything else to do with me in any other way, you probably know that I eat, sleep, and breathe e-commerce...and that my usual platform of choice is Miva Merchant. I've used other systems on occasion, [...]]]></description>
			<content:encoded><![CDATA[<p>If you've read this blog for awhile, ever talked to me, know what I do for a living, or have anything else to do with me in any other way, you probably know that I eat, sleep, and breathe e-commerce...and that my usual platform of choice is <a href="http://www.mivamerchant.com">Miva Merchant</a>. I've used other systems on occasion, for fun and for work, to various degrees, but Miva is where I started and where I spend most of my time.</p>

<span id="more-320"></span>

<div id="attachment_321" class="wp-caption alignright" style="width: 240px"><img src="http://www.doubleplus.com/wp-content/nommui.gif" alt="No MMUI Please!" title="nommui" width="230" height="166" class="size-full wp-image-321" /><p class="wp-caption-text">No MMUI Please!</p></div>

<p>Miva Merchant ships with a default look-and-feel called MMUI - the Miva Merchant User Interface. It's there because it HAS to have SOMETHING, right? But it was never meant for public consumption...the developers always assumed people would replace it with an actual design. But many retailers didn't replace it - either they didn't have the skills, they were cheap, they were lazy, they didn't know better, or whatever - but lots of stores used it. And have been since year 19-whatever. Miva Merchant has since released a built-in CSS skin that is better, but still very basic, and yet this MMUI (see image, right, under the big red X) is still around on the web. You've probably seen it and groaned.</p>

<p>So I wanted to take this chance and showcase a bit of what CAN be done with Miva Merchant. Although I'd been planning this for a couple of weeks, in a timely coincidence, Chuck over at Merchant Tutorials posted about <a href="http://www.merchanttutorials.com/blog/top-ten-myths-about-miva-merchant/244/">common Miva Merchant myths</a> and the very first one is that the cart is limited in it's look and feel. Let's debunk that right now.</p>

<h2>1. Green Tree Coffee &amp; Tea</h2>
<div id="attachment_324" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.greentreecoffee.com"><img src="http://www.doubleplus.com/wp-content/greentreecoffee.png" alt="Green Tree Coffee &amp; Tea" title="greentreecoffee" width="550" height="607" class="size-full wp-image-324" /></a><p class="wp-caption-text">Green Tree Coffee &amp; Tea</p></div>

<h2>2. smallfri.com Birth Announcements</h2>
<div id="attachment_327" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.smallfri.com"><img src="http://www.doubleplus.com/wp-content/smallfri.png" alt="smallfri.com Birth Announcements" title="smallfri.com Birth Announcements" width="550" height="621" class="size-full wp-image-327" /></a><p class="wp-caption-text">smallfri.com Birth Announcements</p></div>

<h2>3. DJ Shadow</h2>
<div id="attachment_330" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.djshadow.com/"><img src="http://www.doubleplus.com/wp-content/djshadow.png" alt="DJ Shadow" title="DJ Shadow" width="550" height="573" class="size-full wp-image-330" /></a><p class="wp-caption-text">DJ Shadow</p></div>

<h2>4. California Caviar</h2>
<div id="attachment_332" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.californiacaviar.com"><img src="http://www.doubleplus.com/wp-content/californiacaviar.png" alt="California Caviar" title="California Caviar" width="550" height="671" class="size-full wp-image-332" /></a><p class="wp-caption-text">California Caviar</p></div>

<h2>5. Mad Cat Toys</h2>
<div id="attachment_336" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.madcattoys.com"><img src="http://www.doubleplus.com/wp-content/madcattoys.png" alt="Mad Cat Toys" title="Mad Cat Toys" width="550" height="765" class="size-full wp-image-336" /></a><p class="wp-caption-text">Mad Cat Toys</p></div>

<h2>6. Bee Global</h2>
<div id="attachment_337" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.beeglow.com"><img src="http://www.doubleplus.com/wp-content/beeglow.png" alt="Bee Global Candle Studio" title="Bee Global Candle Studio" width="550" height="565" class="size-full wp-image-337" /></a><p class="wp-caption-text">Bee Global Candle Studio</p></div>

<h2>7. Mezzetta</h2>
<div id="attachment_338" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.mezzetta.com/"><img src="http://www.doubleplus.com/wp-content/mezzetta.png" alt="Mezzetta Mediterranean Food" title="Mezzetta Mediterranean Food" width="550" height="503" class="size-full wp-image-338" /></a><p class="wp-caption-text">Mezzetta Mediterranean Food</p></div>

<h2>8. Rusty's Off-Road Products</h2>
<div id="attachment_340" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.rustysoffroad.com/"><img src="http://www.doubleplus.com/wp-content/rustysoffroad.png" alt="Rusty&#039;s Off Road Products" title="Rusty&#039;s Off Road Products" width="550" height="522" class="size-full wp-image-340" /></a><p class="wp-caption-text">Rusty's Off Road Products</p></div>

<h2>9. Arcadia Publishing</h2>
<div id="attachment_341" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.arcadiapublishing.com/"><img src="http://www.doubleplus.com/wp-content/arcadiapublishing.png" alt="Arcadia Publishing" title="Arcadia Publishing" width="550" height="543" class="size-full wp-image-341" /></a><p class="wp-caption-text">Arcadia Publishing</p></div>

<h2>10. Michael's Finer Meats and Seafoods</h2>
<div id="attachment_342" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.michaelsmeats.com/"><img src="http://www.doubleplus.com/wp-content/michaelsmeats.png" alt="Michael&#039;s Finer Meats and Seafoods" title="Michael&#039;s Finer Meats and Seafoods" width="550" height="456" class="size-full wp-image-342" /></a><p class="wp-caption-text">Michael's Finer Meats and Seafoods</p></div>

<p>One small caveat just for <a href="http://www.doubleplus.com/ecommerce-credibility.html">the sake of transparency</a>: Mad Cat Toys is out of our clients at NetBlazon. But the design is completely the work of the owner, Dale Carlson of <a href="http://www.propaganza.com/">Propaganza</a>...we just did the backend programming. So I'm not sneaking in a self-backpat or anything. Also, thanks to Scott from <a href="http://www.sebenza.com">Sebenza</a> for pointing us in the direction of Michael's Meats, a site I hadn't seen before.</p>

<p>Got any other examples of truly beautifully-designed <a href="http://www.mivamerchant.com">Miva Merchant</a> websites? Post them in the comments below!</p>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.doubleplus.com/beautiful-miva-merchant-sites.html&amp;title=10+Beautiful+Examples+of+Miva+Merchant+Sites" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.doubleplus.com/beautiful-miva-merchant-sites.html&amp;title=10+Beautiful+Examples+of+Miva+Merchant+Sites" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.doubleplus.com/beautiful-miva-merchant-sites.html&amp;title=10+Beautiful+Examples+of+Miva+Merchant+Sites" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=10+Beautiful+Examples+of+Miva+Merchant+Sites+-+http://tinyurl.com/29nshm9+%28via+%40spetracco%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.doubleplus.com/beautiful-miva-merchant-sites.html&amp;submitHeadline=10+Beautiful+Examples+of+Miva+Merchant+Sites&amp;submitSummary=If%20you%27ve%20read%20this%20blog%20for%20awhile%2C%20ever%20talked%20to%20me%2C%20know%20what%20I%20do%20for%20a%20living%2C%20or%20have%20anything%20else%20to%20do%20with%20me%20in%20any%20other%20way%2C%20you%20probably%20know%20that%20I%20eat%2C%20sleep%2C%20and%20breathe%20e-commerce...and%20that%20my%20usual%20platform%20of%20choice%20is%20Miva%20Merchant.%20I%27ve%20used%20other%20systems%20on%20occasion%2C%20for%20fun&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.doubleplus.com/beautiful-miva-merchant-sites.html&amp;t=10+Beautiful+Examples+of+Miva+Merchant+Sites" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.doubleplus.com/beautiful-miva-merchant-sites.html&amp;title=10+Beautiful+Examples+of+Miva+Merchant+Sites" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.doubleplus.com/beautiful-miva-merchant-sites.html" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.doubleplus.com/beautiful-miva-merchant-sites.html/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>10 Questions with Chuck Lasker of MerchantTutorials.com</title>
		<link>http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html</link>
		<comments>http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html#comments</comments>
		<pubDate>Mon, 18 May 2009 16:58:47 +0000</pubDate>
		<dc:creator>Susan Petracco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[chuck lasker]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[MerchantTutorials.com]]></category>
		<category><![CDATA[miva merchant]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.doubleplus.com/?p=168</guid>
		<description><![CDATA[Many Miva Merchant users are familiar with Chuck Lasker and the various ways he's been involved in the Miva community over the past several years. We caught up with him at the 2009 Miva Merchant conference to ask him ten questions about his new endeavor, MerchantTutorials.com. Find out how he got started with Miva Merchant, [...]]]></description>
			<content:encoded><![CDATA[<embed src="http://blip.tv/play/AYGCw28A" type="application/x-shockwave-flash" width="540" height="434" allowscriptaccess="always" allowfullscreen="true"></embed>

<p>Many Miva Merchant users are familiar with Chuck Lasker and the various ways he's been involved in the Miva community over the past several years. We caught up with him at the 2009 Miva Merchant conference to ask him ten questions about his new endeavor, <a href="http://www.merchanttutorials.com">MerchantTutorials.com</a>. Find out how he got started with Miva Merchant, what MerchantTutorials.com is all about, and how you can subscribe to the service to learn how to do more things with your online store.</p>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html&amp;title=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html&amp;title=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html&amp;title=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com+-+http://tinyurl.com/p35mwh+%28via+%40spetracco%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html&amp;submitHeadline=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com&amp;submitSummary=%0D%0A%0D%0AMany%20Miva%20Merchant%20users%20are%20familiar%20with%20Chuck%20Lasker%20and%20the%20various%20ways%20he%27s%20been%20involved%20in%20the%20Miva%20community%20over%20the%20past%20several%20years.%20We%20caught%20up%20with%20him%20at%20the%202009%20Miva%20Merchant%20conference%20to%20ask%20him%20ten%20questions%20about%20his%20new%20endeavor%2C%20MerchantTutorials.com.%20Find%20out%20how%20he%20go&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html&amp;t=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html&amp;title=10+Questions+with+Chuck+Lasker+of+MerchantTutorials.com" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.doubleplus.com/chuck-lasker-merchanttutorials-interview.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Easy Domain Switching for Miva Merchant Stores</title>
		<link>http://www.doubleplus.com/domain-switching-miva-merchant-stores.html</link>
		<comments>http://www.doubleplus.com/domain-switching-miva-merchant-stores.html#comments</comments>
		<pubDate>Tue, 26 Aug 2008 00:02:26 +0000</pubDate>
		<dc:creator>Susan Petracco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[miva merchant]]></category>
		<category><![CDATA[modules]]></category>

		<guid isPermaLink="false">http://www.doubleplus.com/?p=43</guid>
		<description><![CDATA[Because we do a lot of redesigns and offline development, our customers usually have at least two stores operational at one time - the live store and a development platform. Sometimes that makes it hard to test, though, if links from the development site link back to the live site half of the time. You [...]]]></description>
			<content:encoded><![CDATA[<img id="articlemainimage" src="/wp-content/devsite.jpg" alt="Easy Domain Switching for Miva Merchant stores" />

Because we do a lot of redesigns and offline development, our customers usually have at least two stores operational at one time - the live store and a development platform. Sometimes that makes it hard to test, though, if links from the development site link back to the live site half of the time. You don't always notice when you navigate away from the development site.

<span id="more-43"></span>

The sessionurl and secure_sessionurl variables in Miva Merchant will automatically pick up the right domain. But any hardcoded URLs, if they are using absolute paths (and in most cases, they should) will not be as easy to manage. And if you use shortened <a href="https://www.netblazon.com/p-NBSEOLINK.html">SEO-friendly urls</a>, you may have even more widespread URLs to manage.

Here's an easy tip for Miva Merchant users who have more than one environment: set a variable in your store that references your domain name, and then build your URLs around that. This is easy if you use the <a rel="external nofollow" href="http://www.mivacentral.com/Merchant2/merchant.mv?Screen=PROD&amp;store_code=m&amp;product_code=WCW-TOOLKIT5&amp;ref=doubleplus">Toolkit module</a> from Emporium Plus. Go into Miva Merchant, click the name of your store within the left frame, and then on the right side, click HTML Profile. The great thing about this field is that it's usually the first field referenced by the store's page templates. (If your site doesn't use the HTML profile, or if you are running Miva Merchant 5.0 instead of 5.5, use the head tag insert field.)

At the bottom of this box, enter the following code:
<div class="code">&lt;mvt:item name="toolkit" param="sassign|basedomain|http://www.yoursite.com" /&gt;
&lt;mvt:item name="toolkit" param="sassign|secure_basedomain|https://www.yoursite.com" /&gt;</div>
Then to change the variables for a particular environment, you just have two variables to change. Still too much work? You can use the toolkit to extract the url from your domain settlings instead:
<div class="code">&lt;mvt:item name="toolkit" param="gettoken|g.domain:MM_URL,/,3|mydomain" /&gt;
&lt;mvt:item name="toolkit" param="sassign|httpprotocol|http://" /&gt;
&lt;mvt:item name="toolkit" param="sassign|httpsprotocol|https://" /&gt;
&lt;mvt:item name="toolkit" param="concat|basedomain|httpprotocol|mydomain" /&gt;
&lt;mvt:item name="toolkit" param="concat|secure_basedomain|httpsprotocol|mydomain" /&gt;</div>
After that, you can build your URLs using this "basedomain" global variable, and when you copy code from one site to the other, the links should still work. Here's an example link to the shopping cart page:
<div class="code">&lt;a href="&amp;mvt:global:basedomain;/mm5/merchant.mvc?Screen=BASK&gt;View Your Cart&lt;/a&gt;</div>
This little bit of work can make your life much simpler down the road!

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html&amp;title=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html&amp;title=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html&amp;title=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores+-+http://tinyurl.com/65gf4w+%28via+%40spetracco%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html&amp;submitHeadline=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores&amp;submitSummary=%0D%0A%0D%0ABecause%20we%20do%20a%20lot%20of%20redesigns%20and%20offline%20development%2C%20our%20customers%20usually%20have%20at%20least%20two%20stores%20operational%20at%20one%20time%20-%20the%20live%20store%20and%20a%20development%20platform.%20Sometimes%20that%20makes%20it%20hard%20to%20test%2C%20though%2C%20if%20links%20from%20the%20development%20site%20link%20back%20to%20the%20live%20site%20half%20of%20the%20ti&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html&amp;t=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html&amp;title=Quick+Tip%3A+Easy+Domain+Switching+for+Miva+Merchant+Stores" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.doubleplus.com/domain-switching-miva-merchant-stores.html" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.doubleplus.com/domain-switching-miva-merchant-stores.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Including Recent WordPress Posts in Miva Merchant</title>
		<link>http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html</link>
		<comments>http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html#comments</comments>
		<pubDate>Mon, 30 Jun 2008 14:44:57 +0000</pubDate>
		<dc:creator>Susan Petracco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[miva merchant]]></category>
		<category><![CDATA[Weblogs]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html</guid>
		<description><![CDATA[The great thing about having a blog for your business is that it gives customers and search engines new content to view. It can increase sales by convincing customers of your product's benefits, or teaching them how to use it, or giving them ideas for incorporating the product into the lives. But it's essential to [...]]]></description>
			<content:encoded><![CDATA[<img id="articlemainimage" src="/images/posts/wordpressmiva.jpg" alt="Combining WordPress and Miva Merchant" />

The great thing about having a blog for your business is that it gives customers and search engines new content to view. It can increase sales by convincing customers of your product's benefits, or teaching them how to use it, or giving them ideas for incorporating the product into the lives.

<span id="more-39"></span>

But it's essential to integrate the weblog with your storefront. If customers can't go back-and-forth between your store and your weblog, the impact of your blog is going to be less than optimal. If you are using Miva Merchant 5 and WordPress, however, one of the simplest ways to integrate the two is to include recent blog posts right on your homepage.

To start out, you need a template that can display a very simple HTML page - one that, in this example, is no more than the title of each post, linked to the full post itself. This can be done by modifying the index.php file within your WordPress template (located in wp-content/themes/your-theme-name). Just add this code at the top of your index.php file:
<div class="code">&lt;?php if ($_REQUEST['pull'] == 1) : ?&gt;

&lt;?php if (have_posts()) : ?&gt;
&lt;?php while (have_posts() &amp;&amp; $ctr &lt; 3) : the_post(); ?&gt;
&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;?php $ctr=$ctr+1; ?&gt;
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;

&lt;?php else : ?&gt;</div>
The rest of your original index.php should follow this code. Then at the very bottom, close your "if" statement like this:
<div class="code">&lt;?php endif; ?&gt;</div>
At this point, you should be able to see your recent posts by going to the following URL. Be sure to replace "domain.com" with your website domain name, and replace "weblog" with the correct directory for your WordPress installation:
<div class="code">http://www.domain.com/weblog/?pull=1</div>
At this point, you're ready to begin working in Miva Merchant. You'll need <a rel="external nofollow" href="http://www.mivacentral.com/Merchant2/merchant.mv?Screen=PROD&amp;store_code=m&amp;product_code=WCW-TOOLKIT5&amp;ref=doubleplus">Emporium Plus's Toolkit</a> module installed. Then, inside Miva Merchant, go to Pages and edit your Storefront (SFNT) page or your Storefront Welcome Message (under Messages). Add the following code (again, replacing the appropriate parts of the URL as specific to your site):
<div class="code">&lt;mvt:item name="toolkit" param="callurl|weblog|http://www.domain.com/weblog/?pull=1|POST|nhour,nminute,nsecond" /&gt;
&amp;mvt:global:weblog;</div>
This will print out the list of recent posts from your weblog right on your Miva Merchant storefront.

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html&amp;title=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html&amp;title=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html&amp;title=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant+-+http://tinyurl.com/ye5436j+%28via+%40spetracco%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html&amp;submitHeadline=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant&amp;submitSummary=%0D%0A%0D%0AThe%20great%20thing%20about%20having%20a%20blog%20for%20your%20business%20is%20that%20it%20gives%20customers%20and%20search%20engines%20new%20content%20to%20view.%20It%20can%20increase%20sales%20by%20convincing%20customers%20of%20your%20product%27s%20benefits%2C%20or%20teaching%20them%20how%20to%20use%20it%2C%20or%20giving%20them%20ideas%20for%20incorporating%20the%20product%20into%20the%20lives.%0D%0A%0D&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html&amp;t=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html&amp;title=Quick+Tip%3A+Including+Recent+Wordpress+Posts+in+Miva+Merchant" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.doubleplus.com/quick-tip-including-recent-wordpress-posts-in-miva-merchant.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Building a Miva Merchant 4 Website with XHTML and CSS</title>
		<link>http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html</link>
		<comments>http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html#comments</comments>
		<pubDate>Sat, 12 Apr 2008 20:29:00 +0000</pubDate>
		<dc:creator>Susan Petracco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[miva merchant]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://new.doubleplus.com/ecommerce-development/xhtmlcss-in-miva-merchant.html</guid>
		<description><![CDATA[For web development purists, the holy grail of coding an ecommerce site using an off-the-shelf package is the ability to write a fully standards-compliant site. The upcoming Miva Merchant 5.5 release brings this desire into full reality for Miva Merchant developers. Version 5.5 offers a completely-open page templating system, where all aspects of the site [...]]]></description>
			<content:encoded><![CDATA[<img id="articlemainimage" src="http://new.doubleplus.com/wp-content/csslarge.jpg" alt="Building a Miva Merchant Website with XHTML and CSS" />

For web development purists, the holy grail of coding an ecommerce site using an off-the-shelf package is the ability to write a fully standards-compliant site. The upcoming <a rel="external nofollow" href="http://www.mivamerchant.com/">Miva Merchant</a> 5.5 release brings this desire into full reality for Miva Merchant developers. Version 5.5 offers a completely-open page templating system, where all aspects of the site are fully customizable at the HTML and CSS code level.

<span id="more-4"></span>

Historically it was much more difficult to code a Miva Merchant site with XHTML and CSS. We pioneered the effort, using a variety of add-on modules such as OpenUI and <a rel="external nofollow" href="http://www.mivacentral.com/Merchant2/merchant.mv?Screen=PROD&amp;store_code=m&amp;product_code=CBS-SUPOPENUI&amp;ref=doubleplus">OpenUI Supermod</a> templates to provide access to the code around the page elements. But the method also involved a couple of hacks of the core Miva Merchant files, to <a href="http://www.netblazon.com/products/miva-merchant-doctypes/">add a doctype declaration</a> and to change the &lt;HTML&gt; tags from upper-case to lower-case. OpenUI Supermod templates were slow, so we often added <a rel="external nofollow" href="http://www.mivacentral.com/page/m/PROD/PM/PM-OPTMIZE&amp;ref=doubleplus">Merchant Optimizer</a> to speed up the site. It worked well, but building a site in this manner was akin to applying band-aid upon band-aid to force a system, never intended to allow standards-compliant code, to produce the desired effect.

The release of Miva Merchant 5.0 provided a huge step forward. With the addition of pages that can be templatized nearly from start to finish using Miva Merchant's Store Morph Technology, developers now had the ability to code almost the entire site according to modern standards for markup and layout. A few third-party modules were still needed, to gain access to "black box" code areas such as the category tree. But Miva Merchant 5.0 was already much faster, thanks to the ability to run the shopping cart on a MySQL database (instead of the older DBF files). And with native templating support, which renders quickly due to its compiled nature, several layers of complexity (and those "band-aids") were removed.

Miva Merchant 5.5 brings this all into fruition, as developers can now access all of the code that builds the site. To get started, the first thing to do is to make sure every page in the site conforms to the proper doctype. I prefer XHTML 1.0 Strict, though we've sometimes used Transitional for various reasons. A doctype paves the way for CSS positioning by bringing Internet Explorer out of quirks mode, allowing the site to look very similar in all modern browsers, when designed properly.

Next, all the tables should be removed from the pages, except when used to display actual tabular data. XHTML and CSS websites rely on CSS positioning to define their layouts, instead of putting images and content within the cells of HTML tables. Typically the only table we use on a CSS-based Miva Merchant site is the layout of the basket contents, since that is tabular data by nature. Instead of using tables, content is placed within other elements according to the nature of the content - &lt;div&gt; tags for block-level elements; &lt;span&gt; tags for inline content, &lt;p&gt; tags for paragraphs, etc. Elements can be assigned a class or an id so that they can be styled via the CSS stylesheet.

Larger Miva Merchant sites often need to consider the fact that the site may also include other packages or custom-coded sections that reside outside of the Miva Merchant framework. To reduce the load on the filesystem and to keep the assets organized - as well as to make it easy to switch between one client and another - we try to standardize the location of the site's assets. For example, all site-wide graphic files are stored in a /images/ path, just off the document root, and not within the /mm5/ directory tree created by Miva Merchant. (This /images/ folder may be further subdivided into subfolders such as /images/buttons/ as needed.) JavaScript code is placed in external .js files located in a /js/ directory. And the stylesheet(s) are stored in /style/, with the main site stylesheet being named style.css. Additional CSS files may be added for popup windows, printing a page, or page-specific elements, but are almost always stored in the same directory.

Once the CSS file has been created, it can be linked into Miva Merchant by adding a &lt;style&gt; tag into the head section of the site. This can be done on each individual page, but for a site-wide stylesheet, the easiest way to manage it is to add the style tag into the HEAD Tag Content found in the Miva Merchant administration by clicking the name of the store on the left side. The tag looks like this:
<div class="code">&lt;link rel="stylesheet" href="/style/style.css" mce_href="/style/style.css" type="text/css" media="all" /&gt;</div>
Probably the most difficult part of building a Miva Merchant website using XHTML and CSS is the addition of features from third-party modules that don't support XHTML and/or CSS. This can be hard to ascertain while shopping for modules, so one often has to ask the developer whether it can be done. If not, certain sections of the site may simply not conform to the standards in use, which occasionally causes rendering problems in some browsers, but often has no effect other than generating errors when validating a site against the doctype. However, some developers are now starting to see the benefit in allowing this, and offer more granular components that allow developers to include the data within their own HTML - for example, by providing the price breaks in a volume pricing module in an array, for display in any manner desired.

The benefits of using XHTML and CSS, and moving away from using tables for layout, is reduced code bloat and, arguably, better on-site optimization for SEO purposes. It also allows site changes to be applied to the site globally, by updating the stylesheet - one file - instead of hundreds of table and font tags across multiple pages. Although the transition to CSS-based design involves a sizeable learning curve, it's one well worth the effort.

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html&amp;title=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html&amp;title=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html&amp;title=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS+-+http://tinyurl.com/29wb3ab+%28via+%40spetracco%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html&amp;submitHeadline=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS&amp;submitSummary=%0D%0A%0D%0AFor%20web%20development%20purists%2C%20the%20holy%20grail%20of%20coding%20an%20ecommerce%20site%20using%20an%20off-the-shelf%20package%20is%20the%20ability%20to%20write%20a%20fully%20standards-compliant%20site.%20The%20upcoming%20Miva%20Merchant%205.5%20release%20brings%20this%20desire%20into%20full%20reality%20for%20Miva%20Merchant%20developers.%20Version%205.5%20offers%20a%20complete&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html&amp;t=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html&amp;title=Building+a+Miva+Merchant+4+Website+with+XHTML+and+CSS" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.doubleplus.com/xhtmlcss-in-miva-merchant.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Advanced URL Rewriting with Miva Merchant</title>
		<link>http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html</link>
		<comments>http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html#comments</comments>
		<pubDate>Wed, 26 Mar 2008 20:30:16 +0000</pubDate>
		<dc:creator>Susan Petracco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[miva merchant]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://new.doubleplus.com/ecommerce-development/advanced-url-rewriting-with-miva-merchant.html</guid>
		<description><![CDATA[URL Rewriting is a way of changing the URLs within a website to a more logical and/or more search engine-friendly format. The default URLs within a Miva Merchant site are long and full of querystring variables, and can easily be rewritten to cleaner formats, as described below. To find out if this is available for [...]]]></description>
			<content:encoded><![CDATA[<img id="articlemainimage" src="http://new.doubleplus.com/wp-content/urllarge.jpg" alt="urllarge.jpg" />

URL Rewriting is a way of changing the URLs within a website to a more logical and/or more search engine-friendly format. The default URLs within a Miva Merchant site are long and full of querystring variables, and can easily be rewritten to cleaner formats, as described below. To find out if this is available for your website, check with your web host.

<span id="more-7"></span>
<h2>History</h2>
URL Rewriting first became popular among Miva Merchant sites when Copernicus released their Search Friendly Links module, long before the advent of Miva Merchant 5.0. At the time, Google favored URL structures that had, at most, a single name-value pair in the querystring. To understand this, one must look at the structure of a URL. A URL begins with either http:// or https://, followed by the domain name (such as <a href="http://www.google.com/">www.google.com</a>). After that comes another slash, zero or more directories separated by slashes, and a filename. For example:
<div class="code">http://www.site.com/mm5/merchant.mvc</div>
In this example, www.site.com is the domain name, mm5 is a directory, and merchant.mvc is the name of the file within the mm5 directory that is being called. A querystring is appended to the URL by adding a question mark, and then one or more name-value pairs separated by ampersands. This can be seen throughout Miva Merchant, such as the URLs that define a product page:
<div class="code">http://www.site.com/mm5/merchant.mvc?Screen=PROD&amp;Product_Code=ABC123&amp;Category_Code=flowers</div>
In the above example, the querystring contains three name-value pairs: Screen=PROD, Product_Code=ABC123, and Category_Code=flowers. At the time that the Search Friendly Links module was released, since Google was devaluing links with more than one name-value pair, this type of URL clearly did a disservice to Miva Merchant site owners. Search Friendly Links changed the above URL to a directory structure:
<div class="code">http://www.site.com/page/PROD/ABC123/flowers/</div>
<h2>Mod_rewrite</h2>
The mechanism that allows this to work is built into Apache, the webserver commonly used on *nix servers, and is called mod_rewrite. To turn on mod_rewrite for your site, you need to edit (or add) the .htaccess file in your root directory. Note that on *nix servers, files that begin with a period ("dot files") are hidden by default, so you may need to set your FTP client to show hidden files or dot files in order to see the .htaccess file in the list. Within the .htaccess file, add this command above any rewrite rules:
<div class="code">RewriteEngine On</div>
This command turns on the rewriting engine. Specific rewrite rules can be added based on the format chosen below.
<h2>"Supershort" or "Jedi-style" Links</h2>
Although Search Friendly Links is no longer needed with Miva Merchant 5.0 and above, mod_rewrite can still be used to generate shorter URLs that offer an advantage among the search engines, and offer the customer a more logical set of URLs for the website.

One common URL format is to add a "c-" to designate category page URLs, and a "p-" to distinguish product page URLs. Using our example above, these URLs would become:
<div class="code">http://www.site.com/c-flowers.html

http://www.site.com/p-ABC123.html</div>

The URLs within the pages inside of Miva Merchant 5 can be changed to this format in the following manner:
<div class="code">http://www.site.com/c-&amp;mvt:category:code.html

http://www.site.com/p-&amp;mvt:product:code.html</div>

And to allow these URLs to work, the following Rewrite Rules should be added to the .htaccess file below the "RewriteEngine On" line:
<div class="code">RewriteRule ^c-([^.]+).*$ /mm5/merchant.mvc?Screen=CTGY&amp;Category_Code=$1&amp;%{QUERY_STRING} [T=application/x-httpd-mv,L]
RewriteRule ^p-([^.]+).*$ /mm5/merchant.mvc?Screen=PROD&amp;Product_Code=$1&amp;%{QUERY_STRING} [T=application/x-httpd-mv,L]</div>
<h2>"Store" directory - Miva Merchant within a larger site</h2>
Sites that include a Miva Merchant store within a larger framework of pages or applications might want all shopping cart pages to appear in the /store/ directory, for example. Using this in combination with the "supershort" link format above produces:
<div class="code">http://www.site.com/store/c-flowers.html

http://www.site.com/store/p-ABC123.html</div>

The SMT code looks like this:
<div class="code">http://www.site.com/store/c-&amp;mvt:category:code.html

http://www.site.com/store/p-&amp;mvt:product:code.html</div>

And the rewrite rules might look something like this:
<div class="code">RewriteCond %{QUERY_STRING} Screen=CTGY [NC]
RewriteCond %{QUERY_STRING} Category_Code=(.*)&amp; [NC]
RewriteRule ^(.*) http://www.site.com/store/%1.html? [R=301,L]

RewriteCond %{QUERY_STRING} Screen=CTGY [NC]
RewriteCond %{QUERY_STRING} Category_Code=(.*)$ [NC]
RewriteRule ^(.*) http://www.site.com/store/%1.html? [R=301,L]

RewriteCond %{QUERY_STRING} Screen=PROD [NC]
RewriteCond %{QUERY_STRING} Product_Code=(.*)&amp; [NC]
RewriteRule ^(.*) http://www.site.com/store/%1.html? [R=301,L]

RewriteCond %{QUERY_STRING} Screen=PROD [NC]
RewriteCond %{QUERY_STRING} Product_Code=(.*)$ [NC]
RewriteRule ^(.*) http://www.site.com/store/%1.html? [R=301,L]</div>
<h2>Smart Links - The Shortest Possible Links</h2>
By adding the <a href="http://www.netblazon.com/p-NBSEOLINK.html">Smart Links for SEO™</a> module, it is also possible to create even shorter links. This module takes the string after the domain name, and looks within the Miva Merchant database to determine whether the string represents a category code, a product code, or a page code. (Note that when using this module, a store should NOT have product codes, category codes, and screen codes that overlap each other; they should all be unique.) This module allows a store to display these type of URLs:
<div class="code">http://www.site.com/flowers.html

http://www.site.com/ABC123.html


http://www.site.com/aboutus.html</div>

In the first URL, "flowers" refers to a category code. In the second one, "ABC123" refers to a product, and in the final URL, "aboutus" is the code for a custom page. The rewrite rule for this format is simple, as it redirects the user to a single URL controlled by the Smart Links for SEO module. The rule looks like this:
<div class="code">RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)\.html$ /mm5/merchant.mvc?Screen=NBSEOLINK&amp;thecode=$1 [L]</div>
<h2>Summary</h2>
No matter which rewriting method you choose, be consistent with your URLs. Google in particular frowns on duplicate content, and although they are great at determining canonical URLs (the primary URL to reach a given page), you don't want to take any chances. And just in case, it might be a good idea to block robots from your /mm5/ directory using your robots.txt file. Do your planning up front, so you don't have to change your URL format down the road (which might cause your search engine rankings to drop). Figure out how you intend to optimize your URLs, formulate a plan, and stick with it, for ultimate success.

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html&amp;title=Advanced+URL+Rewriting+with+Miva+Merchant" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html&amp;title=Advanced+URL+Rewriting+with+Miva+Merchant" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html&amp;title=Advanced+URL+Rewriting+with+Miva+Merchant" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Advanced+URL+Rewriting+with+Miva+Merchant+-+http://tinyurl.com/29n4br2+%28via+%40spetracco%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html&amp;submitHeadline=Advanced+URL+Rewriting+with+Miva+Merchant&amp;submitSummary=%0D%0A%0D%0AURL%20Rewriting%20is%20a%20way%20of%20changing%20the%20URLs%20within%20a%20website%20to%20a%20more%20logical%20and%2For%20more%20search%20engine-friendly%20format.%20The%20default%20URLs%20within%20a%20Miva%20Merchant%20site%20are%20long%20and%20full%20of%20querystring%20variables%2C%20and%20can%20easily%20be%20rewritten%20to%20cleaner%20formats%2C%20as%20described%20below.%20To%20find%20out%20if%20th&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html&amp;t=Advanced+URL+Rewriting+with+Miva+Merchant" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html&amp;title=Advanced+URL+Rewriting+with+Miva+Merchant" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.doubleplus.com/advanced-url-rewriting-with-miva-merchant.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
