changing permalink causes 404 on visiting blog in wordpress

I am changing permalink structure from

http://www.example.com/blog/index.php/2017/04/17/reasons-high-anxious-levels/

to

http://www.example.com/reasons-high-anxious-levels/

by going in settings>permalinks>change URL structure.

And on visiting to blog then it redirects me to 404 error page.
Please suggest how to achieve this

Read more here: changing permalink causes 404 on visiting blog in wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *