title: Magento: Regenerating the categories' URLs Programatically
body: <p>I had created some categories programatically. It seems like some of the category's URLs could not be created in URL rewrite table, although each category already contains a URL key.</p>
  
  <p>I tried to update the category but still URL rewrite manager missing some categories.</p>
  
  <p>Is it possible to regenerate the URLs of all the categories ? </p>
  
  <p>I can't delete the categories since lots of products have already been added and attached to those categories.</p>
  
  <p>Thanks</p>