Forums / General / remove all keywords

remove all keywords

Author Message

P O

Saturday 06 February 2010 3:51:22 am

Hello. I would like to remove all keywords from my site, is it safe to just remove all entries from ezkeyword and ezkeyword_attribute_link tables ? or maybe there is some script to do that ?

Robin Muilwijk

Saturday 06 February 2010 12:54:56 pm

Hi,

I just tried this on a localhost with a clean eZ Publish 4.2 install including sample data which also contains keywords. What I did was use phpMyAdmin to empty both tables. As far as I can tell, there was no real impact on anything else. Keywords were all gone, and I was able to add new keywords again.

If you read this: http://ez.no/doc/ez_publish/technical_manual/4_x/reference/datatypes/keywords, I can't see any major impact to the rest of eZ when you empty those tables.

But... I'm not that experienced yet with eZ, so I might be overlooking something which uses the keywords which might break on removing this data. This is at your own risk, I'd make sure to backup the data from those tables ;)

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

P O

Saturday 06 February 2010 1:09:41 pm

All right, thanks I'll try it out :)

Robin Muilwijk

Tuesday 09 February 2010 2:59:46 am

Hi,

Out of curiosity, did this work for you?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

P O

Tuesday 09 February 2010 12:17:40 pm

Hello!!

On my 4.1.3 ver. it seems to cause no problem ... :)