| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Clean URLs after upgrade | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Clean URLs after upgrade
We recently upgraded from XC4 to XC5 and have imported only our products. When we upgraded, the clean urls were not transferred over. Is there an "auto-generate clean URLs" feature in X-cart 5 that will generate all of the clean URLs if they have not been defined (for categories & products)?
Also, since we ran the most recent upgrade to 5.2.3 our store has broken links for the categories that do not already have a clean URL defined. Previous to the upgrade, if the clean URL was not defined the category would be linked to a page with URL parameters, (i.e. - /category.php?id=25). Now it links to the parent category instead. It seems broken. Should I open a support ticket? Thanks!
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
#2
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
Also, is there a way to import the clean URLs and clean URL history from XC4 to XC5? That would save a lot of time.
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Clean URLs after upgrade
Hello @ant99,
1) Here is an external script that can generate SEO-friendly urls for your products and categories: PHP Code:
Of course, make a backup of your DB before running it. 2) There is no way of importing SEO-friendly urls, but you can put the history of them directly to the xc_clean_urls table. The value with highest ID is used as actual SEO-friendly url. The record with the same product_id, but lesser ID will be assumed as a history url. Hopefully, it will help. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#4
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
Quote:
Hi tony, the support xcart migrated my store to xcart hosting server and upgrade from 5.1.11 to 5.2.3 versiСn after the update the clean urls doesnt Works properly the xcart support help me to solve this but not all the categories and products Works fine, so my programmer updated the products in the database again like he did in the 5.1.11 versiСn but the clean url doesn╢t Works If I go to the admin store I can see the clean url, but don╢t works so, I changed manualy this clean url and then Works fine, then I export the products to see the difference and I notice in the export file the product that i modified has .html at the end of the clean urlt the others not, what do you think could be the problem ? and how can I solve this every time the programmer update the products the clean url is changed and not Works, is the same url just without .HTML at the end
__________________
Xcart 5.1.13 |
|||||||
#5
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
I tried to run the scrip and got
ERROR: "0" (code N/A) Undefined method 'generateCleanURL'. The method name must start with either findBy or findOneBy!
__________________
Xcart 5.1.13 |
|||||||
#6
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
Hi Tony, the support xcart migrated my store to xcart hosting server
and upgrade from 5.1.11 to 5.2.3 versiСn after the update the clean urls doesnt Works properly, my programmer insert the products in the database again like do in the 5.1.11 versiСn but the clean url doesn╢t Works If I go to the admin store I can see the clean url, but don╢t works so, I changed manualy this clean url and works fine, then I export the products for to see the difference and I notice that in the export file the product that I modified has .html at the end of the clean url the others not, what do you think could be the problem ? and how can I solve this should I import the clean URL with .html at the end ? or is config problem ?
__________________
Xcart 5.1.13 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Clean URLs after upgrade
Hello @omargerardo1,
As I see, you are in active communication with members our team and they are settling problems with your store for you. Please submit all requests to them and we will help you with any problem. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#8
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
since upgrading, non of my clean urls work, i enabled them, tried to manually config nothing works... always page not found
please help! |
|||||||
#9
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
I am having the same issue; just updated and now no clean urls work.
__________________
Christie Merrill |
|||||||
#10
|
|||||||
|
|||||||
Re: Clean URLs after upgrade
Hi Tony, thanks for the help.
1.) The script for the clean urls didn't seem to work. It didn't report a specific error, but I didn't spend much time debugging. Would still like a feature to "Auto-generate clean URLs for all content" 2.) For the clean URL history it seems like that is not going to work out either. When we export from XC4 then import to XC5, the entire category tree is recreated from scratch. Also, it looks like the product IDs are not matching from XC4 to XC5. Since none of the IDs match, the URLs will be off. Correct? For now, it looks like we're going to be matching 301 redirects manually.
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|