301 redirects in .htaccess
-
I have redesigned my client’s site from the ground up and from an html site to a WordPress site. The domain is not changing but they are using a new host for the new site. All the pages are changing (.html to no file extension) and the folder structure is different.
I am creating all the 301 redirects in the htaccess file but I’m not sure which site to place the file on – the new one or the old one. They plan to drop the old site hosting once the new site is live so I hope it doesn’t need to go on the old site.
This is the code I intend to use for the redirects:
Redirect 301 /oldpage.html https://www.yoursite.com/newpage
So do I place the htaccess file on the new site or the old site?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘301 redirects in .htaccess’ is closed to new replies.