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

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

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #451  
Old 05-03-2012, 08:35 AM
  Jon's Avatar 
Jon Jon is offline
 

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

Default CDSEO for X-Cart: Custom H1 Tags and Description

On older x-carts the description is shown only on the first page so there is less duplication, and on newer x-carts they copied the previous CDSEO version by appending / Page X which isn't ideal but does help.

On every version the products listed will be different which prevents much of the problem.

CDSEO can't do replacements dynamically on the h1 tags or description, but it isn't overly difficult to customize this to pull from the CDSEO Link title and description for those pages. You can do so as follows:

Open home.php

FIND:

Code:
$smarty->assign('main', 'catalog');

BEFORE ADD:

Code:
// WCM - Query CDSEO information for h1/description // (Remove " AND $page > 1" if you would like it to replace on page 1 also) if ($wcmcdseoConfig['status'] == 1 AND $current_category['categoryid'] > 0 AND $page > 1) { $current_category['wcmCDSEO'] = func_query_first("SELECT cdseoLinkTitle as wcmH1, cdseoDescription as wcmDescr FROM wcm_cdseo WHERE cdseoReplaceID='" . intval($current_category['categoryid']) . "' AND cdseoType='category' AND cdseoPage='" . (intval($page) > 1 ? $page : 1) . "' LIMIT 1"); $smarty->assign('current_category', $current_category); } // / WCM - Query CDSEO information for h1/description

Open the category template file (typically skin/common_files/customer/main/subcategories.tpl) and change as follows (this is for 4.4.x):

FIND:

Code:
<h1>{$current_category.category|amp}</h1>

REPLACE WITH:

Code:
{strip}{* WCM - Custom H1 *} {*<h1>{$current_category.category|amp}</h1>*} <h1>{if $current_category.wcmCDSEO.wcmH1 ne ""} {$current_category.wcmCDSEO.wcmH1|amp} {else} {$current_category.category|amp}{if $navigation_page gt 1} / Page {$navigation_page}{/if} {/if} </h1>{* / WCM - Custom H1 *}{/strip}

FIND:

Code:
{if $current_category.description ne ""} <div class="subcategory-descr">{$current_category.description|amp}</div> {/if}

REPLACE WITH:

Code:
{strip}{* WCM - Custom Description *} {*<div class="subcategory-descr">{$current_category.wcmCDSEO.wcmDescr|amp}</div>*} {if $current_category.wcmCDSEO.wcmDescr ne ""} <div class="subcategory-descr">{$current_category.wcmCDSEO.wcmDescr|amp}</div> {elseif $current_category.description ne ""} <div class="subcategory-descr">{$current_category.description|amp}</div> {/if}{/strip}{* / WCM - Custom Description *}
Reply With Quote

The following user thanks Jon for this useful post:
DavyMac (03-03-2013)
  #452  
Old 05-03-2012, 08:39 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

If anybody else has questions/concerns about their SEO I'll be happy to discuss here!
Reply With Quote
  #453  
Old 05-04-2012, 12:03 AM
  David-Allan's Avatar 
David-Allan David-Allan is offline
 

eXpert
  
Join Date: Oct 2011
Location: Scotland, UK
Posts: 313
 

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

Just want to post a quick comment to say "WOW"

We just had CDSEO installed yesterday on our site here

Food Packaging

Amazingly within just one day our google page rank has went up by one point already. This just amazes me coming from an SEO background and I have done lots of on page SEO myself before installing this mod but never noticed any change in the GPR untill now.

Doing my own on page SEO I have noticed a massive increase in traffic to the site already but the page rank just didnt want to budge. I don't know what changes this mod makes to the backend of Xcart but it sure works.

I can't wait to see how things progress over the next few weeks.

Thank you so much Jon, this is going to make a big difference to our site.

In my mind Xcart should be like this from the start but i'm very grateful for all the great work that guys like you and Phil (www.xcartmods.co.uk) do to improve xcart.
__________________
Live Version : 4.5.2
Licensed Products:
X-Cart Gold
Ability Theme
CDSEO
xCMS
Abandoned Cart
Food Packaging Scotland
Reply With Quote
  #454  
