Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

SEO Name - Driving me nuts this one Rate Topic   - - - - -

 
  • kickoff3pm
  • Senior Member
  • Members
  • Join Date: 18-Aug 10
  • 682 posts

Posted 21 February 2013 - 11:45 AM #1

I'm going over the category titles and editing them and the seo name to make sure they look right and work right for my needs. I've done perhaps 20 changes and all have gone fine. I've now come to the last one I want to change and I'm hitting a strange snag. The SEO name was something like this "product-en-3" I changed this to simply "new-product"

Checked it and it read "new-product-en-3" I don't want the "en-3" I don't need it and the is no other url with it and no other category with the same name. I don't have any other lanuages setup.

Out of desperation I simply put "ab" and this worked yuppi ! ..... so I tought it was just a cache issue. Common sense would say I could now change this to what I want "new-product" but when I checked this change it read "new-product-en-3"

WHATS GOING ON ?
http://matchdaymemories.com - Football Memorabilia Via Cs-Cart V3
http://www.outadwords.com - Free Marketing For You Site.
http://www.alternativestoebay.com - Join The Free Ecommerce Community.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 21 February 2013 - 11:50 AM #2

Check the database table cscart_seo_names 'name' column.

SELECT *
FROM `cscart_seo_names`
WHERE `name` LIKE '%new-product%'

Hire StellarBytes for CS-Cart Design & Development Services

 
  • kickoff3pm
  • Senior Member
  • Members
  • Join Date: 18-Aug 10
  • 682 posts

Posted 21 February 2013 - 12:17 PM #3

I know the name is unique but I will do that, just moved on to other things for a while. It's odds because the phase is 4 words, I can't make it work by simple removing the "s" of the end but thats not what I want. I'm sure I'll find the answer in the database but still it a annoying problem.
http://matchdaymemories.com - Football Memorabilia Via Cs-Cart V3
http://www.outadwords.com - Free Marketing For You Site.
http://www.alternativestoebay.com - Join The Free Ecommerce Community.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 21 February 2013 - 12:25 PM #4

If you're trying to use "new-product" and it changes to "new-product-en-3" then you most definitely have instances of "new-product", "new-product-en", "new-product-en-1" and "new-product-en-2" in the database. Whether or not they are actually referenced and in use anywhere, is another story.
Hire StellarBytes for CS-Cart Design & Development Services

 

Posted 25 February 2013 - 01:35 PM #5

Hi,

Very new to CS-cart, but if there are unique category names and product names why would cs-cart add -en to some URLs. I put a support ticket in yesterday so will see what they come back with.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 25 February 2013 - 01:53 PM #6

Because "en" is your default language. If you change your default language, it'll change accordingly, such as "-fr" for French.

-en is only appended to your SEO Name (ie. URL) IF the SEO Name already exists, whether that be in the form of Products, Product Features, Categories, Pages, etc.
Hire StellarBytes for CS-Cart Design & Development Services

 
  • kickoff3pm
  • Senior Member
  • Members
  • Join Date: 18-Aug 10
  • 682 posts

Posted 25 February 2013 - 01:55 PM #7

Hi,

Very new to CS-cart, but if there are unique category names and product names why would cs-cart add -en to some URLs. I put a support ticket in yesterday so will see what they come back with.


Well you can define your site to work in diferent names so you might want different pages for -en -it -sp etc

I suppose at sometime I've activated the option but can't recall when. I've put it aside for a while as I have far more importent things to do then search a database.
http://matchdaymemories.com - Football Memorabilia Via Cs-Cart V3
http://www.outadwords.com - Free Marketing For You Site.
http://www.alternativestoebay.com - Join The Free Ecommerce Community.

 

Posted 25 February 2013 - 03:39 PM #8

have you checked to see if the -en-1 or en-2 pages exists if you just visit them via the browser?

 
  • Magpie Don
  • Senior Member
  • Members
  • Join Date: 01-Apr 09
  • 835 posts

Posted 25 February 2013 - 04:50 PM #9

SELECT * from `cscart_seo_names`
WHERE name like '%new-product%'

I have some sub-categories that all have the same name. CS-Cart appends the -en value, then -en-2, then -en-2-3, then -en-2-3-4, etc.
It's a logical way to keep SEO names unique for pages that have the same title.

CS-Cart Ultimate ver 4.11.3


 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1139 posts

Posted 25 February 2013 - 09:16 PM #10

This function is seriously buggy. I have made sure that all my 'pages' have an unique name in each language. For example:
'contact us' is named 'contactez nous' in French.

I would expect that CS-Cart would use the following urls:
/en/contact-us.html
/fr/contactez-nous.html

Yet, it uses
/fr/contact-us-fr.html
or even worse:
/contact-us-nl-3.html?sl=FR

Often when I try to edit the SEO name (under page > addons > SEO name) then CS-Cart simply changes it back when I save it.

Does anyone have a clue what to do?

Am I correct that this is caused by multiple storefronts having the same information pages?

If so, then 'pages' are simply not compatible with Ultimate in this respect.
It is completely logical that all storefronts have a page for order conditions, privacy policy, payment, contact us, etc.
urls should look like this:
storefront1.com/en/privacy.html
storefront2.com/en/privacy.html
storefront3.com/en/privacy.html
storefront4.com/en/privacy.html
etc.

But this is not possible. It seems that there can be only 1 privacy.html and the other storefronts can only have bizarre urls. Not normal friendly urls.

 
  • Magpie Don
  • Senior Member
  • Members
  • Join Date: 01-Apr 09
  • 835 posts

Posted 26 February 2013 - 04:04 PM #11

There is a field in the seo_names table called 'company_id', but the 'name' field is a primary key.
If you were to use both 'company_id' and 'name' as a shared key, you could then legally insert duplicates into the 'name' field, but the INSERT statement and the SELECT statement in CS-Cart would have to be looked at.

CS-Cart Ultimate ver 4.11.3


 
  • altechnics
  • Newbie
  • Members
  • Join Date: 21-May 12
  • 9 posts

Posted 07 March 2013 - 04:03 PM #12

We discovered thesame problems with products and categories in Ultimate.

Ultimate makes a mess of all the urls when you edit products or categories is 'list mode' of in 'All stores' mode.

 
  • wwgreen
  • Senior Member
  • Members
  • Join Date: 20-Nov 06
  • 411 posts

Posted 25 March 2013 - 02:04 PM #13

If you're trying to use "new-product" and it changes to "new-product-en-3" then you most definitely have instances of "new-product", "new-product-en", "new-product-en-1" and "new-product-en-2" in the database. Whether or not they are actually referenced and in use anywhere, is another story.


I had this same problem with "-en" being added to cloned and new products... I was certain I didn't have a duplicate product name out there somewhere, but later found out I did. Thanks!

v4.9.3sp1


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4817 posts

Posted 25 March 2013 - 02:25 PM #14

AND dont forget that there is a setting to "show language in url "in admin>addons>seo

John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1139 posts

Posted 30 March 2015 - 03:06 AM #15

Suggestion to fix this is here: http://cscart.uservo...age-of-the-same