After saving the permalinks, links for dashboard, notifications, payments etc...all works but immediately after performing any task such as sending a message, deleting a notification , permalinks get reset and nothing displays and getting page not found error, i have attached the screenshot also.