X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Alternate Clean URLs for other languages (https://forum.x-cart.com/showthread.php?t=76640)

xgarb 11-20-2018 09:34 AM

Alternate Clean URLs for other languages
 
I've noticed that there can only be one clean URL per product so in other languages the SEO benefit from the clean URL string is lost.

How complicated would this be to implement?

xim 11-22-2018 10:33 AM

Re: Alternate Clean URLs for other languages
 
for the main language, the clean url will be

domain.com/cleanurl

for the secondary languages:
domain.com/ru/cleanurl
domain.com/de/cleanurl
domain.com/fr/cleanurl

mradic 11-23-2018 01:37 AM

Re: Alternate Clean URLs for other languages
 
Please clarify.
This is done by default or we have to do something about it?

qualiteam 11-23-2018 05:06 AM

Re: Alternate Clean URLs for other languages
 
This feature will be enabled as soon as an additional language pack is installed.

xgarb 11-23-2018 05:30 AM

Re: Alternate Clean URLs for other languages
 
Quote:

Originally Posted by mradic
Please clarify.
This is done by default or we have to do something about it?



I think you have to edit this line in config.php

Code:

[clean_urls]
; Is use urls like domain.com/LG for languages
; possible values "Y", "N"
; Changing this setting requires to re-deploy your store
use_language_url = "Y"


xgarb 11-23-2018 05:46 AM

Re: Alternate Clean URLs for other languages
 
Quote:

Originally Posted by xim
for the main language, the clean url will be

domain.com/cleanurl

for the secondary languages:
domain.com/ru/cleanurl
domain.com/de/cleanurl
domain.com/fr/cleanurl


I was hoping for something like

domain.com/red-car.html
domain.com/es/coche-rojo.html

for example but maybe it's not common for ecommerce stores to do this.


All times are GMT -8. The time now is 08:21 AM.

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