Redirecionamento 301

Friends good night
I’m having problems with the redirect. I already use RULES, but it doesn’t work.
I used the rules in the domains that need to be redirected:

RULE 01
https://www.souenfermagem.com.br/index.php*
https://www.souenfermagem.com.br/$1

RULE 02
https://www.souenfermagem.com.br/index.php/*
https://www.souenfermagem.com.br/$1

RULE 03
https://www.souenfermagem.com.br//*
https://www.souenfermagem.com.br/$1

I created three rules. One each each URL.
The problem is that there are still two slashes (//)
Example:
DE: https://www.souenfermagem.com.br/index.php/fundamentos/biografias/linda-richards/
TO: https://www.souenfermagem.com.br//fundamentos/biografias/linda-richards/

What should I do?
CORRECT MUST BE: https://www.souenfermagem.com.br/fundamentos/biografias/linda-richards/

Thank you.

1 Like

Try turning off Rule 01 and Rule 03.

Rule 02 should work for the example you showed.

1 Like

I created the first rule. Then I created a second one. In the end I created the third rule. I also figured that just rule two can solve all the problems. I created other rules to try to solve.

That’s why there were so many rules.

I followed your recommendation and removed rule 01 and rule 03, but it hasn’t worked yet.

Any other suggestions?

It works for me:

1 Like

Thank you very much.
It worked out.
I cleared the cache and tested it on an anonymous page.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.