News:

Support the VirtueMart project and become a member

Main Menu

Clear All - Sef Alias Data

Started by SimonHodgkiss, September 18, 2014, 10:20:48 AM

Previous topic - Next topic

SimonHodgkiss

Hello,

My client has updated a number of VM Category names but the 'Sef Alias' still uses the old data.

How can I delete this data and have VM recreate a new 'Sef Alias' ?

Thanks
Thanks Simon Hodgkiss

Happy to help where I can.

AH

Edit the categories and create the new sef alias

Dont forget your 303 redirects for all categories and related products

And watch out for any coded links to products in these categories e.g. menu items
Regards
A

Joomla 4.4.5
php 8.1

SimonHodgkiss

Theres over 5,000 can this be done automatically or does it have to be done manually?

303 redirects won't be a problem sites not gone live.
Thanks Simon Hodgkiss

Happy to help where I can.

AH

Clear one out from the database and see what happens

Regards
A

Joomla 4.4.5
php 8.1

SimonHodgkiss

Thanks Simon Hodgkiss

Happy to help where I can.

AH

it is the category language table   ;)

prefix_virtuemart_categories_language_suffix
Regards
A

Joomla 4.4.5
php 8.1

SimonHodgkiss

Didn't work just left the box blank.

Any other ideas?
Thanks Simon Hodgkiss

Happy to help where I can.

jjk

Quote from: SimonHodgkiss on September 22, 2014, 13:05:48 PM
Any other ideas?
An easy to use tool for replacing lots of slugs would be the search and replace feature of HeidiSQL
http://www.heidisql.com/forum.php?t=11916
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

AH

but remember slugs should contain "-"

between distinct words

Regards
A

Joomla 4.4.5
php 8.1

SimonHodgkiss

I still don't think this helps with the issue I am having.

Does anyone else have any other ideas
Thanks Simon Hodgkiss

Happy to help where I can.

GJC Web Design

Quotebut the 'Sef Alias' still uses the old data.

where? in a menu or in the breadcrumbs or generally .. ? i.e everywhere?

the slug is definitely stored in prefix_virtuemart_categories_language_suffix so if you just blank them and resave the cat they have to go thru a process of reforming (to the new cat name) - just tried it - works
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

SimonHodgkiss

Thats interesting, when I blanked it from php my admin it gave me a 404 to that page and didn't recreated the slug.
Thanks Simon Hodgkiss

Happy to help where I can.

AH

you have to go and maintain the category in admin in order for the slug to re-create

Deleting the slugs from the dbase  leaves them empty and thus a 404

Especially if you have created menu entries!
Regards
A

Joomla 4.4.5
php 8.1