302 Redirectin NOT Working

#200465
  • Resolved Josip
    Rank Math free

    Hi

    I add 302 redirections in my .htaccess file but I see that some redirection is working some redirections are not working
    Pls check my image in the “Sensitive Data” section
    In Rank Math I enable that all my 404 pages redirect to the home page: https://prnt.sc/138btwv, I think that cant affect my 302 redirections what I set in .htaccess file

    Best Regards
    Josip

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please also share the affected URL/s to check? However, your setting should only work on 404 pages, and shouldn’t affect the 302 redirects you have set up in your .htaccess file.

    You can also refer to this link for the format using redirects in .htaccess:
    https://wpscholar.com/blog/simple-redirects-with-htaccess/

    Looking forward to helping you.

    Thank you.

    Josip
    Rank Math free

    Hi

    Pls check my “Sensitive Data”
    I found that my last website design (On other CMS) has a multilanguage website, on my brand new wp design I don’t make a multilanguage website.
    I see that WP automatically transfers example.com/hr/pagename to example.com/pagename. Before I point with /hr/ and I see that is wrong. So now I remove all /hr/ language folders in 302 redirections in the .htaccess file and I see that is working ok.
    I am not sure if is that SEO friendly, but you can let me know.

    Brian
    Rank Math free

    Hello.

    Thank you for getting back to us.

    You should not redirect the lingual subfolder /hr/ as this is what defines the language you are using. Take it as a permalink to show the language identity. When it comes to source redirects only pick the slug of your page or post.

    This is why the second method is working as compared to the first one, and it is also more preferable when it comes to SEO.

    Hope this is helpful. We are looking forward to helping you.
    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘302 Redirectin NOT Working’ is closed to new replies.