• Hello,
    I am setting up a new set of redirections for a domain name change.

    I would like to redirect all pages starting by /portfolio/ to one single page /works/
    I tried to add a wildcard with no success.

    I would also like to redirect both “/page-one/” and “/page-one” to “/page-two/”
    I tried to add an interrogation mark with no success.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    You can find details about using regular expressions here:

    https://redirection.me/support/redirect-regular-expressions/

    If you are still having a problem please include what regular expression you are using.

    Thread Starter Adage Group

    (@adage)

    Hello,

    I tried this /portfolio_category/.* with no success : the result still are 404, not 301 as it should.

    Also in the documentation I don’t see anything about the /? which should allow to redirect both site.com/url/ and site.com/url

    Thank you.

    Plugin Author John Godley

    (@johnny5)

    Did you enable the regex checkbox? Also, please clear your browser cache.

    The documentation doesn’t describe regular expressions themself as they are universal and not specific to the plugin.

    Thread Starter Adage Group

    (@adage)

    Checking the regex checkbox solved both probelms.
    Thank you.

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