my page.tpl.php overrides path of page display of views I created a view and a page display of it. I set a path for it. this is its path

http://localhost/myProject/library


but when I copy and paste this url in address bar, it just displays my page.tpl.php what I have created for front page. why?
Your issue seems to be in the file name - page.tpl.php will be used automatically for display of all pages.

If you want to have separate template, use hook_preprocess_page():

function MYTHEME_preprocess_page(&amp;$variables) {
  if (arg(0) == 'library') {
    // This will look for template named page--library.tpl.php in your theme.
    $variables['theme_hook_suggestions'][] = 'page__library';
  }
}