Thanks a lot for that information! Actually had the idea of what the problem was after I read this. My IDE renamed also other references from post.php to single.php when I changed the file name for this file. That was the problem why I was forwarded to the wrong url.
Thanks a lot!