Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Title and CDSEO Pro

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 10-21-2008, 07:40 AM
 
staalejg staalejg is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 63
 

Default Product Title and CDSEO Pro

I've installed CDSEO Pro and it works like a charm. I need to change the Product Titles on a global level.

All of my products have an html page title of "Product Name - Company Name". I'd like to change them globally to "Product Name - Global Keywords". Where can I define what shows up after "Product Name" in CDSEO Pro?

Thanks.

X-Cart 4.19
__________________
Juan (Teksavers)
Reply With Quote
  #2  
Old 10-21-2008, 07:44 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Product Title and CDSEO Pro

Moving to Third Party Add-Ons
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-21-2008, 12:22 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default Re: Product Title and CDSEO Pro

"Company Name" comes from your configuration for your actual company name.

You can change this globally with an sql patch as follows, being sure to change "Company Name" to your current title component and "Global Keywords" to your desired title component.

Code:
UPDATE wcm_cdseo set cdseoTitle = replace(cdseoTitle,' - Company Name',' - Global Keywords');

You can run sql patches in x-cart admin -> patch/upgrade -> sql patch
Reply With Quote
  #4  
Old 10-21-2008, 12:30 PM
 
staalejg staalejg is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 63
 

Default Re: Product Title and CDSEO Pro

Sweet. Just used the mysql command line to do this. That is exactly what I needed.
__________________
Juan (Teksavers)
Reply With Quote
  #5  
Old 10-23-2008, 01:58 PM
 
timbrrr timbrrr is offline
 

eXpert
  
Join Date: Feb 2006
Posts: 277
 

Default Re: Product Title and CDSEO Pro

Could you give the exact syntac to switch the cdseoTitle and the company name around?

The end result would be Company name then the cdseo

I tried doing this with the example but wasnt gettting something right... kept getting a mysql error

Thanks


Quote:
Originally Posted by Jon
"Company Name" comes from your configuration for your actual company name.

You can change this globally with an sql patch as follows, being sure to change "Company Name" to your current title component and "Global Keywords" to your desired title component.

Code:
UPDATE wcm_cdseo set cdseoTitle = replace(cdseoTitle,' - Company Name',' - Global Keywords');

You can run sql patches in x-cart admin -> patch/upgrade -> sql patch
__________________
X-Cart Gold 4.6.3
Codero dedicated server
Reply With Quote
  #6  
Old 10-23-2008, 02:03 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default Re: Product Title and CDSEO Pro

I wouldn't recommend this as global keywords should be put last as they are less relevant to the specific page.

You can accomplish this however, by:

1) Backup your database, these queries haven't been tested live and I take no accountability!

2) Run a query to remove the Company Name:

Code:
UPDATE wcm_cdseo set cdseoTitle = replace(cdseoTitle,' - Company Name','');

3) Run a query to add to the front of the title:

Code:
UPDATE `wcm_cdseo` SET `cdseoTitle` = CONCAT('Company Name - ',cdseoTitle);
Reply With Quote
  #7  
Old 05-07-2009, 11:39 AM
 
drx drx is offline
 

Newbie
  
Join Date: Apr 2009
Posts: 6
 

Default Re: Product Title and CDSEO Pro

lets say i want the category to have the title with a "general keyword" and I want the products to have a different "general keyword" that is not the same used on the category. How can i do that?
__________________
drx
Reply With Quote
  #8  
Old 05-07-2009, 11:42 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Product Title and CDSEO Pro

drx, need you to update your signature as I requested please.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 05-07-2009, 12:21 PM
  Jon's Avatar 
Jon Jon is offline
 

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

Default Re: Product Title and CDSEO Pro

Something like:

Code:
UPDATE `wcm_cdseo` SET `cdseoTitle` = CONCAT('Product Keyword ',cdseoTitle) WHERE cdseoType='product';


Code:
UPDATE `wcm_cdseo` SET `cdseoTitle` = CONCAT('Category Keyword ',cdseoTitle) WHERE cdseoType='category';
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:17 AM.

   

 
X-Cart forums © 2001-2020