WordPress.org

Support

Support » Plugins and Hacks » Mass redirection

Mass redirection

Viewing 4 replies - 1 through 4 (of 4 total)
  • icemonkey9
    Member

    @icemonkey9

    Was there ever a solution given? I have the same issue!

    ucarmetin
    Member

    @ucarmetin

    Hey icemonkey9,

    Unfortunately, no solution my problem so far. So, while waiting for such solution, I did individual redirects.

    Strange

    I actually thought one of the points in this tool was that it could handle this very scenerio

    I’m looking to change my structure as well

    let us know if you do get a solution

    jrf
    Participant

    @jrf

    I don’t think this is easily done automagically as the redirection plugin has no way of knowing what year or month to replace the category with.

    It can automagically add a redirect if you change a post-title, but not if you change the permalink structure.

    For the above you will need to add rules for each post, but you can group them together by month using regular expressions.
    For each year/month combination you can add a rule with all the post-titles for that year/month in the source URL regex seperated by the | character. Of course you will have to replace the year and month in the target URL with the relevant info too.

    Source URL: ^/subfolder/[a-z0-9_-]/(post-title1|post-title2|post-title3)[/]?$
    Regex: on
    Target URL: /year/month/$1

    Hope this helps.

    Smile,
    Juliette

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mass redirection’ is closed to new replies.