My old permalink structure is /index.php/%year%/%monthnum%/%day%/%postname%/. For example:


but I want to change to "Post name". For example:


also, want to remove index.php.

When I change the permalink my old post or pages are not working


Well you have several options, but you definitely need to redirect the url.

You can either achieve the redirection via a Wordpress plugin or through your .htaccess file.

If you would like to use a plugin, I would recommend "Redirection" by John Godley.

It is easy to use. Just type the url you want to redirect from & to.

  • If I would like to change using htaccess so do i have to change permalink setting ? – Rohan Jan 12 '19 at 5:09
  • @TarunSharma No, leave the new permalink structure. Take a look at the plugin suggested by Niklas, by default it uses WordPress itself for redirections but it can export to .htaccess too: wordpress.org/plugins/redirection – Stefano Tombolini Jan 12 '19 at 8:46

The old links have stopped working because they no longer exist.

1) If the site is live you should change the permalink structure back to the way it was because you run the risk of having the pages removed from the Google index.

2) Before changing the permalink structure it's important to set up a redirect to the new location.

Redirection is a great plugin to help you with this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.