I have two kind of detail pagea page for posts and another for news the post page detail is single.php and it's ok but another page is sinle-news.php and when I click on link it open 404 page! this is the code:
<h3><a href="<?php the_permalink(); ?>"> <?php the_title() ?></a></h3>
and the created link is: 'http://localhost/wordpress/blog/news/خبر-مهم/
what is the problem?