<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : SEO urls and forwarding from old site</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Using ProductCart : SEO urls and forwarding from old site]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 14:27:00 +0000</pubDate>
  <lastBuildDate>Thu, 24 Jun 2010 16:49:41 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=3802</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[SEO urls and forwarding from old site : Try &amp;#034;pc/pcSeoFunctions.asp&amp;#034; ...]]></title>
   <link>https://forum.productcart.com/seo-urls-and-forwarding-from-old-site_topic3802_post14774.html#14774</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=213">Matt</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 24-June-2010 at 4:49pm<br /><br />Try "pc/pcSeoFunctions.asp"]]>
   </description>
   <pubDate>Thu, 24 Jun 2010 16:49:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/seo-urls-and-forwarding-from-old-site_topic3802_post14774.html#14774</guid>
  </item> 
  <item>
   <title><![CDATA[SEO urls and forwarding from old site : We recently launched a ProductCart...]]></title>
   <link>https://forum.productcart.com/seo-urls-and-forwarding-from-old-site_topic3802_post14769.html#14769</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=659">BrianRoden</a><br /><strong>Subject:</strong> 3802<br /><strong>Posted:</strong> 24-June-2010 at 12:32pm<br /><br />We recently launched a ProductCart site to replace the product details of our company site. The main site with general company info, video webscasts, free patterns, etc. is at <a href="http://www.leisurearts.com" target="_blank">www.leisurearts.com</A>. The ProductCart site is shop.leisurearts.com.<DIV>&nbsp;</DIV><DIV>I rewrote the&nbsp; Page_Load routine for the item detail page on the other site so that it takes the item number that is passed in our previous SEO-friendly URLs, looks it up from the SKU field in the Products table, then builds a new URL to the ProuctCart SEO-friendly URL for that item and does a 301 redirect. Where I'm running into trouble is with item names/titles that have special characters in them, like the trademark symbol <FONT size=4>™</FONT>, the registered trademark symbol <FONT size=4>®</FONT>, and smart apostrophes/single right quotes <FONT size=4>’</FONT>&nbsp;. I wrote my own VB function in our .net site:</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>TitleForURLUse = inputURL<BR>TitleForURLUse = TitleForURLUse.Replace(Chr(34), </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>":"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"'"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>" "</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"-"</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"&amp;"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"and"</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>","</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"/"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"+"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"."</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"!"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(Chr(13), </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR>TitleForURLUse = TitleForURLUse.Replace(Chr(10), </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>)<BR></FONT></DIV><DIV><FONT size=2>which obviously isn't covering those special charcters, and so on those items with these odd characters in the title, I'm not generating the same SEO-friendly URL as ProductCart, and the redirect is failing because PC can't find the item.</DIV></FONT><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Can someone point me to the code in ProductCart that is used for making the SEO-friendly URLs, so I can make sure I cover the same characters and redirect to a correctly-formed URL?</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 24 Jun 2010 12:32:52 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/seo-urls-and-forwarding-from-old-site_topic3802_post14769.html#14769</guid>
  </item> 
 </channel>
</rss>