UTW Import -> Solved!

I’ve managed to get to the bottom of why my Ultimate Tag Warrior tags were failing to get imported into WordPress. The code was getting as far as “Adding Tags to Posts”, and just stopping there with no warnings, no errors, nothing. Turns out that the script was actually timing out due to the sheer number of tags I had. I changed the timeout setting for the script and voila’, problem solved, tag imported.

If you have the same problem, and, like me, don’t have access to the main PHP configuration file, here’s what you can do:

  1. Find utw.php while lives under wp-admin\import\
  2. Find function tag2post ( ) in that file
  3. Add this line to the start of the routine: set_time_limit(300);
  4. This gives the script an extra 300 seconds to complete instead of the default (usually 30 seconds)

Good luck! Of course, remember to backup your code before you do this, and always backup your data before you try running any import routines.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.