How to do redirect when migrate blog post.

Hi there,

How to do redirect when I migrate blog post and re-setting post URL structure.
For example, My site's URL is stie.com/2017/08/03/posttitle.html and I want to change to site.com/achived/2412. How can I let it auto redirect to the right post?

    • Abdul Wajed

      Hi leoventans,

      Probably your rewrite rules are not flushing properly and you need to update your .htaccess file manually. Login to your server using FTP, and modify the .htaccess file which is located in the same location where folders like /wp-content/ and /wp-includes/ are located. The easiest thing you can do is to temporarily make the file writeable by changing the permissions to 666. Then repeat the original solution I mean change the Permalink Settings again, see if that work. If works don’t forget to change the permissions back to 660. If it didn't work add this code in your .htaccess file manually:

      # BEGIN WordPress
      <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /
      RewriteRule ^index\.php$ - [L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.php [L]
      </IfModule>
      # END WordPress

      And change permalinks again that you want and save again. If it still doesn't work then we need to check it closely for that we need your credentials. To do that please visit our private Contact page and complete the form with the following information:
      https://premium.wpmudev.org/contact/#i-have-a-different-question

      Subject: "Attn: Abdul Wajed"

      In the Message box, please provide the following:

      - link back to this thread for reference
      - any other relevant urls

      - Admin login:
      Admin username
      Admin password
      Login url

      - FTP/SFTP credentials
      host
      username
      password
      (and port if required)

      Best regards,
      Wajed

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.