Support » Fixing WordPress » Redirecting Permalinks Challenge

  • I’m 70% there with my new project.

    I was needing to redirect my old blog at to my new self hosted site.

    I was given this code to do the redirects once I bought the domain mapping and redirect package at

    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$$4 [L,R=301]

    It worked great except for the following:

    1. some posts (about 30%) will not redirect and it seems it’s because the slugs are not the same.

    So my question here is do i do individual redirects which doesn’t allow you to do inside it’s interface.

    Or do i just change the slugs and wait for google to recrawl?

    2. My categories and pages won’t redirect.

    I believe the reason is because this redirect is for and the challenge I WAS having there was that uses the year/month/date permalink which the code above handled.

    The categories in old site are site:/category/

    The pages in old blog are site:/

    Any help would be appreciated as to htaccess file redirects or whatever I have to do to fix these?


Viewing 6 replies - 1 through 6 (of 6 total)
  • Or do i just change the slugs and wait for google to recrawl?

    How many posts are we talking about? A percent of is unclear.

    389 total post….

    probably 80 not redirecting correctly

    All category pages and pages (not posts) are not redirecting as well because the permalink isn’t the same

    Is there not any specific pattern(s) to the ones that do not redirect?

    What seems to be the case is two things.

    1. most have a “2” at the end of the slug for some reason at the old blog but not the new.

    2. i have a plugin at the new blog that takes out words like “The” “and” etc.. so I think that screwed some things up on other posts mathinc up…

    3. Finally the category and pages at permalinks are not the year/month/day that the posts are so the htaccess code doesn’t work for those and i get error pages

    I would:

    1. Manually edit the old blog’s export file and fix the -2 issue (keep an unedited version!!).

    2. Get rid of that plugin.

    3. Create a NEW db, import that edited file, fix wp-config.php to point to it.

    4. Set same permalink structure as was in use.

    This should solve this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Redirecting Permalinks Challenge’ is closed to new replies.