homepage Welcome to WebmasterWorld Guest from 54.226.80.55
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Help with complicated redirect on WP blog site?
irened




msg:3842305
 6:15 pm on Feb 4, 2009 (gmt 0)

Hi, this might be a boneheaded question but I'm having trouble with a type of permalink redirect and can't find the answer anywhere online.

I changed my Wordpress blog urls twice:

1. First from sitename/blog/date/postname/ format to sitename/blog/postname/ format.

For that I used Dean's Permalink Migration plugin and it worked fine.

2. Then, I switched my site to a completely WP-based site with a static front page and the posts on a blog page, so everything is in the public_html.

So now everything needs to end up at sitename/postname/.

This Permalink Migration plugin setting:

/%year%/%monthnum%/%day%/%postname%/

Works for:

/blog/postname/ and
/date/postname/

but not for

blog/date/postname.

Do I need to use the htaccess to individually 301 redirect all of the posts with that last url format, or is there one command that will do all of those without messing up the others?

Thanks, if anyone can help. :)

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved