I have a situation where I'm standing up a new website on a different web host. I've been denied access to the old site by the hosting company and the old site will most likely be turned off very soon.
If my new site contains pages that are named slightly different how do I go about setting up 301 redirects on my new site?
www.oldsite.com\aboutus\ www.newsite.com\aboutus.html www.newsite.com\productx.html www.oldsite.com\productx\
The old domain name is different from the new domain name.
On my newsite do I just duplicate every page that existed on the old site and place redirect code inside those pages? What does the redirect code look like?