how to redirect to wordpress site to another site (2 posts)

  1. kyareindia
    Posted 4 years ago #


    i have one wordpress own hosting site. so i need to redirect to another wordpress site.. with all pages.. for exp http://www.expample.com to http://www.example2.com.

    plez how to redirect to this..

  2. kmessinger
    Forum Moderator
    Posted 4 years ago #

    Many times you can do this by signing into your hosted account and just managing DNS from your control panel.

    Other wise add this to your index.php file
    header("Location: http://www.example.com"); just above the line that starts with define.

Topic Closed

This topic has been closed to new replies.

About this Topic