- fixing the redirection url to index.php after adding a post