Old 05-04-2012, 03:05 AM
 
Acquamarina Acquamarina is offline
 

X-Adept
  
Join Date: Aug 2006
Location: USA
Posts: 811
 

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

Hi, Jon,

On v 1.8.0 Google is picking up 2 urls for certain pages, like this:

example.com/razza
example.com/razza/

Is there anything I can do about it? That manufacturer only has one page of products.

Thanks!
__________________
Vera B
4.4.5
CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO
Hosting by EWDHosting - The best home for your x-cart.
Reply With Quote
  #455  
Old 05-04-2012, 07:13 AM
 
Acquamarina Acquamarina is offline
 

X-Adept
  
Join Date: Aug 2006
Location: USA
Posts: 811
 

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

Also having issues with changed url's not forwarding. Getting lots of 404 on Webmaster tools.
Shouldn't the old url 301/foward to the new one automatically?

Thanks!
__________________
Vera B
4.4.5
CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO
Hosting by EWDHosting - The best home for your x-cart.
Reply With Quote
  #456  
Old 05-05-2012, 10:25 AM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

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

Quote:
Originally Posted by Jon
Upgrade sent!

For those curious CDSEO for 4.5 should be available this week.

Sure I just bought CDSEO Pro + xCMS Package for X-Cart on 2/7/2012 and xcart puts out a new version. I wonder how much to upgrade to the files from 4.4.5 to 4.5.0.

Will the new version of CDSEO Pro + xCMS Package for X-Cart work with Smarty 3

Just my luck
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #457  
Old 05-07-2012, 08:28 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 Acquamarina
Hi, Jon,

On v 1.8.0 Google is picking up 2 urls for certain pages, like this:

example.com/razza
example.com/razza/

Is there anything I can do about it? That manufacturer only has one page of products.

Thanks!

This is a server configuration issue which can be corrected with code from http://www.websitecm.com/articles/x-cart-seo/x-cart-seo-urls-dont-slash-away-your-x-cart-seo-rankings/
Reply With Quote

The following user thanks Jon for this useful post:
Acquamarina (05-07-2012)
  #458  
Old 05-07-2012, 08:28 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 Duramax 6.6L
Sure I just bought CDSEO Pro + xCMS Package for X-Cart on 2/7/2012 and xcart puts out a new version. I wonder how much to upgrade to the files from 4.4.5 to 4.5.0.

Will the new version of CDSEO Pro + xCMS Package for X-Cart work with Smarty 3

Just my luck

You'll get 3 months free upgrades from the time of purchase.

CDSEO and xCMS should be compatible this week.
Reply With Quote
  #459  
Old 05-07-2012, 02:55 PM
  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 David-Allan
Just want to post a quick comment to say "WOW"

We just had CDSEO installed yesterday on our site here

Food Packaging

Amazingly within just one day our google page rank has went up by one point already. This just amazes me coming from an SEO background and I have done lots of on page SEO myself before installing this mod but never noticed any change in the GPR untill now.

Doing my own on page SEO I have noticed a massive increase in traffic to the site already but the page rank just didnt want to budge. I don't know what changes this mod makes to the backend of Xcart but it sure works.

I can't wait to see how things progress over the next few weeks.

Thank you so much Jon, this is going to make a big difference to our site.

In my mind Xcart should be like this from the start but i'm very grateful for all the great work that guys like you and Phil (www.xcartmods.co.uk) do to improve xcart.

CDSEO does a great job consolidating urls for concentrated page rank. Look forward to hearing future updates.
Reply With Quote
  #460  
Old 05-07-2012, 06:46 PM
 
Acquamarina Acquamarina is offline
 

X-Adept
  
Join Date: Aug 2006
Location: USA
Posts: 811
 

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

Hi, Jon,

Thank you for the answer on the url/slash issue. It's done with the proper test result. Would you have any suggestions on checking out why the url's that are changed are not re-directed to the new url's and cause 404 errors?
__________________
Vera B
4.4.5
CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO
Hosting by EWDHosting - The best home for your x-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 07:36 AM.

   

 
X-Cart forums © 2001-2020