• I’m trying to redirect a page in my site (mysite.com/join-us) to a new URL (mysite.com/getinvolved)

    I’m using a no-www rule on my htaccess.

    redirect 301 /join-us/ /getinvolved/

    Works perfectly fine. The redirect works. However, this only works when you type in the URL with the slash at the end. Typing mysite.com/join-us redirects to the homepage, mysite.com, even after adding this line:

    redirect 301 /join-us /getinvolved/

    What’s causing this? How can I fix it?

Viewing 1 replies (of 1 total)
  • Try this:

    # 301 redirect
    Redirect 301 /join-us/ https://www.yoursite.com/getinvolved/

    or insert /get-involved/ if the hyphen is missing

Viewing 1 replies (of 1 total)
  • The topic ‘Trouble with a 301 redirect’ is closed to new replies.