I have an old WPMu 2.7 site (www.domain.com/my_old_site), and I want to have all pages/posts and files in that site to redirect to my new site’s homepage. I tried doing this in index.php
<? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new_site.com"); ?>
But it only works for that one page. If I change all the instances of the URL in the old site’s site settings, would that do the trick, or is there a better practice for this?
Thanks a lot.
- The topic ‘Redirect all old pages to new domain’ is closed to new replies.