• Resolved martaturrado

    (@martaturrado)


    Hello! I’m trying to make all properties in this site with the structure cicex.es/property redirect to cicex.es/inmobiliaria/property.

    I checked regex101.com and tried this:
    origin:\/property\/(.*)
    destiny: /inmobiliaria\/property\/$1

    This causes /inmobiliaria/ repetition when clicking from website but nothing happens if I copy the url directly: https://cicex.es/property/la-cala-beach-nuevo-en-la-cala-de-mijas/

    Tried also this to prevent repetition, is ok in regex101.com but there’s no redirection:
    origin:^\/property\/(.*)
    destiny: /inmobiliaria\/property\/$1

    And also this without success:
    origin:https:\/\/cicex.es\/property\/(.*)
    destiny: https://cicex.es/inmobiliaria/property/$1

    I’m sorry to post it here, but what am I missing?

    Thanks in advance!

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

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

    (@johnny5)

    You don’t need to escape the slashes, and you should not include the domain.

    The second pattern looks fine but it sounds like you need to clear your browser cache before testing.

Viewing 1 replies (of 1 total)
  • The topic ‘Do not redirect’ is closed to new replies.