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
  #41  
Old 10-05-2015, 06:04 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by Phil Richman
Did you go under "look & feel" - "Performance" and clear the cache?
Yes I did.
That didn't make it work.
So, the checklist is:
1. Install the mod.
2. Remove clean URL extensions in the database.
2. Clear aggregation cache and widget cache.
3. Re-deploy the store.
Is that correct?
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #42  
Old 10-09-2015, 12:06 PM
 
Phil Richman Phil Richman is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 94
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by razortw
Yes I did.
That didn't make it work.
So, the checklist is:
1. Install the mod.
2. Remove clean URL extensions in the database.
2. Clear aggregation cache and widget cache.
3. Re-deploy the store.
Is that correct?


I did a clean install of 5.2.6 on my development server. I found and fixed the problem with my mod. I have uploaded the fixed version please install it and let me know if you have any problems.
Attached Files
File Type: zip Clean_URL_Mod.zip (1.9 KB, 62 views)
__________________
Ver 5.2.6
Reply With Quote
  #43  
Old 10-12-2015, 02:46 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by Phil Richman
I did a clean install of 5.2.6 on my development server. I found and fixed the problem with my mod. I have uploaded the fixed version please install it and let me know if you have any problems.
It does work. Cool, thank you.
I hope other users will find this mod useful.
Thanks
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #44  
Old 12-20-2015, 08:40 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default Re: Clean URLs in 5.2.5

Experiencing the same issue with clean-urls not appearing in the site map on a few XC5 sites.

Has this been resolved as yet or do we have to use the mod?

Quote:
2. Remove clean URL extensions in the database.

Can you claify step 2?

XC5.2.10
XML sitemap 5.2.5
Site map 5.2.2
__________________
Shaz
X-Cart Developer
Sydney - Australia
Reply With Quote
  #45  
Old 12-21-2015, 04:48 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default Re: Clean URLs in 5.2.5

Ok so it appears someone from xcart actually logged in and fixed them on my sites over night.... but as soon as I refreshed the xml sitemap it went back to the non-seo urls :/

Can whoever fixed this please do it again.... and would be GREAT if you could let me know how you did it....
__________________
Shaz
X-Cart Developer
Sydney - Australia
Reply With Quote
  #46  
Old 01-23-2016, 05:20 PM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: Clean URLs in 5.2.5

I am having an issue in 5.2.6 where I am getting a loop when trying to call up the category via category #

http://www.horrormerchstore.com/shop/?target=category&category_id=1129
should point to
http://www.horrormerchstore.com/shop/horror-movies/movies/mars-attacks

but it just ends up in a loop.

I am trying to modify the Next/Previous module and placing a "view more products from (category) here. Where I can get it to show the category name, but it shows that category # URL and then sends it to a loop.

Also that loop also shows up on our sitemap for categories/subcategories as well.

Please let me know how to get rid of that loop.

Also as a side question, why did categories change from
http://www.shopurl.com/category to
http://www.shopurl.com/category/subcategory/subcategory/subcategory/finalsubcategory/

as that is a bit harder to just type up for link sharing.

Or is there something I am missing otherwise to do that as (in the example above) http://www.horrormerchstore.com/shop/mars-attacks shows as a page not found and
http://www.horrormerchstore.com/shop/horror-movies/movies/mars-attacks works

thanks!!
Reply With Quote
  #47  
Old 08-16-2018, 12:33 PM
 
galoadm galoadm is offline
 

Advanced Member
  
Join Date: Dec 2013
Posts: 31
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by Phil Richman
I did a clean install of 5.2.6 on my development server. I found and fixed the problem with my mod. I have uploaded the fixed version please install it and let me know if you have any problems.


Just what I am looking for. Do you possibly have this Mod available for version 5.3.5.5?


In 5.3.5.5 I have set category_clean_urls_format = "domain/parent/goalcategory/" in config.php, but the .html is still at the end of the URL. Redeployed the store and no change. Deleted the .html from the URL in the database and resulted in a 404 error.
__________________
X-Cart Business 5.4
Reply With Quote
  #48  
Old 08-17-2018, 03:31 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by galoadm
Just what I am looking for. Do you possibly have this Mod available for version 5.3.5.5?


In 5.3.5.5 I have set category_clean_urls_format = "domain/parent/goalcategory/" in config.php, but the .html is still at the end of the URL. Redeployed the store and no change. Deleted the .html from the URL in the database and resulted in a 404 error.


Did you try regenerating X-Cart cache after your edited the database?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #49  
Old 10-01-2018, 10:10 AM
 
jrowberg2 jrowberg2 is offline
 

Newbie
  
Join Date: Oct 2018
Posts: 4
 

Default Re: Clean URLs in 5.2.5

I too would love for this plugin to work in 5.3.5.5. I had it working for a while in earlier versions, but it seems to have stopped (particularly for the static pages, not for the products at least on my end).

It is certainly curious why the .html extension is still required in the core code. For all the amazingness that X-Cart is, that bit in the URL is a throwback to the internet of 15 years ago.
__________________
X-Cart Business 5.3.6.3
Reply With Quote
  #50  
Old 10-01-2018, 11:16 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Clean URLs in 5.2.5

Quote:
Originally Posted by jrowberg2
I too would love for this plugin to work in 5.3.5.5. I had it working for a while in earlier versions, but it seems to have stopped (particularly for the static pages, not for the products at least on my end).

It is certainly curious why the .html extension is still required in the core code. For all the amazingness that X-Cart is, that bit in the URL is a throwback to the internet of 15 years ago.


You can fix the module yourself, the platform is fully open source
https://devs.x-cart.com/basics/
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:44 PM.

   

 
X-Cart forums © 2001-2020