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. Quote Link to comment https://forums.phpfreaks.com/topic/127717-blogcategoryyyyymmanything-to-blogyyyymmanything/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.