X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors (https://forum.x-cart.com/showthread.php?t=39924)

tqualizerman 04-26-2012 07:25 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
Do you know which one that might be? I was sure this was part of the module.

cherie 04-26-2012 07:27 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
I don't believe it is. You'd have to contact them to see how to get it.

Jon 04-26-2012 08:43 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
1 Attachment(s)
Attached is the cat-subcat-product url format module. It will change your product urls while writing the old url to history so that 301 redirects take place from the old to the new automatically.

Instructions on how to install are in the .zip.

Note that this is not a supported component of CDSEO and is provided as-is with no warranty. Back-up your existing database before changing your urls just in case.

JacksmithxD 04-26-2012 01:42 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
Best URL structure for products?

e.g http://www.inkcartridgesfast.co.uk/epson/ink-cartridges.html (for a list of ink cartridges for the Epson printers.

For the products should I do http://www.inkcartridgesfast.co.uk/epson/ink-cartridges/epson-example-compatible-multipack-ink.html

It seems to long...

Any ideas on what is best practice would be greatly appriciated! :D

tqualizerman 04-27-2012 06:45 AM

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

Originally Posted by Jon
Attached is the cat-subcat-product url format module. It will change your product urls while writing the old url to history so that 301 redirects take place from the old to the new automatically.

Instructions on how to install are in the .zip.

Note that this is not a supported component of CDSEO and is provided as-is with no warranty. Back-up your existing database before changing your urls just in case.


we lurve you.

tqualizerman 04-27-2012 06:47 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
Hey Jon, is there any customization that needs to be made so that CDSEO will work with X-Cart Socialize plugin? Specifically talking Facebook here, not sure about the others. X-Cart does this to prepare the URL for the like button:

{assign var="href" value=$href|@func_make_clean_url}

But when I test output {$href} into the page I just get the non-clean:

www.site.com/product.php?productid=17516

Jon 04-27-2012 08:45 AM

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

Originally Posted by JacksmithxD
Best URL structure for products?

e.g http://www.inkcartridgesfast.co.uk/epson/ink-cartridges.html (for a list of ink cartridges for the Epson printers.

For the products should I do http://www.inkcartridgesfast.co.uk/epson/ink-cartridges/epson-example-compatible-multipack-ink.html

It seems to long...

Any ideas on what is best practice would be greatly appriciated! :D


Typically I recommend http://www.example.com/product.html url format to target exact keywords with a url in the root as I've seen the most success this way.

Jon 04-27-2012 08:47 AM

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

Originally Posted by tqualizerman
Hey Jon, is there any customization that needs to be made so that CDSEO will work with X-Cart Socialize plugin? Specifically talking Facebook here, not sure about the others. X-Cart does this to prepare the URL for the like button:

{assign var="href" value=$href|@func_make_clean_url}

But when I test output {$href} into the page I just get the non-clean:

www.site.com/product.php?productid=17516


Something like this should do the trick:

Code:

{if $php_url.query_string eq ""}
{assign var="href" value=$php_url.url}
{else}
{assign var="href" value="`$php_url.url`?`$php_url.query_string`"}
{/if}


tqualizerman 04-27-2012 09:08 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
That almost solved it, but it's not including the domain for some reason (and so facebook is adding www.facebook.com followed by the correct sub-directory structure.)

Jon 04-27-2012 09:20 AM

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

Originally Posted by tqualizerman
That almost solved it, but it's not including the domain for some reason (and so facebook is adding www.facebook.com followed by the correct sub-directory structure.)


Code:

{if $php_url.query_string eq ""}
{assign var="href" value="`$http_location``$php_url.url`"}
{else}
{assign var="href" value="`$http_location``$php_url.url`?`$php_url.query_string`"}
{/if}



All times are GMT -8. The time now is 05:17 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.