I have recently migrated a site that was built in Dreamweaver to a WordPress site. I am trying to get the redirects to work and not sure why they are not.
I have wordpress in its own directory, which means there are two .htaccess files: one at the root and one within the wordpress folder. I am editing the .htaccess that is in the wordpress folder.
I have the redirects at the bottom of the file, after # END WordPress.
The first one works fine:
redirect 301 /index.html http://website.com/
I can't get any others to work, though, they are in this format:
redirect 301 /website_Sections/Section_name/file.html http://website.com/new-file.html
Currently, all the redirects in this format go straight to the old page; they don't redirect to the new page.