Viewing 3 replies - 1 through 3 (of 3 total)
  • Try this:
    Source URL /articles/(.*)
    Target URL /blog/$1

    I want to redirect my 301 URLs on some other URls. Below is the cases:

    xyz.com/html/german = xyz.com/de xyz.com/german = xyz.com/de

    one more case :

    xyz.com/html/german/subpage.html = xyz.com/de/subpage

    Any one help on this?

    Try this two regular expressions:
    source url /(.*)german
    target url /de

    source url /(.*)german/(.*).html
    target url /de/$2

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘RegEx help’ is closed to new replies.