So I've recently moved a blog from Wordpress to ExpressionEngine. Everything transferred over great (thanks to DataGrab!!).
Now the one problem I'm having is in my attempt to redirect traffic from the old blog to the new one. I've implemented an HTACCESS like so:
RewriteEngine On RewriteBase / RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ http://www.new_ee_site.com/blog/view/$4 [R=301,NC,L]
To redirect the old blog posts to their new counterparts on the EE install.
Here's the problem: This works for post with short titles just fine, the problem is some post titles are greater than 75 characters (the default EE url_title limit). So the post with titles name greater than 75 aren't translating over (since, when importing, the blog titles for the EE blog got trimmed to 75 characters).
Is there a way to somehow truncate incoming URLs, if they match the format /blog/view/..blog-title.., to truncate / trim the blog-title portion to 75 characters so these links go to the right place?