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

Clean URLs in 5.2.5

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 06-10-2015, 12:14 PM
 
bob@n-flatables bob@n-flatables is offline
 

Member
  
Join Date: Nov 2012
Posts: 26
 

Default Clean URLs in 5.2.5

Ever since 5.2.5, cleanURLs are working differently. Instead of this:

domain.com/category/subcategory/product.html

it is now:

domain.com/product.html?category_id=10



Why did this change? It is less aesthetically pleasing and less functional for the consumer. Is it a setting that can be changed back? Or let the cleanURL field contain forward slashes?
__________________
X-cart v 5.2
Reply With Quote
  #2  
Old 06-10-2015, 12:19 PM
 
tony1100 tony1100 is offline
 

Advanced Member
  
Join Date: Oct 2012
Posts: 31
 

Default Re: Clean URLs in 5.2.5

it looks clean url function is been disable or not working
__________________
Tony
Reply With Quote
  #3  
Old 06-10-2015, 12:30 PM
 
bob@n-flatables bob@n-flatables is offline
 

Member
  
Join Date: Nov 2012
Posts: 26
 

Default Re: Clean URLs in 5.2.5

Well it is using the clean url I specify for the "product.html" part. It's just not including the category path; instead it adds "?category=" after the .html.

Clean urls are working for the category pages.
__________________
X-cart v 5.2
Reply With Quote
  #4  
Old 06-12-2015, 10:51 PM
 
mohammadUMAR mohammadUMAR is offline
 

Member
  
Join Date: May 2008
Posts: 25
 

Default Re: Clean URLs in 5.2.5

Hi,

yes right, clean URL is displaying category_id. It should not display it. Our store is URL is http://www.meditools.com.au/shop/sheep-tail-docking-banding-elastrator.html?category_id=97

How to fix it?

Regards,
Umar
__________________
Mohammad UMAR
X-Cart Business 5.2.5
Reply With Quote
  #5  
Old 06-15-2015, 05:01 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Clean URLs in 5.2.5

This category parameter is used for proper navigation and its addition is intended. Could you please let me know why this part should not be there?

It will not cause the duplicated content problem, because canonical tag of the link
Code:
http://www.meditools.com.au/shop/sheep-tail-docking-banding-elastrator.html?category_id=97

will point it to
Code:
http://www.meditools.com.au/shop/sheep-tail-docking-banding-elastrator.html

Please, let me know.

Thank you.

Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #6  
Old 06-15-2015, 05:14 AM
 
mohammadUMAR mohammadUMAR is offline
 

Member
  
Join Date: May 2008
Posts: 25
 

Default Re: Clean URLs in 5.2.5

Hi Tony,

Thank you for your reply.

Yes it should point to http://www.meditools.com.au/shop/sheep-tail-docking-banding-elastrator.html

Kindly let me know how to do it.

Another question, I was trying to edit front page text "This demo online store..." but when I saved it a blank page appeared and when I refreshed the page it didn't changed. Although I have entered the registration key.

Please advice about this too.

Regards,
Umar
__________________
Mohammad UMAR
X-Cart Business 5.2.5
Reply With Quote
  #7  
Old 06-15-2015, 05:30 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by mohammadUMAR
Hi Tony,

Thank you for your reply.

Yes it should point to http://www.meditools.com.au/shop/sheep-tail-docking-banding-elastrator.html

Kindly let me know how to do it.

Could you please let me know why is having links with category_id parameter is bad? It will help me to understand your position.

Quote:
Another question, I was trying to edit front page text "This demo online store..." but when I saved it a blank page appeared and when I refreshed the page it didn't changed. Although I have entered the registration key.

Did you try to go to Catalog > Front Page section in admin area and edit this text there?

Please, let me know.

Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #8  
Old 06-15-2015, 05:36 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by tony_sologubov
Could you please let me know why is having links with category_id parameter is bad? It will help me to understand your position.
Tony, it is bad if any SEO guy thinks it is bad. And most will think it is bad. And that is enough.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #9  
Old 06-15-2015, 04:22 PM
 
mohammadUMAR mohammadUMAR is offline
 

Member
  
Join Date: May 2008
Posts: 25
 

Default Re: Clean URLs in 5.2.5

Hi Tony,

--Front Page
Yes I'm trying edit FrontPage text from admin Catalog>Frontpage.

--Clean URLs
I'm using 4.1.10 with CDSEO on another site, it creates clean URLs (without any categoryid) then why 5.2.5 can't.

Here's what Google is saying about clean URLs

---------------------------------------------------------------
A site's URL structure should be as simple as possible. Consider organizing your content so that URLs are constructed logically and in a manner that is most intelligible to humans (when possible, readable words rather than long ID numbers). For example, if you're searching for information about aviation, a URL like http://en.wikipedia.org/wiki/Aviation will help you decide whether to click that link. A URL like http://www.example.com/index.php?id_sezione=360&sid=3a5ebc944f41daa6f849f 730f1, is much less appealing to users.
---------------------------------------------------------------
__________________
Mohammad UMAR
X-Cart Business 5.2.5
Reply With Quote
  #10  
Old 06-16-2015, 05:01 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by mohammadUMAR
--Front Page
Yes I'm trying edit FrontPage text from admin Catalog>Frontpage.

Does it fix the problem for you?

Quote:
--Clean URLs
I'm using 4.1.10 with CDSEO on another site, it creates clean URLs (without any categoryid) then why 5.2.5 can't.

We have discussed the situation with the team and it will be reworked in the near future.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 10:22 PM.

   

 
X-Cart forums © 2001-2020