so your settings>permalinks you are going to change from sample
yoursite.com/?p=123
to
yoursite.com/sample-post/
and you need to redirect ALL your posts. where?
I’m changing from /%year%/%monthnum%/%day%/%postname%/
to postname only
@webdesignerchristian I believe that he is looking for a way to avoid people who have favorited his posts to not get a 404 error when they click the link from their favorites… also to avoid search engine rankings to be temporarily messed up.
@webballs what you want to do is add 301 redirects for each post to your htaccess file.
Example 301:
you have a post titled Eat the Orange that was posted on Jan 15, 2016
Redirect 301 /2016/01/15/eat-the-orange http://example.com/eat-the-orange
You may want to try to use rewrite code in your htaccess file instead so that you do not need a 301 redirect for each post… but I have never seemed to be able to get this to work with permalinks.
Example Rewrite code:
RewriteRule ^/archives/\d+/\d+/\d+/(\d+)$ http://domain.com/?p=$1 [R=301,L]