My question is similar to Wordpress (Postname Permalink) 404 error however it goes beyond the question.
I have a client who has hundreds of pages in the default Wordpress blog structure YYYY/MM/post-name
and they want to move it to Permalink Structure /post-name
However the existing links in Google and other search engines must redirect to the correct 'new' page, not a 404, nor the home page.
My question is, with the latest version of Wordpress (at time of writing this 4.6.1) - if you simply go into SETTINGS>Permalinks>Post-Name will it work correctly?
OR
Do you still need to modify the .htaccess file so that the 'old page' redirects to the new page?
If so - what is the correct .htaccess file syntax so that each new link is a '301 redirect' telling the search engine that the page has moved permanently?
Thank you!