I need to hook into Magento and run some code after "Catalog URL Rewrites" has been re-indexed.
I've looked for a single event to hook into but cannot find any answers. I know how to set-up the observer etc, I just literally need the event to watch, and fire my code afterwards.
I've logged the dispatch event to see what is loaded when re-indexing, but unless I'm'm mistaken, no single event fires relating to the Catalog URL Rewrites.
Anyone know which event would be best?
Best Answer
I do not think there is an event that will cover all catalog rewrites (i.e. category, product and normal urls) but you could cover all three with the following events.
These are called after each index is completed and is fired via.
Where the indexer code is one of the following.