My old permalink structure is /index.php/%year%/%monthnum%/%day%/%postname%/
.
For example:
.php/2019/01/08/technological-innovation-for-agriculture-sector-in-india/
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
My old permalink structure is /index.php/%year%/%monthnum%/%day%/%postname%/
.
For example:
https://example/index.php/2019/01/08/technological-innovation-for-agriculture-sector-in-india/
but I want to change to "Post name". For example:
https://example/sample-post/
also, want to remove index.php
.
When I change the permalink my old post or pages are not working
Share Improve this question edited Jan 11, 2019 at 23:10 MrWhite 3,8911 gold badge20 silver badges23 bronze badges asked Jan 11, 2019 at 20:00 RohanRohan 1113 bronze badges2 Answers
Reset to default 0Well 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.
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.