• Resolved skyseo

    (@skyseo)


    Hello,

    I would like to add a regex with the following rule:

    Put a 410 on all the urls that have for example /7/ in their URL.

    Be careful if a url has the format /1-7/ it should not be in 410.

    I tried the following regex which work but the url is always unfairly in 410 :
    /7/i
    ~7~i
    ~7/~i

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Contributor Hans Jung

    (@7iebenschlaefer)

    Hello skyseo,

    try this:
    ~^7\/*~i

    Please let me know if this works for you as intended.
    Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘Regex url like /7/…’ is closed to new replies.