Support » Networking WordPress » Redirect a site page

  • Resolved abudarmudassar



    I’d prefer to make diverts in the .htaccess document so clients will not get a 404 mistake after when I moved to another site page, however I haven’t had the option to get it to work effectively.

    Here’s the divert connect, --->

    What I attempted in the .htaccess record:

    Compassionately assist me with trip, thanks ahead of time,

    Best respects

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff


    Volunteer Moderator

    Try this on its own line at the bottom of .htaccess:

    Redirect 301 /10-steps-diet-success/ /dirty-dozen-and-the-clean-15/

    I also think that location.replace(URL) is the best way, but if you want to notify the search engines about your redirection (they don’t analyze JavaScript code to see the redirection) you should add the rel=”canonical” meta tag to your website.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.