ultrus Posted October 9, 2008 Share Posted October 9, 2008 Hello, I'm puzzled with a redirect with recent wordpress url changes. How would I convert urls like: http://mywebsite.com/blog/the-category/2008/09/the-post-title to http://mywebsite.com/blog/2008/09/the-post-title ? Here is a starting point so far: /blog/([a-z\-]+)/2008/([0-9]+)/([a-zA-Z0-9\-]) /blog/2008/$2/$3 Does that look right and how do I place it in a mod_rewrite rule? Thanks much in advance. Link to comment https://forums.phpfreaks.com/topic/127717-blogcategoryyyyymmanything-to-blogyyyymmanything/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.