• Resolved topsurfer

    (@topsurfer)


    Hi,
    I has changed the permalink format inside WordPress ,
    from mmblog.de/2020/10/02/one-of-my-posts/
    to: mmblog.de/one-of-my posts/

    ( Example: https://www.mmblog.de/2020/10/02/le-mans-2020-museum-und-cp-le-pont-romain/ )

    I think, with regex I can use the search/replace fuction to correct the links inside my blog entries.

    Can someone help me?
    I don’t know how to get the correct find- and replace part 🙁

    It will be save if I can only find the:
    mmblog.de/YYYY/MM/DD/
    parts and replace it with with:
    mmblog.de/

    Thanks for help!
    I try to find examples and the regex rules, but till now without success

    Actuall lot of my links are running into “page not found” 🙁

    See this, shoudn’t this remove the “2020” part from: mmblog.de/2020 `?
    https://abload.de/img/regex-01frjlk.jpg

    • This topic was modified 4 years, 11 months ago by topsurfer.
    • This topic was modified 4 years, 11 months ago by topsurfer.
    • This topic was modified 4 years, 11 months ago by topsurfer.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter topsurfer

    (@topsurfer)

    OK, I find main mistake: Have not select on the right upper the hook at the “Regex expressions ..”

    And for me it works with this (dirty) code:
    mmblog.de/2018/[<(.*0-9)>][<(.*0-9)>]/[<(.*0-9)>][<(.*0-9)>]/

    (year by year …)

Viewing 1 replies (of 1 total)

The topic ‘Change Permalink (dateformat to…)’ is closed to new replies.