| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Clean URLs - only show current directory in URL | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Clean URLs - only show current directory in URL
Hi,
I have URLS like this... https://domain.com/products/applications/gas-meters/blue-gas-meters I want... https://domain.com/blue-gas-meters I can't see a setting for this so I guess it's a re-write in the .htaccess?
__________________
Core version: 5.5.xx |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Clean URLs - only show current directory in URL
Current implementation is done with assumption that sub-categories can have the same name when placed in different categories, e.g. Toyota / Spare Parts and Mazda / Spare Parts.
That is why sub-categories have nested structure of their seo-friendly URLs. If you want to change it, you are welcome to order a customization from us. Receive a free quote at sales@x-cart.com and decide whether it is OK for you or not.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Clean URLs - only show current directory in URL
Quote:
XC4 or XC5? |
|||||||||
#4
|
|||||||
|
|||||||
Re: Clean URLs - only show current directory in URL
This is a MAJOR disadvantage of XC5 then, you automatically have loads of duplicate content if you put a product under more than one category, this will be penalized by Google. A lot of products fall under multiple categories - with XC5 you have to choose whether to be forced to restrict any product into one category, or have duplicate content.
I'm not sure why this was designed like this but it's not good.
__________________
X-Cart 5.4.1.39 Live PHP 7.4.33 5.5.5-10.3.38-MariaDB MariaDB Apache 2.4 CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT 32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1 |
|||||||
|
#5
|
|||||||||
|
|||||||||
Re: Clean URLs - only show current directory in URL
Quote:
Each of these "duplicated" pages points to a single canonical address and this will prevent you from being penalized by Google.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#6
|
|||||||
|
|||||||
Re: Clean URLs - only show current directory in URL
Modx (my favourite CMS) offers two options for the re-write..
Quote:
I want everything off the root ie.. domain.com/mazda-spare-parts/ domain.com/toyota-spare-parts/ domain.com/toyota-oil-gasket.html In Modx it checks the URL is unique I'm not an expert but I imagine this approach is best for SEO and generally looks nicer.
__________________
Core version: 5.5.xx |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Clean URLs - only show current directory in URL
Thanks @xgarb for suggestion.
We are discussing improvements to SEO-friendly URLs here: http://forum.x-cart.com/showthread.php?t=71767
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|