[wp-hackers] mod_rewrite help
bryanharley at gmail.com
Sun Jul 19 04:54:01 UTC 2009
Thanks scribu, but that's not working for me. And I know exactly why...
My old permalink structure: /category/post_id-postname.html
My new permalink structure: /category/post_id/postname/
The problem is the old permalink structure is from Joomla. Since I
converted the site to WordPress, it's obviously using different ID's
for each post. Other than that it would work. This is why I was
pretty sure I'd have to write a mod_rewrite rule rather than just a
Is there anyway to view the mod_rewrite rule that Dean's Permalink
Migration Plugin generates? If so, I'm pretty sure I could modify it
to make it work.
On Fri, Jul 17, 2009 at 3:31 AM, scribu<scribu at gmail.com> wrote:
> Actually, I think you need this plugin:
> It works great on my site.
> On Fri, Jul 17, 2009 at 2:36 AM, James Collins <james at om4.com.au> wrote:
>> Hi Bryan,
>> I would use the redirection plugin (
>> http://wordpress.org/extend/plugins/redirection/) to achieve this.
>> Much easier than modifying your .htaccess file.
>> James Collins
>> OM4 - Website Design and Development
>> OM4.com.au | OM4Tourism.com
>> 2009/7/17 Bryan Harley <bryanharley at gmail.com>
>> > I have one type of URL that I want to 301 redirect to another. Can
>> > anyone help me write the mod_rewrite rule that can accomplish this?
>> > http://www.domain.com/category/postid-post-name.html
>> > http://www.domain.com/post-name/
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers