View Single Post
  #162  
Old 05-15-2009, 08:55 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors

Quote:
Originally Posted by steve.thompson
I misunderstood the use of the patch. I thought that it was a one-off.

Seems that the patch needs to be applied whenever I create a product with a "<space>p" in the title. Can I edit CDSEO so that it does not do the "-p" to "_p" replacement? Or do I need to run the patch every time?

Thanks, Steve.

Open your modules/cdseolinks/cdseo_config.php

At the bottom of the file, just before ?> put:

Code:
// WCM - Modify _p urls if ($_GET['cdseopage'] == 'auto-population') db_query("UPDATE wcm_cdseo set cdseoUrl = replace(cdseoUrl,'_p','-p')");
Reply With Quote